Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassManager.h417 template <typename PassT, typename IRUnitT, typename AnalysisManagerT,
419 typename PassT::Result
424 return AM.template getResult<PassT>(IR, std::get<Ns>(Args)...); in getAnalysisResultUnpackTuple()
432 template <typename PassT, typename IRUnitT, typename... AnalysisArgTs,
434 typename PassT::Result
438 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult()
549 template <typename PassT> void addPass(PassT Pass) { in addPass()
551 detail::PassModel<IRUnitT, PassT, PreservedAnalyses, AnalysisManagerT, in addPass()
666 template <typename PassT>
669 detail::AnalysisResultModel<IRUnitT, PassT, typename PassT::Result, in invalidate()
[all …]
DPassManagerInternal.h58 template <typename IRUnitT, typename PassT, typename PreservedAnalysesT,
61 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} in PassModel()
82 StringRef name() const override { return PassT::name(); } in name()
84 PassT Pass;
156 template <typename IRUnitT, typename PassT, typename ResultT,
164 template <typename IRUnitT, typename PassT, typename ResultT,
166 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT,
193 auto PAC = PA.template getChecker<PassT>();
203 template <typename IRUnitT, typename PassT, typename ResultT,
205 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT,
[all …]
DPassInstrumentation.h143 template <typename IRUnitT, typename PassT>
144 bool runBeforePass(const PassT &Pass, const IRUnitT &IR) const { in runBeforePass()
157 template <typename IRUnitT, typename PassT>
158 void runAfterPass(const PassT &Pass, const IRUnitT &IR) const { in runAfterPass()
167 template <typename IRUnitT, typename PassT>
168 void runAfterPassInvalidated(const PassT &Pass) const { in runAfterPassInvalidated()
176 template <typename IRUnitT, typename PassT>
177 void runBeforeAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runBeforeAnalysis()
185 template <typename IRUnitT, typename PassT>
186 void runAfterAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runAfterAnalysis()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_fixture.h86 template <typename PassT, typename... Args>
89 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); in SinglePassRunToBinary()
97 template <typename PassT, typename... Args>
103 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndDisassemble()
130 template <typename PassT, typename... Args>
136 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndCheck()
166 template <typename PassT, typename... Args>
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
181 template <typename PassT, typename... Args>
185 auto pass_result = SinglePassRunAndDisassemble<PassT>( in SinglePassRunAndMatch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h86 template <typename PassT, typename... Args>
89 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); in SinglePassRunToBinary()
97 template <typename PassT, typename... Args>
103 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndDisassemble()
130 template <typename PassT, typename... Args>
136 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndCheck()
166 template <typename PassT, typename... Args>
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
181 template <typename PassT, typename... Args>
185 auto pass_result = SinglePassRunAndDisassemble<PassT>( in SinglePassRunAndMatch()
[all …]
/third_party/spirv-tools/test/opt/
Dpass_fixture.h86 template <typename PassT, typename... Args>
89 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...); in SinglePassRunToBinary()
97 template <typename PassT, typename... Args>
103 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndDisassemble()
130 template <typename PassT, typename... Args>
136 std::tie(optimized_bin, status) = SinglePassRunToBinary<PassT>( in SinglePassRunAndCheck()
166 template <typename PassT, typename... Args>
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
181 template <typename PassT, typename... Args>
185 auto pass_result = SinglePassRunAndDisassemble<PassT>( in SinglePassRunAndMatch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLazyBranchProbabilityInfo.h113 template <typename PassT> struct BPIPassTrait {
114 static PassT &getBPI(PassT *P) { return *P; } in getBPI()
DCGSCCPassManager.h552 template <typename PassT>
554 : public PassInfoMixin<DevirtSCCRepeatedPass<PassT>> {
556 explicit DevirtSCCRepeatedPass(PassT Pass, int MaxIterations)
719 PassT Pass;
725 template <typename PassT>
726 DevirtSCCRepeatedPass<PassT> createDevirtSCCRepeatedPass(PassT Pass,
728 return DevirtSCCRepeatedPass<PassT>(std::move(Pass), MaxIterations);