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

Method ForEachSuccessorLabel

source/opt/basic_block.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void BasicBlock::ForEachSuccessorLabel(
114 const std::function<void(const uint32_t)>& f) const {
115 WhileEachSuccessorLabel([f](const uint32_t l) {
116 f(l);
117 return true;
118 });
119}
120
121bool BasicBlock::WhileEachSuccessorLabel(
122 const std::function<bool(const uint32_t)>& f) const {

Callers 15

CheckCFGMethod · 0.80
RemoveSuccessorEdgesMethod · 0.80
AddEdgesMethod · 0.80
SplitLoopHeaderMethod · 0.80
FindNewBasicBlockForMethod · 0.80
IntersectsPathMethod · 0.80

Calls 4

backMethod · 0.80
SetOperandMethod · 0.80
ForEachInIdMethod · 0.80
opcodeMethod · 0.45

Tested by

no test coverage detected