MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / IsInContinueConstruct

Method IsInContinueConstruct

source/opt/struct_cfg_analysis.cpp:203–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203bool StructuredCFGAnalysis::IsInContinueConstruct(uint32_t bb_id) {
204 while (bb_id != 0) {
205 if (IsInContainingLoopsContinueConstruct(bb_id)) {
206 return true;
207 }
208 bb_id = ContainingLoop(bb_id);
209 }
210 return false;
211}
212
213bool StructuredCFGAnalysis::IsMergeBlock(uint32_t bb_id) {
214 return merge_blocks_.Get(bb_id);

Callers 3

BlockIsSuitableMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64