Home
last modified time | relevance | path

Searched refs:MPM (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp267 void PassManagerBuilder::addPGOInstrPasses(legacy::PassManagerBase &MPM) { in addPGOInstrPasses() argument
284 MPM.add(createFunctionInliningPass(IP)); in addPGOInstrPasses()
285 MPM.add(createSROAPass()); in addPGOInstrPasses()
286 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in addPGOInstrPasses()
287 MPM.add(createCFGSimplificationPass()); // Merge & remove BBs in addPGOInstrPasses()
288 MPM.add(createInstructionCombiningPass()); // Combine silly seq's in addPGOInstrPasses()
289 addExtensionsToPM(EP_Peephole, MPM); in addPGOInstrPasses()
292 MPM.add(createPGOInstrumentationGenLegacyPass()); in addPGOInstrPasses()
298 MPM.add(createLoopRotatePass()); in addPGOInstrPasses()
299 MPM.add(createInstrProfilingLegacyPass(Options)); in addPGOInstrPasses()
[all …]
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp230 void PassManagerBuilder::addPGOInstrPasses(legacy::PassManagerBase &MPM) { in addPGOInstrPasses() argument
232 MPM.add(createPGOInstrumentationGenLegacyPass()); in addPGOInstrPasses()
236 MPM.add(createInstrProfilingLegacyPass(Options)); in addPGOInstrPasses()
239 MPM.add(createPGOInstrumentationUseLegacyPass(PGOInstrUse)); in addPGOInstrPasses()
242 legacy::PassManagerBase &MPM) { in addFunctionSimplificationPasses() argument
245 MPM.add(createSROAPass()); in addFunctionSimplificationPasses()
246 MPM.add(createEarlyCSEPass()); // Catch trivial redundancies in addFunctionSimplificationPasses()
248 MPM.add(createSpeculativeExecutionIfHasBranchDivergencePass()); in addFunctionSimplificationPasses()
249 MPM.add(createJumpThreadingPass()); // Thread jumps. in addFunctionSimplificationPasses()
250 MPM.add(createCorrelatedValuePropagationPass()); // Propagate conditionals in addFunctionSimplificationPasses()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp97 void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { in populateModulePassManager() argument
101 MPM.add(Inliner); in populateModulePassManager()
108 if (LibraryInfo) MPM.add(new TargetLibraryInfo(*LibraryInfo)); in populateModulePassManager()
110 addInitialAliasAnalysisPasses(MPM); in populateModulePassManager()
113 MPM.add(createGlobalOptimizerPass()); // Optimize out global vars in populateModulePassManager()
115 MPM.add(createIPSCCPPass()); // IP SCCP in populateModulePassManager()
116 MPM.add(createDeadArgEliminationPass()); // Dead argument elimination in populateModulePassManager()
118 MPM.add(createInstructionCombiningPass());// Clean up after IPCP & DAE in populateModulePassManager()
119 MPM.add(createCFGSimplificationPass()); // Clean up after IPCP & DAE in populateModulePassManager()
124 MPM.add(createPruneEHPass()); // Remove dead EH info in populateModulePassManager()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp492 void PassBuilder::addPGOInstrPasses(ModulePassManager &MPM, bool DebugLogging, in addPGOInstrPasses() argument
525 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPipeline))); in addPGOInstrPasses()
531 MPM.addPass(GlobalDCEPass()); in addPGOInstrPasses()
534 MPM.addPass(PGOInstrumentationGen()); in addPGOInstrPasses()
539 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in addPGOInstrPasses()
546 MPM.addPass(InstrProfiling(Options)); in addPGOInstrPasses()
550 MPM.addPass(PGOInstrumentationUse(ProfileUseFile)); in addPGOInstrPasses()
565 ModulePassManager MPM(DebugLogging); in buildModuleSimplificationPipeline() local
569 MPM.addPass(InferFunctionAttrsPass()); in buildModuleSimplificationPipeline()
590 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(EarlyFPM))); in buildModuleSimplificationPipeline()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp256 ModulePassManager MPM(/*DebugLogging*/ true); in TEST_F() local
257 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()
308 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM1))); in TEST_F()
316 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM3))); in TEST_F()
318 MPM.run(*M, MAM); in TEST_F()
341 ModulePassManager MPM(/*DebugLogging*/ true); in TEST_F() local
342 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()
362 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM1))); in TEST_F()
384 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM2))); in TEST_F()
403 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM3))); in TEST_F()
[all …]
/external/llvm/lib/Passes/
DPassBuilder.cpp234 void PassBuilder::addPerModuleDefaultPipeline(ModulePassManager &MPM, in addPerModuleDefaultPipeline() argument
244 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(EarlyFPM))); in addPerModuleDefaultPipeline()
247 void PassBuilder::addLTOPreLinkDefaultPipeline(ModulePassManager &MPM, in addLTOPreLinkDefaultPipeline() argument
251 addPerModuleDefaultPipeline(MPM, Level, DebugLogging); in addLTOPreLinkDefaultPipeline()
254 void PassBuilder::addLTODefaultPipeline(ModulePassManager &MPM, in addLTODefaultPipeline() argument
262 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(LateFPM))); in addLTODefaultPipeline()
319 bool PassBuilder::parseModulePassName(ModulePassManager &MPM, StringRef Name, in parseModulePassName() argument
337 addPerModuleDefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
339 addLTOPreLinkDefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
342 addLTODefaultPipeline(MPM, L, DebugLogging); in parseModulePassName()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DNewPMDriver.cpp233 [](StringRef Name, ModulePassManager &MPM, in runPassPipeline()
236 MPM.addPass(NewPMDebugifyPass()); in runPassPipeline()
239 MPM.addPass(NewPMCheckDebugifyPass()); in runPassPipeline()
272 ModulePassManager MPM(DebugPM); in runPassPipeline() local
274 MPM.addPass(VerifierPass()); in runPassPipeline()
276 MPM.addPass(NewPMDebugifyPass()); in runPassPipeline()
278 if (!PB.parsePassPipeline(MPM, PassPipeline, VerifyEachPass, DebugPM)) { in runPassPipeline()
284 MPM.addPass(VerifierPass()); in runPassPipeline()
286 MPM.addPass(NewPMCheckDebugifyPass()); in runPassPipeline()
293 MPM.addPass( in runPassPipeline()
[all …]
/external/llvm/tools/opt/
DNewPMDriver.cpp81 ModulePassManager MPM(DebugPM); in runPassPipeline() local
83 MPM.addPass(VerifierPass()); in runPassPipeline()
85 if (!PB.parsePassPipeline(MPM, PassPipeline, VK == VK_VerifyEachPass, in runPassPipeline()
92 MPM.addPass(VerifierPass()); in runPassPipeline()
99 MPM.addPass( in runPassPipeline()
103 MPM.addPass( in runPassPipeline()
112 MPM.run(M, MAM); in runPassPipeline()
Dopt.cpp231 static void AddOptimizationPasses(legacy::PassManagerBase &MPM, in AddOptimizationPasses() argument
273 Builder.populateModulePassManager(MPM); in AddOptimizationPasses()
/external/llvm/include/llvm/Passes/
DPassBuilder.h172 void addPerModuleDefaultPipeline(ModulePassManager &MPM,
183 void addLTOPreLinkDefaultPipeline(ModulePassManager &MPM,
193 void addLTODefaultPipeline(ModulePassManager &MPM, OptimizationLevel Level,
224 bool parsePassPipeline(ModulePassManager &MPM, StringRef PipelineText,
245 bool parseModulePassName(ModulePassManager &MPM, StringRef Name,
258 bool parseModulePassPipeline(ModulePassManager &MPM, StringRef &PipelineText,
/external/llvm/unittests/IR/
DPassManagerTest.cpp228 ModulePassManager MPM; in TEST_F() local
246 MPM = std::move(NestedMPM); in TEST_F()
251 MPM.addPass(TestModulePass(ModulePassRunCount)); in TEST_F()
261 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
266 MPM.addPass(TestPreservingModulePass()); in TEST_F()
275 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
279 MPM.addPass(TestMinPreservingModulePass()); in TEST_F()
287 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
300 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
303 MPM.run(*M, MAM); in TEST_F()
DVerifierTest.cpp193 ModulePassManager MPM(true); in TEST() local
194 MPM.addPass(VerifierPass(false)); in TEST()
197 MPM.run(M, MAM); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp320 ModulePassManager MPM(true); in TEST_F() local
344 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
371 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
375 MPM.run(*M, MAM); in TEST_F()
379 ModulePassManager MPM(true); in TEST_F() local
450 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
454 MPM.addPass(createModuleToFunctionPassAdaptor(createFunctionToLoopPassAdaptor( in TEST_F()
457 MPM.run(*M, MAM); in TEST_F()
461 ModulePassManager MPM(true); in TEST_F() local
469 MPM.addPass(createModuleToFunctionPassAdaptor(createFunctionToLoopPassAdaptor( in TEST_F()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h165 void addPGOInstrPasses(legacy::PassManagerBase &MPM);
166 void addFunctionSimplificationPasses(legacy::PassManagerBase &MPM);
167 void addInstructionCombiningPass(legacy::PassManagerBase &MPM) const;
176 void populateModulePassManager(legacy::PassManagerBase &MPM);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp409 ModulePassManager MPM; in TEST_F() local
427 MPM = std::move(NestedMPM); in TEST_F()
432 MPM.addPass(TestModulePass(ModulePassRunCount)); in TEST_F()
442 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
447 MPM.addPass(TestPreservingModulePass()); in TEST_F()
456 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
461 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()
469 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
483 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
486 MPM.run(*M, MAM); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h189 void addPGOInstrPasses(legacy::PassManagerBase &MPM);
190 void addFunctionSimplificationPasses(legacy::PassManagerBase &MPM);
191 void addInstructionCombiningPass(legacy::PassManagerBase &MPM) const;
200 void populateModulePassManager(legacy::PassManagerBase &MPM);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp137 ModulePassManager MPM; in LLVMFuzzerTestOneInput() local
147 bool Ok = PB.parsePassPipeline(MPM, PassPipeline, false, false); in LLVMFuzzerTestOneInput()
154 MPM.run(*M, MAM); in LLVMFuzzerTestOneInput()
237 ModulePassManager MPM; in LLVMFuzzerInitialize() local
238 if (!PB.parsePassPipeline(MPM, PassPipeline, false, false)) { in LLVMFuzzerInitialize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp176 ModulePassManager MPM(Conf.DebugPassManager); in runNewPMPasses() local
199 MPM = PB.buildThinLTODefaultPipeline(OL, Conf.DebugPassManager, in runNewPMPasses()
202 MPM = PB.buildLTODefaultPipeline(OL, Conf.DebugPassManager, ExportSummary); in runNewPMPasses()
203 MPM.run(Mod, MAM); in runNewPMPasses()
236 ModulePassManager MPM; in runNewPMCustomPasses() local
239 MPM.addPass(VerifierPass()); in runNewPMCustomPasses()
242 if (!PB.parsePassPipeline(MPM, PipelineDesc)) in runNewPMCustomPasses()
247 MPM.addPass(VerifierPass()); in runNewPMCustomPasses()
248 MPM.run(Mod, MAM); in runNewPMCustomPasses()
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp277 ModulePassManager MPM(/*DebugLogging*/ true); in TEST() local
279 MPM.addPass(TestModulePass(ModulePassRunCount1)); in TEST()
294 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM1))); in TEST()
296 MPM.run(*M, MAM); in TEST()
DLoopPassManagerTest.cpp162 ModulePassManager MPM(true); in TEST_F() local
187 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F()
188 MPM.run(*M, MAM); in TEST_F()
/external/clang/lib/CodeGen/
DBackendUtil.cpp304 legacy::PassManager *MPM) { in addSymbolRewriterPass() argument
311 MPM->add(createRewriteSymbolsPass(DL)); in addSymbolRewriterPass()
365 legacy::PassManager *MPM = getPerModulePasses(); in CreatePasses() local
371 PMBuilder.populateThinLTOPassManager(*MPM); in CreatePasses()
461 addSymbolRewriterPass(CodeGenOpts, MPM); in CreatePasses()
476 MPM->add(createGCOVProfilerPass(Options)); in CreatePasses()
478 MPM->add(createStripSymbolsPass(true)); in CreatePasses()
485 MPM->add(createInstrProfilingLegacyPass(Options)); in CreatePasses()
497 MPM->add(createPruneEHPass()); in CreatePasses()
498 MPM->add(createSampleProfileLoaderPass(CodeGenOpts.SampleProfileFile)); in CreatePasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassBuilder.h381 bool parsePassPipeline(ModulePassManager &MPM, StringRef PipelineText,
562 bool parseModulePass(ModulePassManager &MPM, const PipelineElement &E,
581 bool parseModulePassPipeline(ModulePassManager &MPM,
585 void addPGOInstrPasses(ModulePassManager &MPM, bool DebugLogging,
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
DPassManagerBuilder.h118 void populateModulePassManager(PassManagerBase &MPM);
/external/swiftshader/third_party/LLVM/tools/opt/
Dopt.cpp408 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, in AddOptimizationPasses() argument
428 Builder.populateModulePassManager(MPM); in AddOptimizationPasses()
/external/autotest/apache/conf/
Ddjango-directives12 # Django, when running under mod_python, requires the prefork MPM, so just

12