llvm::FatLtoCleanup

Pass that cleans up IR for the FatLTO pipeline.

Synopsis

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

class FatLtoCleanup
    : public RequiredPassInfoMixin<FatLtoCleanup>

Description

Instrumentation beneficial for bitcode sections used in LTO may need to be cleaned up to finish non-LTO compilation. For example, llvm.checked.load should be preserved for LTO but must not be left unchanged during per-TU compilation in FatLTO.

Base Classes

NameDescription
RequiredPassInfoMixin<FatLtoCleanup>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
FatLtoCleanup [constructor]Construct a FatLTO cleanup pass.
run Clean up FatLTO-incompatible IR in module M.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.