LLVM 20.0.0git
|
Pass embeds a copy of the module optimized with the provided pass pipeline into a global variable. More...
#include "llvm/Transforms/IPO/EmbedBitcodePass.h"
Public Member Functions | |
EmbedBitcodePass (EmbedBitcodeOptions Opts) | |
EmbedBitcodePass (bool IsThinLTO, bool EmitLTOSummary) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
Public Member Functions inherited from llvm::PassInfoMixin< EmbedBitcodePass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< EmbedBitcodePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Pass embeds a copy of the module optimized with the provided pass pipeline into a global variable.
Definition at line 37 of file EmbedBitcodePass.h.
|
inline |
Definition at line 42 of file EmbedBitcodePass.h.
Definition at line 44 of file EmbedBitcodePass.h.
|
inlinestatic |
Definition at line 49 of file EmbedBitcodePass.h.
PreservedAnalyses EmbedBitcodePass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 26 of file EmbedBitcodePass.cpp.
References llvm::PreservedAnalyses::all(), llvm::Data, llvm::Triple::ELF, llvm::embedBufferInModule(), OS, llvm::report_fatal_error(), llvm::BitcodeWriterPass::run(), and llvm::ThinLTOBitcodeWriterPass::run().