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

Method structurally_dominates

source/val/basic_block.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool BasicBlock::structurally_dominates(const BasicBlock& other) const {
87 return (this == &other) || !(other.structural_dom_end() ==
88 std::find(other.structural_dom_begin(),
89 other.structural_dom_end(), this));
90}
91
92bool BasicBlock::structurally_postdominates(const BasicBlock& other) const {
93 return (this == &other) || !(other.structural_pdom_end() ==

Callers 5

FindCaseFallThroughFunction · 0.80
StructuredSwitchChecksFunction · 0.80
blocksMethod · 0.80
IsStructuredExitMethod · 0.80

Calls 3

findFunction · 0.85
structural_dom_endMethod · 0.80
structural_dom_beginMethod · 0.80

Tested by

no test coverage detected