LLVM 20.0.0git
|
Pass to replace calls to ifuncs with indirect calls. More...
#include "llvm/Transforms/Utils/LowerIFunc.h"
Public Member Functions | |
LowerIFuncPass ()=default | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Replace all call users of ifuncs in the module. | |
Public Member Functions inherited from llvm::PassInfoMixin< LowerIFuncPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< LowerIFuncPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Pass to replace calls to ifuncs with indirect calls.
This could be used to support ifunc on systems where the program loader does not natively support it. Constant initializer uses of ifuncs are not handled.
Definition at line 19 of file LowerIFunc.h.
|
default |
PreservedAnalyses LowerIFuncPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Replace all call users of ifuncs in the module.
Definition at line 21 of file LowerIFunc.cpp.
References llvm::PreservedAnalyses::all(), llvm::lowerGlobalIFuncUsersAsGlobalCtor(), and llvm::PreservedAnalyses::none().