[#llvm-ThinLTOBitcodeWriterPass] = xref:llvm.adoc[llvm]::ThinLTOBitcodeWriterPass :relfileprefix: ../ :mrdocs: Pass that prepares a module for ThinLTO and writes bitcode. == Synopsis Declared in `<llvm/Transforms/IPO/ThinLTOBitcodeWriter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ThinLTOBitcodeWriterPass : public xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<ThinLTOBitcodeWriterPass>] ---- == Description Modules containing type metadata are split into regular and thin LTO parts when possible and written to a multi‐module bitcode file. Modules without type metadata are written unmodified as a single module. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/RequiredPassInfoMixin-047.adoc[RequiredPassInfoMixin<ThinLTOBitcodeWriterPass>]` | A CRTP mix‐in for passes that should not be skipped. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ThinLTOBitcodeWriterPass/2constructor.adoc[`ThinLTOBitcodeWriterPass`] [.small]#[constructor]# | Construct a ThinLTO bitcode writer that emits to `OS.` | xref:llvm/ThinLTOBitcodeWriterPass/run.adoc[`run`] | Prepare module `M` for ThinLTO and write its bitcode. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ThinLTOBitcodeWriterPass/isRequired.adoc[`isRequired`] | Return true; required passes cannot be skipped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#