Home
last modified time | relevance | path

Searched refs:IRUnitT (Results 1 – 9 of 9) sorted by relevance

/external/llvm/include/llvm/IR/
DPassManagerInternal.h26 template <typename IRUnitT> class AnalysisManager;
34 template <typename IRUnitT> struct PassConcept {
43 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) = 0;
54 template <typename IRUnitT, typename PassT,
56 struct PassModel : PassConcept<IRUnitT> {
71 PreservedAnalysesT run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) override { in run()
82 template <typename IRUnitT> struct AnalysisResultConcept {
95 virtual bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA) = 0;
100 template <typename IRUnitT, typename ResultT> class ResultHasInvalidateMethod {
106 template <typename T, bool (T::*)(IRUnitT &, const PreservedAnalyses &)>
[all …]
DPassManager.h174 template <typename IRUnitT> class AnalysisManager;
225 template <typename IRUnitT>
226 class PassManager : public PassInfoMixin<PassManager<IRUnitT>> {
244 PreservedAnalyses run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) { in run()
248 dbgs() << "Starting " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run()
275 dbgs() << "Finished " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run()
281 typedef detail::PassModel<IRUnitT, PassT> PassModelT; in addPass()
286 typedef detail::PassConcept<IRUnitT> PassConceptT;
324 template <typename DerivedT, typename IRUnitT> class AnalysisManagerBase {
334 typedef detail::AnalysisResultConcept<IRUnitT> ResultConceptT;
[all …]
DIRPrintingPasses.h33 template <typename IRUnitT> class AnalysisManager;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPassManagerInternal.h28 template <typename IRUnitT> class AllAnalysesOn;
29 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager;
37 template <typename IRUnitT, typename AnalysisManagerT, typename... ExtraArgTs>
47 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM,
59 template <typename IRUnitT, typename PassT, typename PreservedAnalysesT,
61 struct PassModel : PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...> {
78 PreservedAnalysesT run(IRUnitT &IR, AnalysisManagerT &AM, in run()
92 template <typename IRUnitT, typename PreservedAnalysesT, typename InvalidatorT>
111 virtual bool invalidate(IRUnitT &IR, const PreservedAnalysesT &PA,
117 template <typename IRUnitT, typename ResultT> class ResultHasInvalidateMethod {
[all …]
DPassManager.h91 template <typename IRUnitT> class AllAnalysesOn {
99 template <typename IRUnitT> AnalysisSetKey AllAnalysesOn<IRUnitT>::SetKey;
359 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager;
417 template <typename IRUnitT,
418 typename AnalysisManagerT = AnalysisManager<IRUnitT>,
421 PassManager<IRUnitT, AnalysisManagerT, ExtraArgTs...>> {
444 PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, in run()
449 dbgs() << "Starting " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run()
477 PA.preserveSet<AllAnalysesOn<IRUnitT>>(); in run()
480 dbgs() << "Finished " << getTypeName<IRUnitT>() << " pass manager run.\n"; in run()
[all …]
DIRPrintingPasses.h34 template <typename IRUnitT, typename... ExtraArgTs> class AnalysisManager;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp48 template <typename DerivedT, typename IRUnitT,
49 typename AnalysisManagerT = AnalysisManager<IRUnitT>,
75 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, in invalidate()
81 Result run(IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs) { in run()
94 static bool invalidateCallback(IRUnitT &IR, const PreservedAnalyses &PA, in invalidateCallback()
98 !PAC.template preservedSet<AllAnalysesOn<IRUnitT>>(); in invalidateCallback()
119 template <typename DerivedT, typename IRUnitT, typename AnalysisManagerT,
121 AnalysisKey MockAnalysisHandleBase<DerivedT, IRUnitT, AnalysisManagerT,
124 template <typename DerivedT, typename IRUnitT,
125 typename AnalysisManagerT = AnalysisManager<IRUnitT>,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Passes/
DPassBuilder.h658 template <typename AnalysisT, typename IRUnitT, typename AnalysisManagerT,
662 PassManager<IRUnitT, AnalysisManagerT, ExtraArgTs...> &PM) { in parseAnalysisUtilityPasses() argument
679 PM.addPass(RequireAnalysisPass<AnalysisT, IRUnitT, AnalysisManagerT, in parseAnalysisUtilityPasses()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp48 template <typename DerivedT, typename IRUnitT,
49 typename AnalysisManagerT = AnalysisManager<IRUnitT>,
75 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, in invalidate()
81 Result run(IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs) { in run()
94 static bool invalidateCallback(IRUnitT &IR, const PreservedAnalyses &PA, in invalidateCallback()
98 !PAC.template preservedSet<AllAnalysesOn<IRUnitT>>(); in invalidateCallback()
113 template <typename DerivedT, typename IRUnitT, typename AnalysisManagerT,
115 AnalysisKey MockAnalysisHandleBase<DerivedT, IRUnitT, AnalysisManagerT,
159 template <typename DerivedT, typename IRUnitT,
160 typename AnalysisManagerT = AnalysisManager<IRUnitT>,
[all …]