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

Method ContainingConstruct

source/opt/struct_cfg_analysis.cpp:114–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114uint32_t StructuredCFGAnalysis::ContainingConstruct(Instruction* inst) {
115 uint32_t bb = context_->get_instr_block(inst)->id();
116 return ContainingConstruct(bb);
117}
118
119uint32_t StructuredCFGAnalysis::MergeBlock(uint32_t bb_id) {
120 uint32_t header_id = ContainingConstruct(bb_id);

Callers 9

GetHeaderBlockMethod · 0.45
BlockIsInConstructMethod · 0.45
SwitchHasNestedBreakMethod · 0.45
ProcessMethod · 0.45
TEST_FFunction · 0.45

Calls 2

get_instr_blockMethod · 0.80
idMethod · 0.45

Tested by 1

TEST_FFunction · 0.36