/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
KaleidoscopeJIT.h | 111 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); 114 FPM->add(createInstructionCombiningPass()); 115 FPM->add(createReassociatePass()); 116 FPM->add(createGVNPass()); 117 FPM->add(createCFGSimplificationPass()); 118 FPM->doInitialization(); 123 FPM->run(F);
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
KaleidoscopeJIT.h | 121 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); 124 FPM->add(createInstructionCombiningPass()); 125 FPM->add(createReassociatePass()); 126 FPM->add(createGVNPass()); 127 FPM->add(createCFGSimplificationPass()); 128 FPM->doInitialization(); 133 FPM->run(F);
|
/external/llvm/unittests/IR/ |
PassManagerTest.cpp | 237 FunctionPassManager FPM; 243 FPM = std::move(NestedFPM); 245 NestedMPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); 258 FunctionPassManager FPM; 259 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, 261 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); 271 FunctionPassManager FPM; 272 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, 274 FPM.addPass(TestInvalidationFunctionPass("f")); 275 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
PassManagerBuilder.cpp | 81 void PassManagerBuilder::populateFunctionPassManager(FunctionPassManager &FPM) { 82 addExtensionsToPM(EP_EarlyAsPossible, FPM); 85 if (LibraryInfo) FPM.add(new TargetLibraryInfo(*LibraryInfo)); 89 addInitialAliasAnalysisPasses(FPM); 91 FPM.add(createCFGSimplificationPass()); 92 FPM.add(createScalarReplAggregatesPass()); 93 FPM.add(createEarlyCSEPass()); 94 FPM.add(createLowerExpectIntrinsicPass()); 323 FunctionPassManager *FPM = unwrap<FunctionPassManager>(PM); 324 Builder->populateFunctionPassManager(*FPM); [all...] |
/external/llvm/include/llvm/IR/ |
LegacyPassManager.h | 92 FunctionPassManagerImpl *FPM;
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
PassManager.h | 105 FunctionPassManagerImpl *FPM;
|
/external/llvm/include/llvm/Passes/ |
PassBuilder.h | 248 bool parseFunctionPassName(FunctionPassManager &FPM, StringRef Name); 253 bool parseFunctionPassPipeline(FunctionPassManager &FPM,
|
/external/llvm/lib/Passes/ |
PassBuilder.cpp | 390 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, 394 FPM.addPass(CREATE_PASS); \ 399 FPM.addPass(RequireAnalysisPass< \ 404 FPM.addPass(InvalidateAnalysisPass< \ 413 bool PassBuilder::parseLoopPassName(LoopPassManager &FPM, StringRef Name) { 416 FPM.addPass(CREATE_PASS); \ 421 FPM.addPass(RequireAnalysisPass< \ 426 FPM.addPass(InvalidateAnalysisPass< \ 492 bool PassBuilder::parseFunctionPassPipeline(FunctionPassManager &FPM, 511 FPM.addPass(std::move(NestedFPM)) [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
KaleidoscopeJIT.h | 209 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); 212 FPM->add(createInstructionCombiningPass()); 213 FPM->add(createReassociatePass()); 214 FPM->add(createGVNPass()); 215 FPM->add(createCFGSimplificationPass()); 216 FPM->doInitialization(); 221 FPM->run(F);
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
KaleidoscopeJIT.h | 241 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); 244 FPM->add(createInstructionCombiningPass()); 245 FPM->add(createReassociatePass()); 246 FPM->add(createGVNPass()); 247 FPM->add(createCFGSimplificationPass()); 248 FPM->doInitialization(); 253 FPM->run(F);
|
/external/llvm/unittests/Analysis/ |
LoopPassManagerTest.cpp | 163 FunctionPassManager FPM(true); 172 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); 184 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); 187 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM)));
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/ |
PassManagerBuilder.h | 32 /// Builder.populateFunctionPassManager(FPM); 115 void populateFunctionPassManager(FunctionPassManager &FPM);
|
/external/llvm/lib/Analysis/ |
RegionPrinter.cpp | 249 llvm::legacy::FunctionPassManager FPM(NonConstF->getParent()); 250 FPM.add(ViewerPass); 251 FPM.doInitialization(); 252 FPM.run(*NonConstF); 253 FPM.doFinalization();
|
/external/llvm/lib/Transforms/IPO/ |
PassManagerBuilder.cpp | 212 legacy::FunctionPassManager &FPM) { 213 addExtensionsToPM(EP_EarlyAsPossible, FPM); 217 FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); 221 addInitialAliasAnalysisPasses(FPM); 223 FPM.add(createCFGSimplificationPass()); 224 FPM.add(createSROAPass()); 225 FPM.add(createEarlyCSEPass()); 226 FPM.add(createLowerExpectIntrinsicPass()); 850 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); 851 Builder->populateFunctionPassManager(*FPM); [all...] |
/external/llvm/include/llvm/Transforms/IPO/ |
PassManagerBuilder.h | 41 /// Builder.populateFunctionPassManager(FPM); 173 void populateFunctionPassManager(legacy::FunctionPassManager &FPM);
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 789 FunctionPassManager *FPM = new FunctionPassManager(OpenModule); 793 FPM->add(new DataLayout(*NewEngine->getDataLayout())); 795 FPM->add(createBasicAliasAnalysisPass()); 797 FPM->add(createPromoteMemoryToRegisterPass()); 799 FPM->add(createInstructionCombiningPass()); 801 FPM->add(createReassociatePass()); 803 FPM->add(createGVNPass()); 805 FPM->add(createCFGSimplificationPass()); 806 FPM->doInitialization(); 812 // Run the FPM on this functio [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy.cpp | 819 FunctionPassManager *FPM = new FunctionPassManager(M); 823 FPM->add(new DataLayout(*NewEngine->getDataLayout())); 825 FPM->add(createBasicAliasAnalysisPass()); 827 FPM->add(createPromoteMemoryToRegisterPass()); 829 FPM->add(createInstructionCombiningPass()); 831 FPM->add(createReassociatePass()); 833 FPM->add(createGVNPass()); 835 FPM->add(createCFGSimplificationPass()); 836 FPM->doInitialization(); 842 // Run the FPM on this functio [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 956 FunctionPassManager *FPM = 0; 958 // Create a FPM for this module 959 FPM = new FunctionPassManager(M); 963 FPM->add(new DataLayout(*EE->getDataLayout())); 965 FPM->add(createBasicAliasAnalysisPass()); 967 FPM->add(createPromoteMemoryToRegisterPass()); 969 FPM->add(createInstructionCombiningPass()); 971 FPM->add(createReassociatePass()); 973 FPM->add(createGVNPass()); 975 FPM->add(createCFGSimplificationPass()) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy.cpp | 916 FunctionPassManager *FPM = new FunctionPassManager(M); 920 FPM->add(new DataLayout(*NewEngine->getDataLayout())); 922 FPM->add(createBasicAliasAnalysisPass()); 924 FPM->add(createPromoteMemoryToRegisterPass()); 926 FPM->add(createInstructionCombiningPass()); 928 FPM->add(createReassociatePass()); 930 FPM->add(createGVNPass()); 932 FPM->add(createCFGSimplificationPass()); 933 FPM->doInitialization(); 939 // Run the FPM on this functio [all...] |
/external/llvm/lib/Transforms/Scalar/ |
PlaceSafepoints.cpp | 498 legacy::FunctionPassManager FPM(F.getParent()); 501 FPM.add(PBS); 502 FPM.run(F);
|
/external/llvm/lib/IR/ |
LegacyPassManager.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
PassManager.cpp | [all...] |
/external/llvm/tools/opt/ |
opt.cpp | 232 legacy::FunctionPassManager &FPM, 236 FPM.add(createVerifierPass()); // Verify that input is correct 272 Builder.populateFunctionPassManager(FPM);
|
/external/swiftshader/third_party/LLVM/tools/opt/ |
opt.cpp | 408 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM,
427 Builder.populateFunctionPassManager(FPM);
|
/external/clang/lib/CodeGen/ |
BackendUtil.cpp | 455 legacy::FunctionPassManager *FPM = getPerFunctionPasses(); 457 FPM->add(createVerifierPass()); 503 PMBuilder.populateFunctionPassManager(*FPM); [all...] |