Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DLegacyPassManager.h68 class FunctionPassManager : public PassManagerBase {
72 explicit FunctionPassManager(Module *M);
73 ~FunctionPassManager() override;
DPassManager.h259 typedef PassManager<Function> FunctionPassManager; typedef
/external/llvm/unittests/IR/
DPassManagerTest.cpp252 FunctionPassManager FPM; in TEST_F()
255 FunctionPassManager NestedFPM; in TEST_F()
273 FunctionPassManager FPM; in TEST_F()
286 FunctionPassManager FPM; in TEST_F()
299 FunctionPassManager FPM; in TEST_F()
310 FunctionPassManager FPM; in TEST_F()
/external/llvm/lib/Passes/
DPassBuilder.cpp192 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, in parseFunctionPassName()
213 bool PassBuilder::parseFunctionPassPipeline(FunctionPassManager &FPM, in parseFunctionPassPipeline()
220 FunctionPassManager NestedFPM(DebugLogging); in parseFunctionPassPipeline()
273 FunctionPassManager NestedFPM(DebugLogging); in parseCGSCCPassPipeline()
340 FunctionPassManager NestedFPM(DebugLogging); in parseModulePassPipeline()
406 FunctionPassManager FPM(DebugLogging); in parsePassPipeline()
/external/llvm/include/llvm/Passes/
DPassBuilder.h93 bool parseFunctionPassName(FunctionPassManager &FPM, StringRef Name);
94 bool parseFunctionPassPipeline(FunctionPassManager &FPM,
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h29 class FunctionPassManager; variable
160 void populateFunctionPassManager(legacy::FunctionPassManager &FPM);
/external/llvm/tools/bugpoint/
Dbugpoint.cpp95 class AddToDriver : public legacy::FunctionPassManager {
98 AddToDriver(BugDriver &_D) : FunctionPassManager(nullptr), D(_D) {} in AddToDriver()
/external/llvm/tools/opt/
Dopt.cpp213 legacy::FunctionPassManager &FPM, in AddOptimizationPasses()
460 std::unique_ptr<legacy::FunctionPassManager> FPasses; in main()
462 FPasses.reset(new legacy::FunctionPassManager(M.get())); in main()
/external/clang/lib/CodeGen/
DBackendUtil.cpp63 mutable legacy::FunctionPassManager *PerFunctionPasses;
91 legacy::FunctionPassManager *getPerFunctionPasses() const { in getPerFunctionPasses()
93 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); in getPerFunctionPasses()
400 legacy::FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses()
/external/llvm/lib/IR/
DLegacyPassManager.cpp1386 FunctionPassManager::FunctionPassManager(Module *m) : M(m) { in FunctionPassManager() function in FunctionPassManager
1395 FunctionPassManager::~FunctionPassManager() { in ~FunctionPassManager()
1399 void FunctionPassManager::add(Pass *P) { in add()
1407 bool FunctionPassManager::run(Function &F) { in run()
1416 bool FunctionPassManager::doInitialization() { in doInitialization()
1422 bool FunctionPassManager::doFinalization() { in doFinalization()
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp168 legacy::FunctionPassManager &FPM) { in populateFunctionPassManager()
695 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp392 static std::unique_ptr<legacy::FunctionPassManager> TheFPM;
535 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1129 llvm::legacy::FunctionPassManager &fpm, llvm::Function &toInvoke, in createCatchWrappedInvokeFunction()
1394 llvm::legacy::FunctionPassManager &fpm, in createThrowExceptionFunction()
1511 llvm::legacy::FunctionPassManager &fpm, in createUnwindExceptionTest()
1972 llvm::legacy::FunctionPassManager fpm(module); in main()
/external/llvm/lib/Analysis/
DRegionPrinter.cpp249 llvm::legacy::FunctionPassManager FPM(NonConstF->getParent()); in invokeFunctionPass()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp516 static std::unique_ptr<legacy::FunctionPassManager> TheFPM;
809 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp607 static std::unique_ptr<legacy::FunctionPassManager> TheFPM;
927 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
/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/cached/
Dtoy-jit.cpp625 static FunctionPassManager *TheFPM;
1169 FunctionPassManager OurFPM(TheModule); in main()
Dtoy.cpp916 FunctionPassManager *FPM = new FunctionPassManager(M); in compileModule()
/external/llvm/docs/tutorial/
DLangImpl4.rst123 `FunctionPassManager <../WritingAnLLVMPass.html#what-passmanager-doesr>`_ to hold
126 FunctionPassManager for each module that we want to optimize, so we'll
138 TheFPM = llvm::make_unique<FunctionPassManager>(TheModule.get());
183 ``FunctionPassManager`` optimizes and updates the LLVM Function\* in
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp677 static std::unique_ptr<legacy::FunctionPassManager> TheFPM;
1093 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp789 FunctionPassManager *FPM = new FunctionPassManager(OpenModule); in getPointerToFunction()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp956 FunctionPassManager *FPM = 0; in compileModule()
959 FPM = new FunctionPassManager(M); in compileModule()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp575 legacy::FunctionPassManager FPM(F.getParent()); in runOnFunction()

12