Home
last modified time | relevance | path

Searched refs:FunctionPassManager (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/include/llvm/
DPassManager.h69 class FunctionPassManager : public PassManagerBase {
73 explicit FunctionPassManager(Module *M);
74 ~FunctionPassManager();
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h24 class FunctionPassManager; variable
131 void populateFunctionPassManager(FunctionPassManager &FPM);
/external/llvm/lib/ExecutionEngine/JIT/
DJIT.h32 FunctionPassManager PM; // Passes to compile a function
42 FunctionPassManager &getPM(const MutexGuard &L) { in getPM()
DJIT.cpp287 FunctionPassManager &PM = jitstate->getPM(locked); in JIT()
341 FunctionPassManager &PM = jitstate->getPM(locked); in addModule()
372 FunctionPassManager &PM = jitstate->getPM(locked); in removeModule()
/external/llvm/tools/bugpoint/
Dbugpoint.cpp99 class AddToDriver : public FunctionPassManager {
102 AddToDriver(BugDriver &_D) : FunctionPassManager(0), D(_D) {} in AddToDriver()
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp108 void PassManagerBuilder::populateFunctionPassManager(FunctionPassManager &FPM) { in populateFunctionPassManager()
443 FunctionPassManager *FPM = unwrap<FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
/external/clang/lib/CodeGen/
DBackendUtil.cpp55 mutable FunctionPassManager *PerFunctionPasses;
78 FunctionPassManager *getPerFunctionPasses(TargetMachine *TM) const { in getPerFunctionPasses()
80 PerFunctionPasses = new FunctionPassManager(TheModule); in getPerFunctionPasses()
299 FunctionPassManager *FPM = getPerFunctionPasses(TM); in CreatePasses()
/external/llvm/lib/IR/
DPassManager.cpp1367 FunctionPassManager::FunctionPassManager(Module *m) : M(m) { in FunctionPassManager() function in FunctionPassManager
1376 FunctionPassManager::~FunctionPassManager() { in ~FunctionPassManager()
1385 void FunctionPassManager::add(Pass *P) { in add()
1393 bool FunctionPassManager::run(Function &F) { in run()
1405 bool FunctionPassManager::doInitialization() { in doInitialization()
1411 bool FunctionPassManager::doFinalization() { in doFinalization()
DCore.cpp2526 return wrap(new FunctionPassManager(unwrap(M))); in LLVMCreateFunctionPassManagerForModule()
2539 return unwrap<FunctionPassManager>(FPM)->doInitialization(); in LLVMInitializeFunctionPassManager()
2543 return unwrap<FunctionPassManager>(FPM)->run(*unwrap<Function>(F)); in LLVMRunFunctionPassManager()
2547 return unwrap<FunctionPassManager>(FPM)->doFinalization(); in LLVMFinalizeFunctionPassManager()
DVerifier.cpp2352 FunctionPassManager FPM(F.getParent()); in verifyFunction()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp358 static FunctionPassManager *TheFPM;
583 FunctionPassManager OurFPM(TheModule); in main()
/external/llvm/tools/opt/
Dopt.cpp427 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, in AddOptimizationPasses()
664 OwningPtr<FunctionPassManager> FPasses; in main()
666 FPasses.reset(new FunctionPassManager(M.get())); in main()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1128 llvm::FunctionPassManager &fpm, in createCatchWrappedInvokeFunction()
1395 llvm::FunctionPassManager &fpm, in createThrowExceptionFunction()
1513 llvm::FunctionPassManager &fpm, in createUnwindExceptionTest()
1974 llvm::FunctionPassManager fpm(module); in main()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp816 TheFPM = new FunctionPassManager(TheModule); in JITHelper()
881 FunctionPassManager *TheFPM;
1051 FunctionPassManager *FPM = 0; in compileModule()
1054 FPM = new FunctionPassManager(M); in compileModule()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp459 static FunctionPassManager *TheFPM;
828 FunctionPassManager OurFPM(TheModule); in main()
/external/llvm/docs/tutorial/
DLangImpl4.rst123 `FunctionPassManager <../WritingAnLLVMPass.html#passmanager>`_ to hold
130 FunctionPassManager OurFPM(TheModule);
154 This code defines a ``FunctionPassManager``, "``OurFPM``". It requires a
187 ``FunctionPassManager`` optimizes and updates the LLVM Function\* in
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp544 static FunctionPassManager *TheFPM;
946 FunctionPassManager OurFPM(TheModule); in main()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp609 static FunctionPassManager *TheFPM;
1110 FunctionPassManager OurFPM(TheModule); in main()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp625 static FunctionPassManager *TheFPM;
1169 FunctionPassManager OurFPM(TheModule); in main()
Dtoy.cpp916 FunctionPassManager *FPM = new FunctionPassManager(M); in compileModule()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp610 static FunctionPassManager *TheFPM;
1129 FunctionPassManager OurFPM(TheModule); in main()
Dtoy.cpp819 FunctionPassManager *FPM = new FunctionPassManager(M); in compileModule()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp789 FunctionPassManager *FPM = new FunctionPassManager(OpenModule); in getPointerToFunction()
/external/llvm/lib/Analysis/
DLint.cpp679 FunctionPassManager FPM(F.getParent()); in lintFunction()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2371 See the constructor of [llvm::FunctionPassManager]. *)
2385 See the [llvm::FunctionPassManager::doInitialization] method. *)
2391 See the [llvm::FunctionPassManager::run] method. *)
2398 See the [llvm::FunctionPassManager::doFinalization] method. *)

12