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

Method AugmentedCFGPredecessorsFunction

source/val/function.cpp:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256Function::GetBlocksFunction Function::AugmentedCFGPredecessorsFunction() const {
257 return [this](const BasicBlock* block) {
258 auto where = augmented_predecessors_map_.find(block);
259 return where == augmented_predecessors_map_.end() ? block->predecessors()
260 : &(*where).second;
261 };
262}
263
264Function::GetBlocksFunction Function::AugmentedStructuralCFGSuccessorsFunction()
265 const {

Callers 1

PerformCfgChecksFunction · 0.80

Calls 2

predecessorsMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected