Pass that prepares a module for ThinLTO and writes bitcode.

Synopsis

Declared in <llvm/Transforms/IPO/ThinLTOBitcodeWriter.h>

class ThinLTOBitcodeWriterPass
    : public 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

Name

Description

RequiredPassInfoMixin<ThinLTOBitcodeWriterPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

ThinLTOBitcodeWriterPass [constructor]

Construct a ThinLTO bitcode writer that emits to OS.

run

Prepare module M for ThinLTO and write its bitcode.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs