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

Method dominates

source/val/basic_block.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool BasicBlock::dominates(const BasicBlock& other) const {
81 return (this == &other) ||
82 !(other.dom_end() ==
83 std::find(other.dom_begin(), other.dom_end(), this));
84}
85
86bool BasicBlock::structurally_dominates(const BasicBlock& other) const {
87 return (this == &other) || !(other.structural_dom_end() ==

Callers 1

Calls 3

findFunction · 0.85
dom_endMethod · 0.80
dom_beginMethod · 0.80

Tested by

no test coverage detected