LLVM 18.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 () | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
![]() | |
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 30 of file EmbedBitcodePass.h.
|
inline |
Definition at line 34 of file EmbedBitcodePass.h.
|
inlinestatic |
Definition at line 38 of file EmbedBitcodePass.h.
PreservedAnalyses EmbedBitcodePass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 23 of file EmbedBitcodePass.cpp.
References llvm::PreservedAnalyses::all(), llvm::Data, llvm::Triple::ELF, llvm::embedBufferInModule(), OS, llvm::report_fatal_error(), and llvm::ThinLTOBitcodeWriterPass::run().