Home
last modified time | relevance | path

Searched refs:AnalysisT (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Analysis/
DDOTGraphTraitsPass.h26 template <typename AnalysisT, typename GraphT = AnalysisT *>
28 static GraphT getGraph(AnalysisT *A) { return A; } in getGraph()
32 typename AnalysisT, bool IsSimple, typename GraphT = AnalysisT *,
33 typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT> >
45 virtual bool processFunction(Function &F, AnalysisT &Analysis) { in processFunction()
50 auto &Analysis = getAnalysis<AnalysisT>(); in runOnFunction()
66 AU.addRequired<AnalysisT>(); in getAnalysisUsage()
74 typename AnalysisT, bool IsSimple, typename GraphT = AnalysisT *,
75 typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT> >
87 virtual bool processFunction(Function &F, AnalysisT &Analysis) { in processFunction()
[all …]
DAliasAnalysis.h872 template <typename AnalysisT> void registerFunctionAnalysis() { in registerFunctionAnalysis()
873 ResultGetters.push_back(&getFunctionAAResultImpl<AnalysisT>); in registerFunctionAnalysis()
877 template <typename AnalysisT> void registerModuleAnalysis() { in registerModuleAnalysis()
878 ResultGetters.push_back(&getModuleAAResultImpl<AnalysisT>); in registerModuleAnalysis()
896 template <typename AnalysisT>
900 AAResults.addAAResult(AM.template getResult<AnalysisT>(F)); in getFunctionAAResultImpl()
903 template <typename AnalysisT>
908 if (auto *R = MAM.template getCachedResult<AnalysisT>(*F.getParent())) in getModuleAAResultImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DDOTGraphTraitsPass.h26 template <typename AnalysisT, typename GraphT = AnalysisT *>
28 static GraphT getGraph(AnalysisT *A) { return A; } in getGraph()
32 typename AnalysisT, bool IsSimple, typename GraphT = AnalysisT *,
33 typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT, GraphT> >
45 virtual bool processFunction(Function &F, AnalysisT &Analysis) { in processFunction()
50 auto &Analysis = getAnalysis<AnalysisT>(); in runOnFunction()
66 AU.addRequired<AnalysisT>(); in getAnalysisUsage()
74 typename AnalysisT, bool IsSimple, typename GraphT = AnalysisT *,
75 typename AnalysisGraphTraitsT = DefaultAnalysisGraphTraits<AnalysisT, GraphT> >
87 virtual bool processFunction(Function &F, AnalysisT &Analysis) { in processFunction()
[all …]
DAliasAnalysis.h1014 template <typename AnalysisT> void registerFunctionAnalysis() { in registerFunctionAnalysis()
1015 ResultGetters.push_back(&getFunctionAAResultImpl<AnalysisT>); in registerFunctionAnalysis()
1019 template <typename AnalysisT> void registerModuleAnalysis() { in registerModuleAnalysis()
1020 ResultGetters.push_back(&getModuleAAResultImpl<AnalysisT>); in registerModuleAnalysis()
1039 template <typename AnalysisT>
1043 AAResults.addAAResult(AM.template getResult<AnalysisT>(F)); in getFunctionAAResultImpl()
1044 AAResults.addAADependencyID(AnalysisT::ID()); in getFunctionAAResultImpl()
1047 template <typename AnalysisT>
1052 if (auto *R = MAM.template getCachedResult<AnalysisT>(*F.getParent())) { in getModuleAAResultImpl()
1055 .template registerOuterAnalysisInvalidation<AnalysisT, AAManager>(); in getModuleAAResultImpl()
DCGSCCPassManager.h153 template <typename AnalysisT>
154 struct RequireAnalysisPass<AnalysisT, LazyCallGraph::SCC, CGSCCAnalysisManager,
156 : PassInfoMixin<RequireAnalysisPass<AnalysisT, LazyCallGraph::SCC,
161 (void)AM.template getResult<AnalysisT>(C, CG);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DLoopPassManager.h86 template <typename AnalysisT>
87 struct RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
90 RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
94 (void)AM.template getResult<AnalysisT>(L, AR);
100 template <typename AnalysisT>
102 RequireAnalysisPass<AnalysisT, Loop, LoopAnalysisManager,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPassManager.h174 template <typename AnalysisT> void preserve() { preserve(AnalysisT::ID()); } in preserve()
207 template <typename AnalysisT> void abandon() { abandon(AnalysisT::ID()); } in abandon()
304 template <typename AnalysisT> PreservedAnalysisChecker getChecker() const { in getChecker()
305 return PreservedAnalysisChecker(*this, AnalysisT::ID()); in getChecker()
1243 template <typename AnalysisT, typename IRUnitT,
1247 : PassInfoMixin<RequireAnalysisPass<AnalysisT, IRUnitT, AnalysisManagerT,
1257 (void)AM.template getResult<AnalysisT>(Arg, in run()
1266 template <typename AnalysisT>
1268 : PassInfoMixin<InvalidateAnalysisPass<AnalysisT>> {
1278 PA.abandon<AnalysisT>(); in run()
/external/llvm/include/llvm/IR/
DPassManager.h938 template <typename AnalysisT>
939 struct RequireAnalysisPass : PassInfoMixin<RequireAnalysisPass<AnalysisT>> {
948 (void)AM.template getResult<AnalysisT>(Arg); in run()
959 template <typename AnalysisT>
961 : PassInfoMixin<InvalidateAnalysisPass<AnalysisT>> {
972 AM.template invalidate<AnalysisT>(Arg); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp278 using AnalysisT = typename MockAnalysisHandle<IRUnitT>::Analysis; typedef in __anon36e786b70111::PassBuilderCallbacksTest
295 (void)AM.template getResult<AnalysisT>( in getAnalysisResult()
339 if (parseAnalysisUtilityPasses<AnalysisT>("test-analysis", Name, PM)) in PassBuilderCallbacksTest()
491 if (parseAnalysisUtilityPasses<AnalysisT>("test-analysis", E.Name, PM)) in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassBuilder.h658 template <typename AnalysisT, typename IRUnitT, typename AnalysisManagerT,
670 PM.addPass(InvalidateAnalysisPass<AnalysisT>()); in parseAnalysisUtilityPasses()
679 PM.addPass(RequireAnalysisPass<AnalysisT, IRUnitT, AnalysisManagerT, in parseAnalysisUtilityPasses()