Home
last modified time | relevance | path

Searched refs:analysis (Results 1 – 25 of 966) sorted by relevance

12345678910>>...39

/third_party/skia/third_party/externals/spirv-tools/test/opt/dominator_tree/
Dnested_loops_with_unreachables.cpp291 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
293 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
294 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
295 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
296 EXPECT_TRUE(analysis->Dominates(5, 29)); in TEST_F()
297 EXPECT_TRUE(analysis->Dominates(5, 33)); in TEST_F()
298 EXPECT_TRUE(analysis->Dominates(5, 30)); in TEST_F()
299 EXPECT_TRUE(analysis->Dominates(5, 32)); in TEST_F()
300 EXPECT_TRUE(analysis->Dominates(5, 31)); in TEST_F()
301 EXPECT_TRUE(analysis->Dominates(5, 13)); in TEST_F()
[all …]
Dnested_loops.cpp361 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
363 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
364 EXPECT_TRUE(analysis->Dominates(5, 46)); in TEST_F()
365 EXPECT_TRUE(analysis->Dominates(5, 82)); in TEST_F()
366 EXPECT_TRUE(analysis->Dominates(5, 114)); in TEST_F()
367 EXPECT_TRUE(analysis->Dominates(5, 116)); in TEST_F()
369 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
370 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
371 EXPECT_TRUE(analysis->Dominates(10, 29)); in TEST_F()
372 EXPECT_TRUE(analysis->Dominates(10, 33)); in TEST_F()
[all …]
Dpost.cpp151 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
153 EXPECT_TRUE(analysis->Dominates(19, 18)); in TEST_F()
154 EXPECT_TRUE(analysis->Dominates(19, 5)); in TEST_F()
155 EXPECT_TRUE(analysis->Dominates(19, 53)); in TEST_F()
156 EXPECT_TRUE(analysis->Dominates(19, 19)); in TEST_F()
157 EXPECT_TRUE(analysis->Dominates(19, 25)); in TEST_F()
158 EXPECT_TRUE(analysis->Dominates(19, 29)); in TEST_F()
159 EXPECT_TRUE(analysis->Dominates(19, 27)); in TEST_F()
160 EXPECT_TRUE(analysis->Dominates(19, 26)); in TEST_F()
161 EXPECT_TRUE(analysis->Dominates(19, 28)); in TEST_F()
[all …]
Dnested_ifs_post.cpp121 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
123 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
124 EXPECT_TRUE(analysis->Dominates(8, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(9, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(11, 11)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(18, 18)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(21, 21)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(22, 22)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(23, 23)); in TEST_F()
[all …]
Dnested_ifs.cpp122 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
124 EXPECT_TRUE(analysis->Dominates(5, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(5, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(5, 21)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(5, 18)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(5, 23)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(5, 22)); in TEST_F()
132 EXPECT_TRUE(analysis->Dominates(5, 26)); in TEST_F()
[all …]
Dunreachable_for.cpp92 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
93 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
94 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
95 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
96 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
97 EXPECT_TRUE(analysis->Dominates(5, 12)); in TEST_F()
98 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
99 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
100 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
101 EXPECT_TRUE(analysis->Dominates(10, 12)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/
Dnested_loops_with_unreachables.cpp291 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
293 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
294 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
295 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
296 EXPECT_TRUE(analysis->Dominates(5, 29)); in TEST_F()
297 EXPECT_TRUE(analysis->Dominates(5, 33)); in TEST_F()
298 EXPECT_TRUE(analysis->Dominates(5, 30)); in TEST_F()
299 EXPECT_TRUE(analysis->Dominates(5, 32)); in TEST_F()
300 EXPECT_TRUE(analysis->Dominates(5, 31)); in TEST_F()
301 EXPECT_TRUE(analysis->Dominates(5, 13)); in TEST_F()
[all …]
Dnested_loops.cpp361 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
363 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
364 EXPECT_TRUE(analysis->Dominates(5, 46)); in TEST_F()
365 EXPECT_TRUE(analysis->Dominates(5, 82)); in TEST_F()
366 EXPECT_TRUE(analysis->Dominates(5, 114)); in TEST_F()
367 EXPECT_TRUE(analysis->Dominates(5, 116)); in TEST_F()
369 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
370 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
371 EXPECT_TRUE(analysis->Dominates(10, 29)); in TEST_F()
372 EXPECT_TRUE(analysis->Dominates(10, 33)); in TEST_F()
[all …]
Dpost.cpp151 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
153 EXPECT_TRUE(analysis->Dominates(19, 18)); in TEST_F()
154 EXPECT_TRUE(analysis->Dominates(19, 5)); in TEST_F()
155 EXPECT_TRUE(analysis->Dominates(19, 53)); in TEST_F()
156 EXPECT_TRUE(analysis->Dominates(19, 19)); in TEST_F()
157 EXPECT_TRUE(analysis->Dominates(19, 25)); in TEST_F()
158 EXPECT_TRUE(analysis->Dominates(19, 29)); in TEST_F()
159 EXPECT_TRUE(analysis->Dominates(19, 27)); in TEST_F()
160 EXPECT_TRUE(analysis->Dominates(19, 26)); in TEST_F()
161 EXPECT_TRUE(analysis->Dominates(19, 28)); in TEST_F()
[all …]
Dnested_ifs_post.cpp121 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
123 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
124 EXPECT_TRUE(analysis->Dominates(8, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(9, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(11, 11)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(18, 18)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(21, 21)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(22, 22)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(23, 23)); in TEST_F()
[all …]
Dnested_ifs.cpp122 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
124 EXPECT_TRUE(analysis->Dominates(5, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(5, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(5, 21)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(5, 18)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(5, 23)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(5, 22)); in TEST_F()
132 EXPECT_TRUE(analysis->Dominates(5, 26)); in TEST_F()
[all …]
Dunreachable_for.cpp92 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
93 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
94 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
95 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
96 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
97 EXPECT_TRUE(analysis->Dominates(5, 12)); in TEST_F()
98 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
99 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
100 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
101 EXPECT_TRUE(analysis->Dominates(10, 12)); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/dominator_tree/
Dnested_loops_with_unreachables.cpp291 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
293 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
294 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
295 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
296 EXPECT_TRUE(analysis->Dominates(5, 29)); in TEST_F()
297 EXPECT_TRUE(analysis->Dominates(5, 33)); in TEST_F()
298 EXPECT_TRUE(analysis->Dominates(5, 30)); in TEST_F()
299 EXPECT_TRUE(analysis->Dominates(5, 32)); in TEST_F()
300 EXPECT_TRUE(analysis->Dominates(5, 31)); in TEST_F()
301 EXPECT_TRUE(analysis->Dominates(5, 13)); in TEST_F()
[all …]
Dnested_loops.cpp361 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
363 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
364 EXPECT_TRUE(analysis->Dominates(5, 46)); in TEST_F()
365 EXPECT_TRUE(analysis->Dominates(5, 82)); in TEST_F()
366 EXPECT_TRUE(analysis->Dominates(5, 114)); in TEST_F()
367 EXPECT_TRUE(analysis->Dominates(5, 116)); in TEST_F()
369 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
370 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
371 EXPECT_TRUE(analysis->Dominates(10, 29)); in TEST_F()
372 EXPECT_TRUE(analysis->Dominates(10, 33)); in TEST_F()
[all …]
Dpost.cpp151 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
153 EXPECT_TRUE(analysis->Dominates(19, 18)); in TEST_F()
154 EXPECT_TRUE(analysis->Dominates(19, 5)); in TEST_F()
155 EXPECT_TRUE(analysis->Dominates(19, 53)); in TEST_F()
156 EXPECT_TRUE(analysis->Dominates(19, 19)); in TEST_F()
157 EXPECT_TRUE(analysis->Dominates(19, 25)); in TEST_F()
158 EXPECT_TRUE(analysis->Dominates(19, 29)); in TEST_F()
159 EXPECT_TRUE(analysis->Dominates(19, 27)); in TEST_F()
160 EXPECT_TRUE(analysis->Dominates(19, 26)); in TEST_F()
161 EXPECT_TRUE(analysis->Dominates(19, 28)); in TEST_F()
[all …]
Dnested_ifs_post.cpp121 PostDominatorAnalysis* analysis = context->GetPostDominatorAnalysis(f); in TEST_F() local
123 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
124 EXPECT_TRUE(analysis->Dominates(8, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(9, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(11, 11)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(18, 18)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(21, 21)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(22, 22)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(23, 23)); in TEST_F()
[all …]
Dnested_ifs.cpp122 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
124 EXPECT_TRUE(analysis->Dominates(5, 8)); in TEST_F()
125 EXPECT_TRUE(analysis->Dominates(5, 9)); in TEST_F()
126 EXPECT_TRUE(analysis->Dominates(5, 21)); in TEST_F()
127 EXPECT_TRUE(analysis->Dominates(5, 18)); in TEST_F()
128 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
129 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
130 EXPECT_TRUE(analysis->Dominates(5, 23)); in TEST_F()
131 EXPECT_TRUE(analysis->Dominates(5, 22)); in TEST_F()
132 EXPECT_TRUE(analysis->Dominates(5, 26)); in TEST_F()
[all …]
Dunreachable_for.cpp92 DominatorAnalysis* analysis = context->GetDominatorAnalysis(f); in TEST_F() local
93 EXPECT_TRUE(analysis->Dominates(5, 5)); in TEST_F()
94 EXPECT_TRUE(analysis->Dominates(5, 10)); in TEST_F()
95 EXPECT_TRUE(analysis->Dominates(5, 14)); in TEST_F()
96 EXPECT_TRUE(analysis->Dominates(5, 11)); in TEST_F()
97 EXPECT_TRUE(analysis->Dominates(5, 12)); in TEST_F()
98 EXPECT_TRUE(analysis->Dominates(10, 10)); in TEST_F()
99 EXPECT_TRUE(analysis->Dominates(10, 14)); in TEST_F()
100 EXPECT_TRUE(analysis->Dominates(10, 11)); in TEST_F()
101 EXPECT_TRUE(analysis->Dominates(10, 12)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dstruct_cfg_analysis_test.cpp57 StructuredCFGAnalysis analysis(context.get()); in TEST_F() local
60 EXPECT_EQ(analysis.ContainingConstruct(1), 0); in TEST_F()
61 EXPECT_EQ(analysis.ContainingLoop(1), 0); in TEST_F()
62 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F()
63 EXPECT_EQ(analysis.NestingDepth(1), 0); in TEST_F()
64 EXPECT_EQ(analysis.LoopMergeBlock(1), 0); in TEST_F()
65 EXPECT_EQ(analysis.LoopNestingDepth(1), 0); in TEST_F()
66 EXPECT_EQ(analysis.ContainingSwitch(1), 0); in TEST_F()
67 EXPECT_EQ(analysis.SwitchMergeBlock(1), 0); in TEST_F()
68 EXPECT_FALSE(analysis.IsContinueBlock(1)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dstruct_cfg_analysis_test.cpp57 StructuredCFGAnalysis analysis(context.get()); in TEST_F() local
60 EXPECT_EQ(analysis.ContainingConstruct(1), 0); in TEST_F()
61 EXPECT_EQ(analysis.ContainingLoop(1), 0); in TEST_F()
62 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F()
63 EXPECT_EQ(analysis.NestingDepth(1), 0); in TEST_F()
64 EXPECT_EQ(analysis.LoopMergeBlock(1), 0); in TEST_F()
65 EXPECT_EQ(analysis.LoopNestingDepth(1), 0); in TEST_F()
66 EXPECT_EQ(analysis.ContainingSwitch(1), 0); in TEST_F()
67 EXPECT_EQ(analysis.SwitchMergeBlock(1), 0); in TEST_F()
68 EXPECT_FALSE(analysis.IsContinueBlock(1)); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/
Dstruct_cfg_analysis_test.cpp57 StructuredCFGAnalysis analysis(context.get()); in TEST_F() local
60 EXPECT_EQ(analysis.ContainingConstruct(1), 0); in TEST_F()
61 EXPECT_EQ(analysis.ContainingLoop(1), 0); in TEST_F()
62 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F()
63 EXPECT_EQ(analysis.NestingDepth(1), 0); in TEST_F()
64 EXPECT_EQ(analysis.LoopMergeBlock(1), 0); in TEST_F()
65 EXPECT_EQ(analysis.LoopNestingDepth(1), 0); in TEST_F()
66 EXPECT_EQ(analysis.ContainingSwitch(1), 0); in TEST_F()
67 EXPECT_EQ(analysis.SwitchMergeBlock(1), 0); in TEST_F()
68 EXPECT_FALSE(analysis.IsContinueBlock(1)); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp170 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
182 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
183 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(38), in TEST()
197 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
209 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
210 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(58), in TEST()
743 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
746 analysis.GetLowerBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
749 analysis.GetUpperBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
753 analysis.GetTripCount(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp170 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
182 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
183 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(38), in TEST()
197 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
209 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
210 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(58), in TEST()
743 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
746 analysis.GetLowerBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
749 analysis.GetUpperBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
753 analysis.GetTripCount(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis_helpers.cpp170 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
182 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
183 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(38), in TEST()
197 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
209 EXPECT_FALSE(analysis.IsSupportedLoop(loops[0])); in TEST()
210 EXPECT_FALSE(analysis.GetDependence(context->get_def_use_mgr()->GetDef(58), in TEST()
743 LoopDependenceAnalysis analysis{context.get(), loops}; in TEST() local
746 analysis.GetLowerBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
749 analysis.GetUpperBound(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
753 analysis.GetTripCount(loop)->AsSEConstantNode()->FoldToSingleValue(), in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp27 const analysis::Constant* GetNan(const analysis::Type* type, in GetNan()
28 analysis::ConstantManager* const_mgr) { in GetNan()
29 const analysis::Float* float_type = type->AsFloat(); in GetNan()
47 const analysis::Constant* GetInf(const analysis::Type* type, in GetInf()
48 analysis::ConstantManager* const_mgr) { in GetInf()
49 const analysis::Float* float_type = type->AsFloat(); in GetInf()
65 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint()
68 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint()
77 const analysis::Constant* negateFPConst(const analysis::Type* result_type, in negateFPConst()
78 const analysis::Constant* val, in negateFPConst()
[all …]

12345678910>>...39