Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/
Dnested_loops_with_unreachables.cpp569 EXPECT_TRUE(analysis->StrictlyDominates(5, 10)); in TEST_F()
570 EXPECT_TRUE(analysis->StrictlyDominates(5, 14)); in TEST_F()
571 EXPECT_TRUE(analysis->StrictlyDominates(5, 11)); in TEST_F()
572 EXPECT_TRUE(analysis->StrictlyDominates(5, 29)); in TEST_F()
573 EXPECT_TRUE(analysis->StrictlyDominates(5, 33)); in TEST_F()
574 EXPECT_TRUE(analysis->StrictlyDominates(5, 30)); in TEST_F()
575 EXPECT_TRUE(analysis->StrictlyDominates(5, 32)); in TEST_F()
576 EXPECT_TRUE(analysis->StrictlyDominates(5, 31)); in TEST_F()
577 EXPECT_TRUE(analysis->StrictlyDominates(5, 13)); in TEST_F()
578 EXPECT_TRUE(analysis->StrictlyDominates(5, 12)); in TEST_F()
[all …]
Dpost.cpp174 EXPECT_FALSE(analysis->StrictlyDominates(19, 19)); in TEST_F()
176 EXPECT_TRUE(analysis->StrictlyDominates(19, 18)); in TEST_F()
177 EXPECT_TRUE(analysis->StrictlyDominates(19, 5)); in TEST_F()
178 EXPECT_TRUE(analysis->StrictlyDominates(19, 53)); in TEST_F()
179 EXPECT_TRUE(analysis->StrictlyDominates(19, 25)); in TEST_F()
180 EXPECT_TRUE(analysis->StrictlyDominates(19, 29)); in TEST_F()
181 EXPECT_TRUE(analysis->StrictlyDominates(19, 27)); in TEST_F()
182 EXPECT_TRUE(analysis->StrictlyDominates(19, 26)); in TEST_F()
183 EXPECT_TRUE(analysis->StrictlyDominates(19, 28)); in TEST_F()
195 EXPECT_FALSE(analysis->StrictlyDominates(5, 18)); in TEST_F()
[all …]
Dunreachable_for.cpp108 EXPECT_TRUE(analysis->StrictlyDominates(5, 10)); in TEST_F()
109 EXPECT_TRUE(analysis->StrictlyDominates(5, 14)); in TEST_F()
110 EXPECT_TRUE(analysis->StrictlyDominates(5, 11)); in TEST_F()
111 EXPECT_TRUE(analysis->StrictlyDominates(5, 12)); in TEST_F()
112 EXPECT_TRUE(analysis->StrictlyDominates(10, 14)); in TEST_F()
113 EXPECT_TRUE(analysis->StrictlyDominates(10, 11)); in TEST_F()
114 EXPECT_TRUE(analysis->StrictlyDominates(10, 12)); in TEST_F()
115 EXPECT_TRUE(analysis->StrictlyDominates(14, 11)); in TEST_F()
116 EXPECT_TRUE(analysis->StrictlyDominates(14, 12)); in TEST_F()
Dnested_ifs.cpp140 EXPECT_TRUE(analysis->StrictlyDominates(5, 8)); in TEST_F()
141 EXPECT_TRUE(analysis->StrictlyDominates(5, 9)); in TEST_F()
142 EXPECT_TRUE(analysis->StrictlyDominates(5, 21)); in TEST_F()
143 EXPECT_TRUE(analysis->StrictlyDominates(8, 18)); in TEST_F()
144 EXPECT_TRUE(analysis->StrictlyDominates(8, 10)); in TEST_F()
145 EXPECT_TRUE(analysis->StrictlyDominates(8, 11)); in TEST_F()
146 EXPECT_TRUE(analysis->StrictlyDominates(21, 23)); in TEST_F()
147 EXPECT_TRUE(analysis->StrictlyDominates(21, 22)); in TEST_F()
148 EXPECT_TRUE(analysis->StrictlyDominates(21, 26)); in TEST_F()
Dnested_ifs_post.cpp143 EXPECT_TRUE(analysis->StrictlyDominates(9, 5)); in TEST_F()
144 EXPECT_TRUE(analysis->StrictlyDominates(9, 11)); in TEST_F()
145 EXPECT_TRUE(analysis->StrictlyDominates(9, 23)); in TEST_F()
146 EXPECT_TRUE(analysis->StrictlyDominates(11, 10)); in TEST_F()
147 EXPECT_TRUE(analysis->StrictlyDominates(11, 18)); in TEST_F()
148 EXPECT_TRUE(analysis->StrictlyDominates(11, 8)); in TEST_F()
149 EXPECT_TRUE(analysis->StrictlyDominates(23, 22)); in TEST_F()
150 EXPECT_TRUE(analysis->StrictlyDominates(23, 26)); in TEST_F()
151 EXPECT_TRUE(analysis->StrictlyDominates(23, 21)); in TEST_F()
Dsimple.cpp165 EXPECT_TRUE(analysis->StrictlyDominates(5, 18)); in TEST_F()
166 EXPECT_TRUE(analysis->StrictlyDominates(5, 53)); in TEST_F()
167 EXPECT_TRUE(analysis->StrictlyDominates(5, 19)); in TEST_F()
168 EXPECT_TRUE(analysis->StrictlyDominates(5, 25)); in TEST_F()
169 EXPECT_TRUE(analysis->StrictlyDominates(5, 29)); in TEST_F()
170 EXPECT_TRUE(analysis->StrictlyDominates(5, 27)); in TEST_F()
171 EXPECT_TRUE(analysis->StrictlyDominates(5, 26)); in TEST_F()
172 EXPECT_TRUE(analysis->StrictlyDominates(5, 28)); in TEST_F()
Dunreachable_for_post.cpp107 EXPECT_TRUE(analysis->StrictlyDominates(12, 14)); in TEST_F()
108 EXPECT_TRUE(analysis->StrictlyDominates(12, 11)); in TEST_F()
109 EXPECT_TRUE(analysis->StrictlyDominates(12, 10)); in TEST_F()
110 EXPECT_TRUE(analysis->StrictlyDominates(12, 5)); in TEST_F()
111 EXPECT_TRUE(analysis->StrictlyDominates(14, 10)); in TEST_F()
112 EXPECT_TRUE(analysis->StrictlyDominates(14, 5)); in TEST_F()
113 EXPECT_TRUE(analysis->StrictlyDominates(10, 5)); in TEST_F()
Dswitch_case_fallthrough.cpp152 EXPECT_TRUE(analysis->StrictlyDominates(5, 17)); in TEST_F()
153 EXPECT_TRUE(analysis->StrictlyDominates(5, 18)); in TEST_F()
154 EXPECT_TRUE(analysis->StrictlyDominates(5, 19)); in TEST_F()
155 EXPECT_TRUE(analysis->StrictlyDominates(5, 20)); in TEST_F()
156 EXPECT_TRUE(analysis->StrictlyDominates(5, 21)); in TEST_F()
157 EXPECT_TRUE(analysis->StrictlyDominates(5, 22)); in TEST_F()
158 EXPECT_TRUE(analysis->StrictlyDominates(5, 23)); in TEST_F()
Dgenerated.cpp52 EXPECT_FALSE(dom_tree.StrictlyDominates(x, x)); in check_dominance()
54 EXPECT_TRUE(dom_tree.StrictlyDominates(x, y)); in check_dominance()
56 EXPECT_FALSE(dom_tree.StrictlyDominates(y, x)); in check_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
70 EXPECT_FALSE(dom_tree.StrictlyDominates(x, y)); in check_no_dominance()
75 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
77 EXPECT_FALSE(dom_tree.StrictlyDominates(y, x)); in check_no_dominance()
163 EXPECT_FALSE(dom_tree.StrictlyDominates(nullptr, entry)); in TEST_F()
164 EXPECT_FALSE(dom_tree.StrictlyDominates(entry, nullptr)); in TEST_F()
165 EXPECT_FALSE(dom_tree.StrictlyDominates(nullptr, nullptr)); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/dominator_tree/
Dnested_loops_with_unreachables.cpp569 EXPECT_TRUE(analysis->StrictlyDominates(5, 10)); in TEST_F()
570 EXPECT_TRUE(analysis->StrictlyDominates(5, 14)); in TEST_F()
571 EXPECT_TRUE(analysis->StrictlyDominates(5, 11)); in TEST_F()
572 EXPECT_TRUE(analysis->StrictlyDominates(5, 29)); in TEST_F()
573 EXPECT_TRUE(analysis->StrictlyDominates(5, 33)); in TEST_F()
574 EXPECT_TRUE(analysis->StrictlyDominates(5, 30)); in TEST_F()
575 EXPECT_TRUE(analysis->StrictlyDominates(5, 32)); in TEST_F()
576 EXPECT_TRUE(analysis->StrictlyDominates(5, 31)); in TEST_F()
577 EXPECT_TRUE(analysis->StrictlyDominates(5, 13)); in TEST_F()
578 EXPECT_TRUE(analysis->StrictlyDominates(5, 12)); in TEST_F()
[all …]
Dpost.cpp174 EXPECT_FALSE(analysis->StrictlyDominates(19, 19)); in TEST_F()
176 EXPECT_TRUE(analysis->StrictlyDominates(19, 18)); in TEST_F()
177 EXPECT_TRUE(analysis->StrictlyDominates(19, 5)); in TEST_F()
178 EXPECT_TRUE(analysis->StrictlyDominates(19, 53)); in TEST_F()
179 EXPECT_TRUE(analysis->StrictlyDominates(19, 25)); in TEST_F()
180 EXPECT_TRUE(analysis->StrictlyDominates(19, 29)); in TEST_F()
181 EXPECT_TRUE(analysis->StrictlyDominates(19, 27)); in TEST_F()
182 EXPECT_TRUE(analysis->StrictlyDominates(19, 26)); in TEST_F()
183 EXPECT_TRUE(analysis->StrictlyDominates(19, 28)); in TEST_F()
195 EXPECT_FALSE(analysis->StrictlyDominates(5, 18)); in TEST_F()
[all …]
Dunreachable_for.cpp108 EXPECT_TRUE(analysis->StrictlyDominates(5, 10)); in TEST_F()
109 EXPECT_TRUE(analysis->StrictlyDominates(5, 14)); in TEST_F()
110 EXPECT_TRUE(analysis->StrictlyDominates(5, 11)); in TEST_F()
111 EXPECT_TRUE(analysis->StrictlyDominates(5, 12)); in TEST_F()
112 EXPECT_TRUE(analysis->StrictlyDominates(10, 14)); in TEST_F()
113 EXPECT_TRUE(analysis->StrictlyDominates(10, 11)); in TEST_F()
114 EXPECT_TRUE(analysis->StrictlyDominates(10, 12)); in TEST_F()
115 EXPECT_TRUE(analysis->StrictlyDominates(14, 11)); in TEST_F()
116 EXPECT_TRUE(analysis->StrictlyDominates(14, 12)); in TEST_F()
Dnested_ifs.cpp140 EXPECT_TRUE(analysis->StrictlyDominates(5, 8)); in TEST_F()
141 EXPECT_TRUE(analysis->StrictlyDominates(5, 9)); in TEST_F()
142 EXPECT_TRUE(analysis->StrictlyDominates(5, 21)); in TEST_F()
143 EXPECT_TRUE(analysis->StrictlyDominates(8, 18)); in TEST_F()
144 EXPECT_TRUE(analysis->StrictlyDominates(8, 10)); in TEST_F()
145 EXPECT_TRUE(analysis->StrictlyDominates(8, 11)); in TEST_F()
146 EXPECT_TRUE(analysis->StrictlyDominates(21, 23)); in TEST_F()
147 EXPECT_TRUE(analysis->StrictlyDominates(21, 22)); in TEST_F()
148 EXPECT_TRUE(analysis->StrictlyDominates(21, 26)); in TEST_F()
Dnested_ifs_post.cpp143 EXPECT_TRUE(analysis->StrictlyDominates(9, 5)); in TEST_F()
144 EXPECT_TRUE(analysis->StrictlyDominates(9, 11)); in TEST_F()
145 EXPECT_TRUE(analysis->StrictlyDominates(9, 23)); in TEST_F()
146 EXPECT_TRUE(analysis->StrictlyDominates(11, 10)); in TEST_F()
147 EXPECT_TRUE(analysis->StrictlyDominates(11, 18)); in TEST_F()
148 EXPECT_TRUE(analysis->StrictlyDominates(11, 8)); in TEST_F()
149 EXPECT_TRUE(analysis->StrictlyDominates(23, 22)); in TEST_F()
150 EXPECT_TRUE(analysis->StrictlyDominates(23, 26)); in TEST_F()
151 EXPECT_TRUE(analysis->StrictlyDominates(23, 21)); in TEST_F()
Dsimple.cpp165 EXPECT_TRUE(analysis->StrictlyDominates(5, 18)); in TEST_F()
166 EXPECT_TRUE(analysis->StrictlyDominates(5, 53)); in TEST_F()
167 EXPECT_TRUE(analysis->StrictlyDominates(5, 19)); in TEST_F()
168 EXPECT_TRUE(analysis->StrictlyDominates(5, 25)); in TEST_F()
169 EXPECT_TRUE(analysis->StrictlyDominates(5, 29)); in TEST_F()
170 EXPECT_TRUE(analysis->StrictlyDominates(5, 27)); in TEST_F()
171 EXPECT_TRUE(analysis->StrictlyDominates(5, 26)); in TEST_F()
172 EXPECT_TRUE(analysis->StrictlyDominates(5, 28)); in TEST_F()
Dswitch_case_fallthrough.cpp152 EXPECT_TRUE(analysis->StrictlyDominates(5, 17)); in TEST_F()
153 EXPECT_TRUE(analysis->StrictlyDominates(5, 18)); in TEST_F()
154 EXPECT_TRUE(analysis->StrictlyDominates(5, 19)); in TEST_F()
155 EXPECT_TRUE(analysis->StrictlyDominates(5, 20)); in TEST_F()
156 EXPECT_TRUE(analysis->StrictlyDominates(5, 21)); in TEST_F()
157 EXPECT_TRUE(analysis->StrictlyDominates(5, 22)); in TEST_F()
158 EXPECT_TRUE(analysis->StrictlyDominates(5, 23)); in TEST_F()
Dunreachable_for_post.cpp107 EXPECT_TRUE(analysis->StrictlyDominates(12, 14)); in TEST_F()
108 EXPECT_TRUE(analysis->StrictlyDominates(12, 11)); in TEST_F()
109 EXPECT_TRUE(analysis->StrictlyDominates(12, 10)); in TEST_F()
110 EXPECT_TRUE(analysis->StrictlyDominates(12, 5)); in TEST_F()
111 EXPECT_TRUE(analysis->StrictlyDominates(14, 10)); in TEST_F()
112 EXPECT_TRUE(analysis->StrictlyDominates(14, 5)); in TEST_F()
113 EXPECT_TRUE(analysis->StrictlyDominates(10, 5)); in TEST_F()
Dgenerated.cpp52 EXPECT_FALSE(dom_tree.StrictlyDominates(x, x)); in check_dominance()
54 EXPECT_TRUE(dom_tree.StrictlyDominates(x, y)); in check_dominance()
56 EXPECT_FALSE(dom_tree.StrictlyDominates(y, x)); in check_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
70 EXPECT_FALSE(dom_tree.StrictlyDominates(x, y)); in check_no_dominance()
75 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
77 EXPECT_FALSE(dom_tree.StrictlyDominates(y, x)); in check_no_dominance()
163 EXPECT_FALSE(dom_tree.StrictlyDominates(nullptr, entry)); in TEST_F()
164 EXPECT_FALSE(dom_tree.StrictlyDominates(entry, nullptr)); in TEST_F()
165 EXPECT_FALSE(dom_tree.StrictlyDominates(nullptr, nullptr)); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddominator_analysis.h52 inline bool StrictlyDominates(const BasicBlock* a, in StrictlyDominates() function
55 return StrictlyDominates(a->id(), b->id()); in StrictlyDominates()
60 inline bool StrictlyDominates(uint32_t a, uint32_t b) const { in StrictlyDominates() function
61 return tree_.StrictlyDominates(a, b); in StrictlyDominates()
Ddominator_tree.cpp220 bool DominatorTree::StrictlyDominates(uint32_t a, uint32_t b) const { in StrictlyDominates() function in spvtools::opt::DominatorTree
225 bool DominatorTree::StrictlyDominates(const BasicBlock* a, in StrictlyDominates() function in spvtools::opt::DominatorTree
227 return DominatorTree::StrictlyDominates(a->id(), b->id()); in StrictlyDominates()
230 bool DominatorTree::StrictlyDominates(const DominatorTreeNode* a, in StrictlyDominates() function in spvtools::opt::DominatorTree
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddominator_analysis.h52 inline bool StrictlyDominates(const BasicBlock* a, in StrictlyDominates() function
55 return StrictlyDominates(a->id(), b->id()); in StrictlyDominates()
60 inline bool StrictlyDominates(uint32_t a, uint32_t b) const { in StrictlyDominates() function
61 return tree_.StrictlyDominates(a, b); in StrictlyDominates()
Ddominator_tree.cpp220 bool DominatorTree::StrictlyDominates(uint32_t a, uint32_t b) const { in StrictlyDominates() function in spvtools::opt::DominatorTree
225 bool DominatorTree::StrictlyDominates(const BasicBlock* a, in StrictlyDominates() function in spvtools::opt::DominatorTree
227 return DominatorTree::StrictlyDominates(a->id(), b->id()); in StrictlyDominates()
230 bool DominatorTree::StrictlyDominates(const DominatorTreeNode* a, in StrictlyDominates() function in spvtools::opt::DominatorTree
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_wrap_regions_in_selections.cpp64 if (GetIRContext()->GetDominatorAnalysis(&function)->StrictlyDominates( in Apply()
68 ->StrictlyDominates(&block, header_block_candidate)) { in Apply()
Dtransformation_wrap_region_in_selection.cpp119 if (!dominator_analysis->StrictlyDominates(header_block_candidate, in IsApplicableToBlockRange()
121 !postdominator_analysis->StrictlyDominates(merge_block_candidate, in IsApplicableToBlockRange()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_wrap_regions_in_selections.cpp64 if (GetIRContext()->GetDominatorAnalysis(&function)->StrictlyDominates( in Apply()
68 ->StrictlyDominates(&block, header_block_candidate)) { in Apply()

12