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

Method SetHeaderBlock

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

Source from the content-addressed store, hash-verified

73 inline BasicBlock* GetHeaderBlock() { return loop_header_; }
74 inline const BasicBlock* GetHeaderBlock() const { return loop_header_; }
75 inline void SetHeaderBlock(BasicBlock* header) { loop_header_ = header; }
76
77 // Updates the OpLoopMerge instruction to reflect the current state of the
78 // loop.

Callers 3

SplitLoopHeaderMethod · 0.80
PopulateLoopDescMethod · 0.80
DuplicateLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected