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

Method ForgetBasicBlock

source/opt/loop_descriptor.h:524–526  ·  view source on GitHub ↗

Removes the basic block id |bb_id| from the block to loop mapping.

Source from the content-addressed store, hash-verified

522
523 // Removes the basic block id |bb_id| from the block to loop mapping.
524 inline void ForgetBasicBlock(uint32_t bb_id) {
525 basic_block_to_loop_.erase(bb_id);
526 }
527
528 // Adds the loop |new_loop| and all its nested loops to the descriptor set.
529 // The object takes ownership of all the loops.

Callers 1

FuseMethod · 0.80

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected