Home
last modified time | relevance | path

Searched refs:PassT (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/IR/
DPassManagerInternal.h54 template <typename IRUnitT, typename PassT,
57 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} in PassModel()
74 StringRef name() override { return PassT::name(); } in name()
75 PassT Pass;
122 template <typename IRUnitT, typename PassT, typename ResultT,
130 template <typename IRUnitT, typename PassT, typename ResultT,
132 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT, false>
155 return !PA.preserved(PassT::ID());
163 template <typename IRUnitT, typename PassT, typename ResultT,
165 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT, true>
[all …]
DPassManager.h95 template <typename PassT> void preserve() { preserve(PassT::ID()); } in preserve()
136 template <typename PassT> bool preserved() const { in preserved()
137 return preserved(PassT::ID()); in preserved()
280 template <typename PassT> void addPass(PassT Pass) { in addPass()
281 typedef detail::PassModel<IRUnitT, PassT> PassModelT; in addPass()
355 template <typename PassT> typename PassT::Result &getResult(IRUnitT &IR) { in getResult()
356 assert(AnalysisPasses.count(PassT::ID()) && in getResult()
360 derived_this()->getResultImpl(PassT::ID(), IR); in getResult()
361 typedef detail::AnalysisResultModel<IRUnitT, PassT, typename PassT::Result> in getResult()
371 template <typename PassT>
[all …]