/external/llvm/unittests/IR/ |
D | PassManagerTest.cpp | 252 FunctionPassManager FPM; in TEST_F() local 258 FPM = std::move(NestedFPM); in TEST_F() 260 NestedMPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 273 FunctionPassManager FPM; in TEST_F() local 274 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F() 276 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 286 FunctionPassManager FPM; in TEST_F() local 287 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F() 289 FPM.addPass(TestInvalidationFunctionPass("f")); in TEST_F() 290 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() [all …]
|
/external/llvm/lib/Passes/ |
D | PassBuilder.cpp | 192 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, in parseFunctionPassName() argument 196 FPM.addPass(CREATE_PASS); \ in parseFunctionPassName() 201 FPM.addPass(RequireAnalysisPass<decltype(CREATE_PASS)>()); \ in parseFunctionPassName() 205 FPM.addPass(InvalidateAnalysisPass<decltype(CREATE_PASS)>()); \ in parseFunctionPassName() 213 bool PassBuilder::parseFunctionPassPipeline(FunctionPassManager &FPM, in parseFunctionPassPipeline() argument 232 FPM.addPass(std::move(NestedFPM)); in parseFunctionPassPipeline() 236 if (!parseFunctionPassName(FPM, PipelineText.substr(0, End))) in parseFunctionPassPipeline() 239 FPM.addPass(VerifierPass()); in parseFunctionPassPipeline() 406 FunctionPassManager FPM(DebugLogging); in parsePassPipeline() local 407 if (!parseFunctionPassPipeline(FPM, PipelineText, VerifyEachPass, in parsePassPipeline() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | PassManagerBuilder.cpp | 168 legacy::FunctionPassManager &FPM) { in populateFunctionPassManager() argument 169 addExtensionsToPM(EP_EarlyAsPossible, FPM); in populateFunctionPassManager() 173 FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateFunctionPassManager() 177 addInitialAliasAnalysisPasses(FPM); in populateFunctionPassManager() 179 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager() 181 FPM.add(createSROAPass()); in populateFunctionPassManager() 183 FPM.add(createScalarReplAggregatesPass()); in populateFunctionPassManager() 184 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager() 185 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager() 695 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() local [all …]
|
/external/llvm/lib/Analysis/ |
D | RegionPrinter.cpp | 249 llvm::legacy::FunctionPassManager FPM(NonConstF->getParent()); in invokeFunctionPass() local 250 FPM.add(ViewerPass); in invokeFunctionPass() 251 FPM.doInitialization(); in invokeFunctionPass() 252 FPM.run(*NonConstF); in invokeFunctionPass() 253 FPM.doFinalization(); in invokeFunctionPass()
|
D | Lint.cpp | 707 legacy::FunctionPassManager FPM(F.getParent()); in lintFunction() local 709 FPM.add(V); in lintFunction() 710 FPM.run(F); in lintFunction()
|
/external/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 93 bool parseFunctionPassName(FunctionPassManager &FPM, StringRef Name); 94 bool parseFunctionPassPipeline(FunctionPassManager &FPM,
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 789 FunctionPassManager *FPM = new FunctionPassManager(OpenModule); in getPointerToFunction() local 793 FPM->add(new DataLayout(*NewEngine->getDataLayout())); in getPointerToFunction() 795 FPM->add(createBasicAliasAnalysisPass()); in getPointerToFunction() 797 FPM->add(createPromoteMemoryToRegisterPass()); in getPointerToFunction() 799 FPM->add(createInstructionCombiningPass()); in getPointerToFunction() 801 FPM->add(createReassociatePass()); in getPointerToFunction() 803 FPM->add(createGVNPass()); in getPointerToFunction() 805 FPM->add(createCFGSimplificationPass()); in getPointerToFunction() 806 FPM->doInitialization(); in getPointerToFunction() 813 FPM->run(*it); in getPointerToFunction() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy.cpp | 819 FunctionPassManager *FPM = new FunctionPassManager(M); in compileModule() local 823 FPM->add(new DataLayout(*NewEngine->getDataLayout())); in compileModule() 825 FPM->add(createBasicAliasAnalysisPass()); in compileModule() 827 FPM->add(createPromoteMemoryToRegisterPass()); in compileModule() 829 FPM->add(createInstructionCombiningPass()); in compileModule() 831 FPM->add(createReassociatePass()); in compileModule() 833 FPM->add(createGVNPass()); in compileModule() 835 FPM->add(createCFGSimplificationPass()); in compileModule() 836 FPM->doInitialization(); in compileModule() 843 FPM->run(*it); in compileModule() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 956 FunctionPassManager *FPM = 0; in compileModule() local 959 FPM = new FunctionPassManager(M); in compileModule() 963 FPM->add(new DataLayout(*EE->getDataLayout())); in compileModule() 965 FPM->add(createBasicAliasAnalysisPass()); in compileModule() 967 FPM->add(createPromoteMemoryToRegisterPass()); in compileModule() 969 FPM->add(createInstructionCombiningPass()); in compileModule() 971 FPM->add(createReassociatePass()); in compileModule() 973 FPM->add(createGVNPass()); in compileModule() 975 FPM->add(createCFGSimplificationPass()); in compileModule() 977 FPM->doInitialization(); in compileModule() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy.cpp | 916 FunctionPassManager *FPM = new FunctionPassManager(M); in compileModule() local 920 FPM->add(new DataLayout(*NewEngine->getDataLayout())); in compileModule() 922 FPM->add(createBasicAliasAnalysisPass()); in compileModule() 924 FPM->add(createPromoteMemoryToRegisterPass()); in compileModule() 926 FPM->add(createInstructionCombiningPass()); in compileModule() 928 FPM->add(createReassociatePass()); in compileModule() 930 FPM->add(createGVNPass()); in compileModule() 932 FPM->add(createCFGSimplificationPass()); in compileModule() 933 FPM->doInitialization(); in compileModule() 940 FPM->run(*it); in compileModule() [all …]
|
/external/llvm/include/llvm/IR/ |
D | LegacyPassManager.h | 92 FunctionPassManagerImpl *FPM;
|
/external/llvm/lib/IR/ |
D | LegacyPassManager.cpp | 1387 FPM = new FunctionPassManagerImpl(); in FunctionPassManager() 1389 FPM->setTopLevelManager(FPM); in FunctionPassManager() 1391 AnalysisResolver *AR = new AnalysisResolver(*FPM); in FunctionPassManager() 1392 FPM->setResolver(AR); in FunctionPassManager() 1396 delete FPM; in ~FunctionPassManager() 1400 FPM->add(P); in add() 1410 return FPM->run(F); in run() 1417 return FPM->doInitialization(*M); in doInitialization() 1423 return FPM->doFinalization(*M); in doFinalization()
|
D | Core.cpp | 2925 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMInitializeFunctionPassManager() argument 2926 return unwrap<legacy::FunctionPassManager>(FPM)->doInitialization(); in LLVMInitializeFunctionPassManager() 2929 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F) { in LLVMRunFunctionPassManager() argument 2930 return unwrap<legacy::FunctionPassManager>(FPM)->run(*unwrap<Function>(F)); in LLVMRunFunctionPassManager() 2933 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMFinalizeFunctionPassManager() argument 2934 return unwrap<legacy::FunctionPassManager>(FPM)->doFinalization(); in LLVMFinalizeFunctionPassManager()
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | PassManagerBuilder.h | 160 void populateFunctionPassManager(legacy::FunctionPassManager &FPM);
|
/external/llvm/tools/opt/ |
D | opt.cpp | 213 legacy::FunctionPassManager &FPM, in AddOptimizationPasses() argument 215 FPM.add(createVerifierPass()); // Verify that input is correct in AddOptimizationPasses() 243 Builder.populateFunctionPassManager(FPM); in AddOptimizationPasses()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 575 legacy::FunctionPassManager FPM(F.getParent()); in runOnFunction() local 579 FPM.add(PBS); in runOnFunction() 580 FPM.run(F); in runOnFunction()
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 400 legacy::FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses() local 402 FPM->add(createVerifierPass()); in CreatePasses() 403 PMBuilder.populateFunctionPassManager(*FPM); in CreatePasses()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 2363 CAMLprim value llvm_passmanager_initialize(LLVMPassManagerRef FPM) { in llvm_passmanager_initialize() argument 2364 return Val_bool(LLVMInitializeFunctionPassManager(FPM)); in llvm_passmanager_initialize() 2369 LLVMPassManagerRef FPM) { in llvm_passmanager_run_function() argument 2370 return Val_bool(LLVMRunFunctionPassManager(FPM, F)); in llvm_passmanager_run_function() 2374 CAMLprim value llvm_passmanager_finalize(LLVMPassManagerRef FPM) { in llvm_passmanager_finalize() argument 2375 return Val_bool(LLVMFinalizeFunctionPassManager(FPM)); in llvm_passmanager_finalize()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 2879 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM); 2885 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F); 2890 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM);
|
/external/llvm/lib/Target/X86/ |
D | X86ScheduleBtVer2.td | 39 def JFPU1 : ProcResource<1>; // Vector/FPU Pipe1: VALU1/STC/FPM
|