/external/llvm/unittests/Analysis/ |
D | CGSCCPassManagerTest.cpp | 155 const ModuleAnalysisManager &MAM = in run() local 160 MAM.getCachedResult<TestModuleAnalysis>( in run() 265 ModuleAnalysisManager MAM(/*DebugLogging*/ true); in TEST() local 267 MAM.registerPass([&] { return LazyCallGraphAnalysis(); }); in TEST() 268 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST() 270 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST() 271 MAM.registerPass([&] { return CGSCCAnalysisManagerModuleProxy(CGAM); }); in TEST() 273 CGAM.registerPass([&] { return ModuleAnalysisManagerCGSCCProxy(MAM); }); in TEST() 275 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST() 296 MPM.run(*M, MAM); in TEST()
|
D | LoopPassManagerTest.cpp | 158 ModuleAnalysisManager MAM(true); in TEST_F() local 159 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F() 160 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F() 188 MPM.run(*M, MAM); in TEST_F()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | CGSCCPassManagerTest.cpp | 198 ModuleAnalysisManager MAM; member in __anonc851db4b0111::CGSCCPassManagerTest 205 MAM(/*DebugLogging*/ true), in CGSCCPassManagerTest() 255 MAM.registerPass([&] { return LazyCallGraphAnalysis(); }); in CGSCCPassManagerTest() 256 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in CGSCCPassManagerTest() 259 MAM.registerPass([&] { return PassInstrumentationAnalysis(); }); in CGSCCPassManagerTest() 264 MAM.registerPass([&] { return CGSCCAnalysisManagerModuleProxy(CGAM); }); in CGSCCPassManagerTest() 266 CGAM.registerPass([&] { return ModuleAnalysisManagerCGSCCProxy(MAM); }); in CGSCCPassManagerTest() 268 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in CGSCCPassManagerTest() 284 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F() 323 MAM.getCachedResult<TestModuleAnalysis>( in TEST_F() [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | InlineAdvisor.h | 209 Result(Module &M, ModuleAnalysisManager &MAM) : M(M), MAM(MAM) {} in Result() 221 ModuleAnalysisManager &MAM; member 225 Result run(Module &M, ModuleAnalysisManager &MAM) { return Result(M, MAM); } in run() argument 230 getReleaseModeAdvisor(Module &M, ModuleAnalysisManager &MAM); 235 getDevelopmentModeAdvisor(Module &M, ModuleAnalysisManager &MAM,
|
/external/llvm-project/llvm/unittests/IR/ |
D | PassManagerTest.cpp | 114 int &AnalyzedFunctionCount, ModuleAnalysisManager &MAM, in TestFunctionPass() 117 AnalyzedFunctionCount(AnalyzedFunctionCount), MAM(MAM), in TestFunctionPass() 128 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) { in run() 149 ModuleAnalysisManager &MAM; member 425 ModuleAnalysisManager MAM(/*DebugLogging*/ true); in TEST_F() local 427 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F() 428 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F() 429 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F() 431 MAM.registerPass([&] { return PassInstrumentationAnalysis(); }); in TEST_F() 449 AnalyzedFunctionCount1, MAM)); in TEST_F() [all …]
|
/external/llvm-project/polly/lib/Transform/ |
D | ScopInliner.cpp | 84 ModuleAnalysisManager MAM; in runOnSCC() local 85 PB.registerModuleAnalyses(MAM); in runOnSCC() 86 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in runOnSCC() 91 MPM.run(*M, MAM); in runOnSCC()
|
/external/llvm/tools/opt/ |
D | NewPMDriver.cpp | 69 ModuleAnalysisManager MAM(DebugPM); in runPassPipeline() local 75 PB.registerModuleAnalyses(MAM); in runPassPipeline() 79 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runPassPipeline() 112 MPM.run(M, MAM); in runPassPipeline()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachinePassManager.h | 43 MachineFunctionAnalysisManager() : Base(false), FAM(nullptr), MAM(nullptr) {} in MachineFunctionAnalysisManager() 45 ModuleAnalysisManager &MAM, 47 : Base(DebugLogging), FAM(&FAM), MAM(&MAM) {} in Base() 73 return MAM->getResult<PassT>(M); in getResult() 82 return MAM->getCachedResult<PassT>(M); in getCachedResult() 99 ModuleAnalysisManager *MAM; variable
|
/external/llvm-project/llvm/unittests/Transforms/Scalar/ |
D | LICMTest.cpp | 27 ModuleAnalysisManager MAM; in TEST() local 29 PB.registerModuleAnalyses(MAM); in TEST() 33 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in TEST() 73 MPM.run(*M, MAM); in TEST()
|
/external/llvm-project/polly/unittests/ScopPassManager/ |
D | PassManagerTest.cpp | 17 ModuleAnalysisManager MAM; member in __anon8a91f4600111::ScopPassRegistry 33 PB.registerModuleAnalyses(MAM); in ScopPassRegistry() 46 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in ScopPassRegistry()
|
/external/llvm/unittests/IR/ |
D | PassManagerTest.cpp | 118 const ModuleAnalysisManager &MAM = in run() local 121 MAM.getCachedResult<TestModuleAnalysis>(*F.getParent())) in run() 222 ModuleAnalysisManager MAM; in TEST_F() local 224 MAM.registerPass([&] { return TestModuleAnalysis(ModuleAnalysisRuns); }); in TEST_F() 225 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F() 226 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F() 303 MPM.run(*M, MAM); in TEST_F()
|
D | VerifierTest.cpp | 195 ModuleAnalysisManager MAM(true); in TEST() local 196 MAM.registerPass([&] { return VerifierAnalysis(); }); in TEST() 197 MPM.run(M, MAM); in TEST()
|
/external/llvm-project/llvm/unittests/CodeGen/ |
D | PassManagerTest.cpp | 214 ModuleAnalysisManager MAM(/*DebugLogging=*/true); in TEST_F() local 216 PB.registerModuleAnalyses(MAM); in TEST_F() 218 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in TEST_F() 222 MAM.registerPass([&] { return MachineModuleAnalysis(LLVMTM); }); in TEST_F() 223 MAM.registerPass([&] { return PassInstrumentationAnalysis(); }); in TEST_F() 228 MachineFunctionAnalysisManager NestedMFAM(FAM, MAM, in TEST_F()
|
/external/llvm-project/llvm/tools/llvm-opt-fuzzer/ |
D | llvm-opt-fuzzer.cpp | 142 ModuleAnalysisManager MAM; in LLVMFuzzerTestOneInput() local 145 PB.registerModuleAnalyses(MAM); in LLVMFuzzerTestOneInput() 149 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in LLVMFuzzerTestOneInput() 159 MPM.run(*M, MAM); in LLVMFuzzerTestOneInput()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | AlwaysInliner.cpp | 37 ModuleAnalysisManager &MAM) { in run() argument 40 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() 44 auto &PSI = MAM.getResult<ProfileSummaryAnalysis>(M); in run()
|
D | SyntheticCountsPropagation.cpp | 97 ModuleAnalysisManager &MAM) { in run() argument 99 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run()
|
/external/llvm/lib/Passes/ |
D | PassBuilder.cpp | 210 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses() argument 212 MAM.registerPass([&] { return CREATE_PASS; }); in registerModuleAnalyses() 601 ModuleAnalysisManager &MAM) { in crossRegisterProxies() argument 602 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in crossRegisterProxies() 603 MAM.registerPass([&] { return CGSCCAnalysisManagerModuleProxy(CGAM); }); in crossRegisterProxies() 605 CGAM.registerPass([&] { return ModuleAnalysisManagerCGSCCProxy(MAM); }); in crossRegisterProxies() 607 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in crossRegisterProxies()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTOBackend.cpp | 185 ModuleAnalysisManager MAM(Conf.DebugPassManager); in runNewPMPasses() local 191 PB.registerModuleAnalyses(MAM); in runNewPMPasses() 195 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMPasses() 224 MPM.run(Mod, MAM); in runNewPMPasses() 245 ModuleAnalysisManager MAM; in runNewPMCustomPasses() local 251 PB.registerModuleAnalyses(MAM); in runNewPMCustomPasses() 255 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMCustomPasses() 269 MPM.run(Mod, MAM); in runNewPMCustomPasses()
|
/external/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 133 ModuleAnalysisManager &MAM); 141 void registerModuleAnalyses(ModuleAnalysisManager &MAM);
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ReleaseModeModelRunner.cpp | 86 llvm::getReleaseModeAdvisor(Module &M, ModuleAnalysisManager &MAM) { in getReleaseModeAdvisor() argument 88 return std::make_unique<MLInlineAdvisor>(M, MAM, std::move(AOTRunner)); in getReleaseModeAdvisor()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | CGProfile.cpp | 26 PreservedAnalyses CGProfilePass::run(Module &M, ModuleAnalysisManager &MAM) { in run() argument 29 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run()
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTOBackend.cpp | 239 ModuleAnalysisManager MAM(Conf.DebugPassManager); in runNewPMPasses() local 245 PB.registerModuleAnalyses(MAM); in runNewPMPasses() 249 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMPasses() 283 MPM.run(Mod, MAM); in runNewPMPasses() 304 ModuleAnalysisManager MAM; in runNewPMCustomPasses() local 310 PB.registerModuleAnalyses(MAM); in runNewPMCustomPasses() 314 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMCustomPasses() 328 MPM.run(Mod, MAM); in runNewPMCustomPasses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | AlwaysInliner.cpp | 36 ModuleAnalysisManager &MAM) { in run() argument 39 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run()
|
D | SyntheticCountsPropagation.cpp | 98 ModuleAnalysisManager &MAM) { in run() argument 100 MAM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run()
|
/external/llvm-project/llvm/tools/opt/ |
D | NewPMDriver.cpp | 374 ModuleAnalysisManager MAM(DebugPM); in runPassPipeline() local 382 PB.registerModuleAnalyses(MAM); in runPassPipeline() 386 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runPassPipeline() 439 MPM.run(M, MAM); in runPassPipeline()
|