Home
last modified time | relevance | path

Searched refs:FAM (Results 1 – 25 of 78) sorted by relevance

1234

/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp157 FunctionAnalysisManager &FAM = in run() local
170 FAM.getCachedResult<TestFunctionAnalysis>(N.getFunction())) in run()
178 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in run()
182 (void)FAM.getResult<TestImmutableFunctionAnalysis>(N.getFunction()); in run()
253 FunctionAnalysisManager FAM(/*DebugLogging*/ true); in TEST() local
255 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST()
257 FAM.registerPass([&] { in TEST()
270 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST()
272 CGAM.registerPass([&] { return FunctionAnalysisManagerCGSCCProxy(FAM); }); in TEST()
274 FAM.registerPass([&] { return CGSCCAnalysisManagerFunctionProxy(CGAM); }); in TEST()
[all …]
DLoopPassManagerTest.cpp151 FunctionAnalysisManager FAM(true); in TEST_F() local
153 FAM.registerPass([&] { return DominatorTreeAnalysis(); }); in TEST_F()
154 FAM.registerPass([&] { return LoopAnalysis(); }); in TEST_F()
155 FAM.registerPass([&] { return LoopAnalysisManagerFunctionProxy(LAM); }); in TEST_F()
156 LAM.registerPass([&] { return FunctionAnalysisManagerLoopProxy(FAM); }); in TEST_F()
159 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
160 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
/external/llvm/tools/opt/
DNewPMDriver.cpp67 FunctionAnalysisManager FAM(DebugPM); in runPassPipeline() local
72 FAM.registerPass([&] { return std::move(AA); }); in runPassPipeline()
77 PB.registerFunctionAnalyses(FAM); in runPassPipeline()
79 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runPassPipeline()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp173 FunctionAnalysisManager FAM; member in __anon8c1dc3970111::CGSCCPassManagerTest
181 : FAM(/*DebugLogging*/ true), CGAM(/*DebugLogging*/ true), in CGSCCPassManagerTest()
233 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in CGSCCPassManagerTest()
237 FAM.registerPass([&] { return CGSCCAnalysisManagerFunctionProxy(CGAM); }); in CGSCCPassManagerTest()
238 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in CGSCCPassManagerTest()
244 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
246 FAM.registerPass([&] { in TEST_F()
279 FunctionAnalysisManager &FAM = in TEST_F() local
290 FAM.getResult<TestFunctionAnalysis>(N.getFunction()); in TEST_F()
294 (void)FAM.getResult<TestImmutableFunctionAnalysis>(N.getFunction()); in TEST_F()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopSimplifyCFG.cpp68 const auto &FAM = in run() local
72 auto *LI = FAM.getCachedResult<LoopAnalysis>(*F); in run()
73 auto *DT = FAM.getCachedResult<DominatorTreeAnalysis>(*F); in run()
DLoopDeletion.cpp219 auto &FAM = AM.getResult<FunctionAnalysisManagerLoopProxy>(L).getManager(); in run() local
222 auto &DT = *FAM.getCachedResult<DominatorTreeAnalysis>(*F); in run()
223 auto &SE = *FAM.getCachedResult<ScalarEvolutionAnalysis>(*F); in run()
224 auto &LI = *FAM.getCachedResult<LoopAnalysis>(*F); in run()
DLoopRotation.cpp623 auto &FAM = AM.getResult<FunctionAnalysisManagerLoopProxy>(L).getManager(); in run() local
626 auto *LI = FAM.getCachedResult<LoopAnalysis>(*F); in run()
627 const auto *TTI = FAM.getCachedResult<TargetIRAnalysis>(*F); in run()
628 auto *AC = FAM.getCachedResult<AssumptionAnalysis>(*F); in run()
632 auto *DT = FAM.getCachedResult<DominatorTreeAnalysis>(*F); in run()
633 auto *SE = FAM.getCachedResult<ScalarEvolutionAnalysis>(*F); in run()
/external/llvm/lib/Passes/
DPassBuilder.cpp222 void PassBuilder::registerFunctionAnalyses(FunctionAnalysisManager &FAM) { in registerFunctionAnalyses() argument
224 FAM.registerPass([&] { return CREATE_PASS; }); in registerFunctionAnalyses()
599 FunctionAnalysisManager &FAM, in crossRegisterProxies() argument
602 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in crossRegisterProxies()
604 CGAM.registerPass([&] { return FunctionAnalysisManagerCGSCCProxy(FAM); }); in crossRegisterProxies()
606 FAM.registerPass([&] { return CGSCCAnalysisManagerFunctionProxy(CGAM); }); in crossRegisterProxies()
607 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in crossRegisterProxies()
608 FAM.registerPass([&] { return LoopAnalysisManagerFunctionProxy(LAM); }); in crossRegisterProxies()
609 LAM.registerPass([&] { return FunctionAnalysisManagerLoopProxy(FAM); }); in crossRegisterProxies()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp135 FunctionAnalysisManager FAM; in LLVMFuzzerTestOneInput() local
140 FAM.registerPass([&] { return PB.buildDefaultAAPipeline(); }); in LLVMFuzzerTestOneInput()
143 PB.registerFunctionAnalyses(FAM); in LLVMFuzzerTestOneInput()
145 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in LLVMFuzzerTestOneInput()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCGSCCPassManager.h521 explicit Result(FunctionAnalysisManager &FAM) : FAM(&FAM) {}
524 FunctionAnalysisManager &getManager() { return *FAM; }
530 FunctionAnalysisManager *FAM;
595 FunctionAnalysisManager &FAM =
618 PreservedAnalyses PassPA = Pass.run(N->getFunction(), FAM);
623 FAM.invalidate(N->getFunction(), PassPA);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp29 FunctionAnalysisManager &FAM = in run() local
44 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
47 TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(F); in run()
DPGOMemOPSizeOpt.cpp441 FunctionAnalysisManager &FAM) { in run() argument
442 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
443 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run()
444 auto *DT = FAM.getCachedResult<DominatorTreeAnalysis>(F); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp848 FunctionAnalysisManager &FAM = in run() local
855 FAM.getResult<OptimizationRemarkEmitterAnalysis>(N.getFunction()); in run()
923 FunctionAnalysisManager &FAM = in run() local
928 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(F); in run()
932 return FAM.getResult<AssumptionAnalysis>(F); in run()
935 return FAM.getResult<BlockFrequencyAnalysis>(F); in run()
940 auto &CalleeTTI = FAM.getResult<TargetIRAnalysis>(Callee); in run()
981 &FAM.getResult<BlockFrequencyAnalysis>(*(CS.getCaller())), in run()
982 &FAM.getResult<BlockFrequencyAnalysis>(Callee)); in run()
1126 FunctionAnalysisManager &FAM = in run() local
[all …]
DSyntheticCountsPropagation.cpp99 FunctionAnalysisManager &FAM = in run() local
114 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(*Caller); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopSink.cpp312 PreservedAnalyses LoopSinkPass::run(Function &F, FunctionAnalysisManager &FAM) { in run() argument
313 LoopInfo &LI = FAM.getResult<LoopAnalysis>(F); in run()
318 AAResults &AA = FAM.getResult<AAManager>(F); in run()
319 DominatorTree &DT = FAM.getResult<DominatorTreeAnalysis>(F); in run()
320 BlockFrequencyInfo &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
DDivRemPairs.cpp201 FunctionAnalysisManager &FAM) { in run() argument
202 TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(F); in run()
203 DominatorTree &DT = FAM.getResult<DominatorTreeAnalysis>(F); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp162 FunctionAnalysisManager FAM(Conf.DebugPassManager); in runNewPMPasses() local
167 FAM.registerPass([&] { return std::move(AA); }); in runNewPMPasses()
172 PB.registerFunctionAnalyses(FAM); in runNewPMPasses()
174 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMPasses()
222 FunctionAnalysisManager FAM; in runNewPMCustomPasses() local
227 FAM.registerPass([&] { return std::move(AA); }); in runNewPMCustomPasses()
232 PB.registerFunctionAnalyses(FAM); in runNewPMCustomPasses()
234 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runNewPMCustomPasses()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassManagerTest.cpp399 FunctionAnalysisManager FAM(/*DebugLogging*/ true); in TEST_F() local
401 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
406 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
407 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
676 FunctionAnalysisManager FAM(/*DebugLogging*/ true); in TEST_F() local
679 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
680 FAM.registerPass( in TEST_F()
682 FAM.registerPass([&] { in TEST_F()
688 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
689 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCGSCCPassManager.cpp238 FAM->clear(N.getFunction(), N.getFunction().getName()); in invalidate()
257 FAM->getCachedResult<CGSCCAnalysisManagerFunctionProxy>(F)) in invalidate()
273 FAM->invalidate(F, *FunctionPA); in invalidate()
280 FAM->invalidate(F, PA); in invalidate()
305 auto &FAM = in updateNewSCCFunctionAnalyses() local
314 FAM.getCachedResult<CGSCCAnalysisManagerFunctionProxy>(F); in updateNewSCCFunctionAnalyses()
330 FAM.invalidate(F, PA); in updateNewSCCFunctionAnalyses()
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp835 auto &FAM = AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() local
836 auto LookupBPI = [&FAM](Function &F) { in run()
837 return &FAM.getResult<BranchProbabilityAnalysis>(F); in run()
840 auto LookupBFI = [&FAM](Function &F) { in run()
841 return &FAM.getResult<BlockFrequencyAnalysis>(F); in run()
926 auto &FAM = AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager(); in run() local
927 auto LookupBPI = [&FAM](Function &F) { in run()
928 return &FAM.getResult<BranchProbabilityAnalysis>(F); in run()
931 auto LookupBFI = [&FAM](Function &F) { in run()
932 return &FAM.getResult<BlockFrequencyAnalysis>(F); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DNewPMDriver.cpp258 FunctionAnalysisManager FAM(DebugPM); in runPassPipeline() local
263 FAM.registerPass([&] { return std::move(AA); }); in runPassPipeline()
268 PB.registerFunctionAnalyses(FAM); in runPassPipeline()
270 PB.crossRegisterProxies(LAM, FAM, CGAM, MAM); in runPassPipeline()
/external/llvm/include/llvm/Analysis/
DCGSCCPassManager.h190 FunctionAnalysisManager &FAM = in run() local
198 PreservedAnalyses PassPA = Pass.run(N.getFunction(), FAM); in run()
205 PassPA = FAM.invalidate(N.getFunction(), std::move(PassPA)); in run()
/external/llvm/unittests/IR/
DPassManagerTest.cpp218 FunctionAnalysisManager FAM; in TEST_F() local
220 FAM.registerPass([&] { return TestFunctionAnalysis(FunctionAnalysisRuns); }); in TEST_F()
225 MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); in TEST_F()
226 FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); in TEST_F()
/external/llvm/include/llvm/Passes/
DPassBuilder.h131 FunctionAnalysisManager &FAM,
157 void registerFunctionAnalyses(FunctionAnalysisManager &FAM);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DIRMutator.cpp74 FunctionAnalysisManager FAM; in eliminateDeadCode() local
75 FAM.registerPass([&] { return TargetLibraryAnalysis(); }); in eliminateDeadCode()
76 FPM.run(F, FAM); in eliminateDeadCode()

1234