Home
last modified time | relevance | path

Searched refs:PassT (Results 1 – 8 of 8) 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPassManagerInternal.h59 template <typename IRUnitT, typename PassT, typename PreservedAnalysesT,
62 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} in PassModel()
83 StringRef name() override { return PassT::name(); } in name()
85 PassT Pass;
157 template <typename IRUnitT, typename PassT, typename ResultT,
165 template <typename IRUnitT, typename PassT, typename ResultT,
167 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT,
194 auto PAC = PA.template getChecker<PassT>();
204 template <typename IRUnitT, typename PassT, typename ResultT,
206 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT,
[all …]
DPassManager.h485 template <typename PassT> void addPass(PassT Pass) { in addPass()
487 detail::PassModel<IRUnitT, PassT, PreservedAnalyses, AnalysisManagerT, in addPass()
576 template <typename PassT>
579 detail::AnalysisResultModel<IRUnitT, PassT, typename PassT::Result, in invalidate()
582 return invalidateImpl<ResultModelT>(PassT::ID(), IR, PA); in invalidate()
686 template <typename PassT>
687 typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) { in getResult()
688 assert(AnalysisPasses.count(PassT::ID()) && in getResult()
691 getResultImpl(PassT::ID(), IR, ExtraArgs...); in getResult()
694 detail::AnalysisResultModel<IRUnitT, PassT, typename PassT::Result, in getResult()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h80 template <typename PassT, typename... Args>
83 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); in SinglePassRunToBinary()
91 template <typename PassT, typename... Args>
97 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndDisassemble()
124 template <typename PassT, typename... Args>
130 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndCheck()
160 template <typename PassT, typename... Args>
164 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
173 template <typename PassT, typename... Args>
177 auto pass_result = SinglePassRunAndDisassemble<PassT>( in SinglePassRunAndMatch()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_fixture.h80 template <typename PassT, typename... Args>
83 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); in SinglePassRunToBinary()
91 template <typename PassT, typename... Args>
97 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndDisassemble()
124 template <typename PassT, typename... Args>
130 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndCheck()
160 template <typename PassT, typename... Args>
164 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
173 template <typename PassT, typename... Args>
177 auto pass_result = SinglePassRunAndDisassemble<PassT>( in SinglePassRunAndMatch()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLazyBranchProbabilityInfo.h114 template <typename PassT> struct BPIPassTrait {
115 static PassT &getBPI(PassT *P) { return *P; } in getBPI()
DCGSCCPassManager.h681 template <typename PassT>
683 : public PassInfoMixin<DevirtSCCRepeatedPass<PassT>> {
685 explicit DevirtSCCRepeatedPass(PassT Pass, int MaxIterations)
829 PassT Pass;
835 template <typename PassT>
836 DevirtSCCRepeatedPass<PassT> createDevirtSCCRepeatedPass(PassT Pass,
838 return DevirtSCCRepeatedPass<PassT>(std::move(Pass), MaxIterations);