Home
last modified time | relevance | path

Searched refs:FPM (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp303 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks() argument
305 C(FPM, Level); in invokePeepholeEPCallbacks()
349 FunctionPassManager FPM(DebugLogging); in buildFunctionSimplificationPipeline() local
353 FPM.addPass(SROA()); in buildFunctionSimplificationPipeline()
356 FPM.addPass(EarlyCSEPass(EnableEarlyCSEMemSSA)); in buildFunctionSimplificationPipeline()
360 FPM.addPass(GVNHoistPass()); in buildFunctionSimplificationPipeline()
364 FPM.addPass(GVNSinkPass()); in buildFunctionSimplificationPipeline()
365 FPM.addPass(SimplifyCFGPass()); in buildFunctionSimplificationPipeline()
369 FPM.addPass(SpeculativeExecutionPass()); in buildFunctionSimplificationPipeline()
372 FPM.addPass(JumpThreadingPass()); in buildFunctionSimplificationPipeline()
[all …]
/external/llvm/unittests/IR/
DPassManagerTest.cpp237 FunctionPassManager FPM; in TEST_F() local
243 FPM = std::move(NestedFPM); in TEST_F()
245 NestedMPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
258 FunctionPassManager FPM; in TEST_F() local
259 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F()
261 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
271 FunctionPassManager FPM; in TEST_F() local
272 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F()
274 FPM.addPass(TestInvalidationFunctionPass("f")); in TEST_F()
275 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h111 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
114 FPM->add(createInstructionCombiningPass()); in optimizeModule()
115 FPM->add(createReassociatePass()); in optimizeModule()
116 FPM->add(createGVNPass()); in optimizeModule()
117 FPM->add(createCFGSimplificationPass()); in optimizeModule()
118 FPM->doInitialization(); in optimizeModule()
123 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h109 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
112 FPM->add(createInstructionCombiningPass()); in optimizeModule()
113 FPM->add(createReassociatePass()); in optimizeModule()
114 FPM->add(createGVNPass()); in optimizeModule()
115 FPM->add(createCFGSimplificationPass()); in optimizeModule()
116 FPM->doInitialization(); in optimizeModule()
121 FPM->run(F); in optimizeModule()
/external/llvm/lib/Passes/
DPassBuilder.cpp390 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, in parseFunctionPassName() argument
394 FPM.addPass(CREATE_PASS); \ in parseFunctionPassName()
399 FPM.addPass(RequireAnalysisPass< \ in parseFunctionPassName()
404 FPM.addPass(InvalidateAnalysisPass< \ in parseFunctionPassName()
413 bool PassBuilder::parseLoopPassName(LoopPassManager &FPM, StringRef Name) { in parseLoopPassName() argument
416 FPM.addPass(CREATE_PASS); \ in parseLoopPassName()
421 FPM.addPass(RequireAnalysisPass< \ in parseLoopPassName()
426 FPM.addPass(InvalidateAnalysisPass< \ in parseLoopPassName()
492 bool PassBuilder::parseFunctionPassPipeline(FunctionPassManager &FPM, in parseFunctionPassPipeline() argument
511 FPM.addPass(std::move(NestedFPM)); in parseFunctionPassPipeline()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h121 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
124 FPM->add(createInstructionCombiningPass()); in optimizeModule()
125 FPM->add(createReassociatePass()); in optimizeModule()
126 FPM->add(createGVNPass()); in optimizeModule()
127 FPM->add(createCFGSimplificationPass()); in optimizeModule()
128 FPM->doInitialization(); in optimizeModule()
133 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp342 FunctionPassManager FPM(true); in TEST_F() local
343 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F()
344 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
369 FunctionPassManager FPM(true); in TEST_F() local
370 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F()
371 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
380 FunctionPassManager FPM(true); in TEST_F() local
397 FPM.addPass(createFunctionToLoopPassAdaptor( in TEST_F()
401 FPM.addPass(createFunctionToLoopPassAdaptor( in TEST_F()
430 FPM.addPass(MFPHandle.getPass()); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp81 void PassManagerBuilder::populateFunctionPassManager(FunctionPassManager &FPM) { in populateFunctionPassManager() argument
82 addExtensionsToPM(EP_EarlyAsPossible, FPM); in populateFunctionPassManager()
85 if (LibraryInfo) FPM.add(new TargetLibraryInfo(*LibraryInfo)); in populateFunctionPassManager()
89 addInitialAliasAnalysisPasses(FPM); in populateFunctionPassManager()
91 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager()
92 FPM.add(createScalarReplAggregatesPass()); in populateFunctionPassManager()
93 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager()
94 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager()
323 FunctionPassManager *FPM = unwrap<FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() local
324 Builder->populateFunctionPassManager(*FPM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h133 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
136 FPM->add(createInstructionCombiningPass()); in optimizeModule()
137 FPM->add(createReassociatePass()); in optimizeModule()
138 FPM->add(createGVNPass()); in optimizeModule()
139 FPM->add(createCFGSimplificationPass()); in optimizeModule()
140 FPM->doInitialization(); in optimizeModule()
145 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp418 FunctionPassManager FPM; in TEST_F() local
424 FPM = std::move(NestedFPM); in TEST_F()
426 NestedMPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
439 FunctionPassManager FPM(/*DebugLogging*/ true); in TEST_F() local
440 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F()
442 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
452 FunctionPassManager FPM(/*DebugLogging*/ true); in TEST_F() local
453 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F()
455 FPM.addPass(TestInvalidationFunctionPass("f")); in TEST_F()
456 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
[all …]
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h209 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
212 FPM->add(createInstructionCombiningPass()); in optimizeModule()
213 FPM->add(createReassociatePass()); in optimizeModule()
214 FPM->add(createGVNPass()); in optimizeModule()
215 FPM->add(createCFGSimplificationPass()); in optimizeModule()
216 FPM->doInitialization(); in optimizeModule()
221 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h210 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
213 FPM->add(createInstructionCombiningPass()); in optimizeModule()
214 FPM->add(createReassociatePass()); in optimizeModule()
215 FPM->add(createGVNPass()); in optimizeModule()
216 FPM->add(createCFGSimplificationPass()); in optimizeModule()
217 FPM->doInitialization(); in optimizeModule()
222 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp33 llvm::legacy::FunctionPassManager FPM(F.getParent()); in simplifyCFG() local
34 FPM.add(createCFGSimplificationPass()); in simplifyCFG()
36 FPM.doInitialization(); in simplifyCFG()
37 FPM.run(F); in simplifyCFG()
38 FPM.doFinalization(); in simplifyCFG()
DCoroSplit.cpp425 legacy::FunctionPassManager FPM(F.getParent()); in postSplitCleanup() local
427 FPM.add(createVerifierPass()); in postSplitCleanup()
428 FPM.add(createSCCPPass()); in postSplitCleanup()
429 FPM.add(createCFGSimplificationPass()); in postSplitCleanup()
430 FPM.add(createEarlyCSEPass()); in postSplitCleanup()
431 FPM.add(createCFGSimplificationPass()); in postSplitCleanup()
433 FPM.doInitialization(); in postSplitCleanup()
434 FPM.run(F); in postSplitCleanup()
435 FPM.doFinalization(); in postSplitCleanup()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h241 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
244 FPM->add(createInstructionCombiningPass()); in optimizeModule()
245 FPM->add(createReassociatePass()); in optimizeModule()
246 FPM->add(createGVNPass()); in optimizeModule()
247 FPM->add(createCFGSimplificationPass()); in optimizeModule()
248 FPM->doInitialization(); in optimizeModule()
253 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h227 auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get()); in optimizeModule() local
230 FPM->add(createInstructionCombiningPass()); in optimizeModule()
231 FPM->add(createReassociatePass()); in optimizeModule()
232 FPM->add(createGVNPass()); in optimizeModule()
233 FPM->add(createCFGSimplificationPass()); in optimizeModule()
234 FPM->doInitialization(); in optimizeModule()
239 FPM->run(F); in optimizeModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DRegionPrinter.cpp249 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()
/external/llvm/lib/Analysis/
DRegionPrinter.cpp249 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()
/external/llvm/unittests/Analysis/
DLoopPassManagerTest.cpp163 FunctionPassManager FPM(true); in TEST_F() local
172 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F()
184 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F()
187 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp248 legacy::FunctionPassManager &FPM) { in populateFunctionPassManager() argument
249 addExtensionsToPM(EP_EarlyAsPossible, FPM); in populateFunctionPassManager()
250 FPM.add(createEntryExitInstrumenterPass()); in populateFunctionPassManager()
254 FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateFunctionPassManager()
258 addInitialAliasAnalysisPasses(FPM); in populateFunctionPassManager()
260 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager()
261 FPM.add(createSROAPass()); in populateFunctionPassManager()
262 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager()
263 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager()
1030 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() local
[all …]
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp212 legacy::FunctionPassManager &FPM) { in populateFunctionPassManager() argument
213 addExtensionsToPM(EP_EarlyAsPossible, FPM); in populateFunctionPassManager()
217 FPM.add(new TargetLibraryInfoWrapperPass(*LibraryInfo)); in populateFunctionPassManager()
221 addInitialAliasAnalysisPasses(FPM); in populateFunctionPassManager()
223 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager()
224 FPM.add(createSROAPass()); in populateFunctionPassManager()
225 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager()
226 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager()
850 legacy::FunctionPassManager *FPM = unwrap<legacy::FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() local
851 Builder->populateFunctionPassManager(*FPM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/
Dexplain.test52 FPM1-NEXT: Address is in FPM1 (Alt FPM)
58 EXTRANEOUSFPM-NEXT: Address is in FPM1 (Alt FPM)
59 EXTRANEOUSFPM-NEXT: Address is in extraneous FPM space.
63 FPM2-NEXT: Address is in FPM2 (Main FPM)
/external/swiftshader/third_party/llvm-7.0/llvm/docs/PDB/
DMsfFile.rst16 2. :ref:`msf_freeblockmap` (also know as Free Page Map, or FPM)
95 The Free Block Map (sometimes referred to as the Free Page Map, or FPM) is a
101 MSF file. While writing to an MSF file, if the active FPM is FPM1, you can
107 at intervals of BlockSize. Because each FPM block is of size ``BlockSize``
109 that the first block of each FPM refers to the first 8 intervals of the file
110 (the first 32768 blocks), the second block of each FPM refers to the next 8
111 blocks, and so on. This results in far more FPM blocks being present than are
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp789 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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp789 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 …]

123