Home
last modified time | relevance | path

Searched refs:AddPass (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp48 manager.AddPass<StripDebugInfoPass>(); in TEST()
52 manager.AddPass(MakeUnique<NullPass>()); in TEST()
57 manager.AddPass<StripDebugInfoPass>(); in TEST()
63 manager.AddPass<NullPassWithArgs>(1u); in TEST()
64 manager.AddPass<NullPassWithArgs>("null pass args"); in TEST()
65 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}); in TEST()
66 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}, 3); in TEST()
121 AddPass<AppendOpNopPass>(); in TEST_F()
122 AddPass<AppendOpNopPass>(); in TEST_F()
126 AddPass<AppendOpNopPass>(); in TEST_F()
[all …]
Dinline_test.cpp2799 AddPass<MergeReturnPass>(); in TEST_F()
2800 AddPass<InlineExhaustivePass>(); in TEST_F()
2899 AddPass<MergeReturnPass>(); in TEST_F()
2900 AddPass<InlineExhaustivePass>(); in TEST_F()
3062 AddPass<MergeReturnPass>(); in TEST_F()
3063 AddPass<InlineExhaustivePass>(); in TEST_F()
3190 AddPass<MergeReturnPass>(); in TEST_F()
3191 AddPass<InlineExhaustivePass>(); in TEST_F()
Dpass_fixture.h222 void AddPass(Args&&... args) { in AddPass() function
223 manager_->AddPass<PassT>(std::forward<Args>(args)...); in AddPass()
Dpass_remove_duplicates_test.cpp72 manager.AddPass<RemoveDuplicatesPass>(); in RunPass()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp48 manager.AddPass<StripDebugInfoPass>(); in TEST()
52 manager.AddPass(MakeUnique<NullPass>()); in TEST()
57 manager.AddPass<StripDebugInfoPass>(); in TEST()
63 manager.AddPass<NullPassWithArgs>(1u); in TEST()
64 manager.AddPass<NullPassWithArgs>("null pass args"); in TEST()
65 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}); in TEST()
66 manager.AddPass<NullPassWithArgs>(std::initializer_list<int>{1, 2}, 3); in TEST()
121 AddPass<AppendOpNopPass>(); in TEST_F()
122 AddPass<AppendOpNopPass>(); in TEST_F()
126 AddPass<AppendOpNopPass>(); in TEST_F()
[all …]
Dinline_test.cpp2799 AddPass<MergeReturnPass>(); in TEST_F()
2800 AddPass<InlineExhaustivePass>(); in TEST_F()
2899 AddPass<MergeReturnPass>(); in TEST_F()
2900 AddPass<InlineExhaustivePass>(); in TEST_F()
3062 AddPass<MergeReturnPass>(); in TEST_F()
3063 AddPass<InlineExhaustivePass>(); in TEST_F()
3190 AddPass<MergeReturnPass>(); in TEST_F()
3191 AddPass<InlineExhaustivePass>(); in TEST_F()
Dpass_fixture.h222 void AddPass(Args&&... args) { in AddPass() function
223 manager_->AddPass<PassT>(std::forward<Args>(args)...); in AddPass()
Dpass_remove_duplicates_test.cpp72 manager.AddPass<RemoveDuplicatesPass>(); in RunPass()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc157 pipeline.AddPass<AllGatherDecomposer>( in OptimizeHloModule()
161 pipeline.AddPass<AllToAllDecomposer>(); in OptimizeHloModule()
163 pipeline.AddPass<OperandUpcaster>(); in OptimizeHloModule()
166 pipeline.AddPass<RngExpander>(); in OptimizeHloModule()
167 pipeline.AddPass<RngBitGeneratorExpander>(RandomAlgorithm::RNG_PHILOX); in OptimizeHloModule()
170 pipeline.AddPass<ComparisonExpander>(); in OptimizeHloModule()
174 pipeline.AddPass<ZeroSizedHloElimination>(); in OptimizeHloModule()
176 pipeline.AddPass<GpuScatterExpander>(); in OptimizeHloModule()
178 pipeline.AddPass<QrExpander>(); in OptimizeHloModule()
180 pipeline.AddPass<DynamicIndexSplitter>(); in OptimizeHloModule()
[all …]
Dnvptx_compiler.cc116 pipeline.AddPass<CusolverRewriter>(); in OptimizeHloConvolutionCanonicalization()
117 pipeline.AddPass<GpuConvRewriter>(); in OptimizeHloConvolutionCanonicalization()
118 pipeline.AddPass<CudnnFusedConvRewriter>(); in OptimizeHloConvolutionCanonicalization()
119 pipeline.AddPass<GpuConvPaddingLegalization>(); in OptimizeHloConvolutionCanonicalization()
120 pipeline.AddPass<CudnnPadForConvolutions>(IsVoltaOrLater(*stream_exec)); in OptimizeHloConvolutionCanonicalization()
124 pipeline.AddPass<TupleSimplifier>(); in OptimizeHloConvolutionCanonicalization()
130 auto& pass = pipeline.AddPass<HloPassFix<HloPassPipeline>>( in OptimizeHloConvolutionCanonicalization()
148 pass.AddPass<AlgebraicSimplifier>(options); in OptimizeHloConvolutionCanonicalization()
154 pipeline.AddPass<HloConstantFolding>(); in OptimizeHloConvolutionCanonicalization()
168 pre_pipeline.AddPass<CublasGemmPadForTensorCores>(); in OptimizeHloPostLayoutAssignment()
[all …]
Damdgpu_compiler.cc82 pipeline.AddPass<GpuConvRewriter>(); in OptimizeHloConvolutionCanonicalization()
83 pipeline.AddPass<GpuConvPaddingLegalization>(); in OptimizeHloConvolutionCanonicalization()
85 pipeline.AddPass<HloConstantFolding>(); in OptimizeHloConvolutionCanonicalization()
Dhorizontal_loop_fusion_test.cc190 fusion.AddPass<xla::gpu::GpuInstructionFusion>(/*may_duplicate=*/false); in TEST_F()
191 fusion.AddPass<xla::gpu::GpuInstructionFusion>(/*may_duplicate=*/true); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.cc290 pipeline.AddPass<OperandUpcaster>(); in RunHloPassesThroughLayoutAssn()
293 pipeline.AddPass<RngExpander>(); in RunHloPassesThroughLayoutAssn()
294 pipeline.AddPass<RngBitGeneratorExpander>(RandomAlgorithm::RNG_PHILOX); in RunHloPassesThroughLayoutAssn()
298 pipeline.AddPass<ZeroSizedHloElimination>(); in RunHloPassesThroughLayoutAssn()
300 pipeline.AddPass<DynamicIndexSplitter>(); in RunHloPassesThroughLayoutAssn()
302 pipeline.AddPass<ConditionalToSelect>(); in RunHloPassesThroughLayoutAssn()
303 pipeline.AddPass<MapInliner>(); in RunHloPassesThroughLayoutAssn()
305 pipeline.AddPass<ComparisonExpander>(); in RunHloPassesThroughLayoutAssn()
306 pipeline.AddPass<CholeskyExpander>(); in RunHloPassesThroughLayoutAssn()
307 pipeline.AddPass<QrExpander>(); in RunHloPassesThroughLayoutAssn()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Ddespecializer.cc48 pipeline_.AddPass<HloDescheduler>(); in Despecializer()
49 pipeline_.AddPass<ControlDepRemover>(); in Despecializer()
50 pipeline_.AddPass<Defuser>(); in Despecializer()
51 pipeline_.AddPass<BFloat16MixedPrecisionRemoval>(); in Despecializer()
Dhlo_pass_pipeline_test.cc116 pipeline.AddPass<FooToBarModulePass>(); in TEST_F()
139 pipeline.AddPass<FooToBarModulePass>(); in TEST_F()
170 pipeline.AddPass<BazToQuxModuleGroupPass>(); in TEST_F()
171 pipeline.AddPass<FooToBarModulePass>(); in TEST_F()
215 pipeline.AddPass<FooToBarModulePass>(); in TEST_F()
253 pipeline.AddPass<BazToQuxModuleGroupPass>(); in TEST_F()
269 pipeline.AddPass<BazToQuxModuleGroupPass>(); in TEST_F()
270 pipeline.AddPass<FooToBarModulePass>(); in TEST_F()
Dhlo_pass_pipeline.h55 T& AddPass(Args&&... args) { in AddPass() function
Dconditional_code_motion.cc1287 subpipeline.AddPass<HloCSE>(/*is_layout_sensitive=*/is_layout_sensitive_); in Run()
1288 subpipeline.AddPass<HloDCE>(); in Run()
1508 subpipeline.AddPass<HloDCE>(); in Run()
1509 subpipeline.AddPass<TupleSimplifier>(); in Run()
1510 subpipeline.AddPass<HloDCE>(); in Run()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dcompiler.cc84 pipeline.AddPass<DynamicIndexSplitter>(); in RunHloOptimization()
85 pipeline.AddPass<CholeskyExpander>(); in RunHloOptimization()
86 pipeline.AddPass<QrExpander>(); in RunHloOptimization()
87 pipeline.AddPass<ComparisonExpander>(); in RunHloOptimization()
88 pipeline.AddPass<TriangularSolveExpander>(); in RunHloOptimization()
89 pipeline.AddPass<LayoutAssignment>( in RunHloOptimization()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dpass_manager.h55 void AddPass(std::unique_ptr<Pass> pass);
60 void AddPass(Args&&... args);
132 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass() function
137 inline void PassManager::AddPass(Args&&... args) { in AddPass() function
Doptimizer.cpp86 impl_->pass_manager.AddPass(std::move(p.impl_->pass)); in RegisterPass()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass_manager.h55 void AddPass(std::unique_ptr<Pass> pass);
60 void AddPass(Args&&... args);
132 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass() function
137 inline void PassManager::AddPass(Args&&... args) { in AddPass() function
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dcanonicalize_all_gather_for_cse_test.cc41 pipeline.AddPass<CanonicalizeAllGatherForCSE>(); in RunPass()
47 pipeline.AddPass<CanonicalizeAllGatherForCSE>(); in RunPassOnModule()
Dschedule_aware_all_gather_cse_test.cc38 pipeline.AddPass<ScheduleAwareAllGatherCSE>(distance_threshold, in RunPass()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp731 manager.AddPass<RemoveDuplicatesPass>(); in Link()
758 manager.AddPass<opt::CompactIdsPass>(); in Link()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp731 manager.AddPass<RemoveDuplicatesPass>(); in Link()
758 manager.AddPass<opt::CompactIdsPass>(); in Link()

12