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

Method control_mask

source/opt/function.h:118–118  ·  view source on GitHub ↗

Returns the function's control mask

Source from the content-addressed store, hash-verified

116
117 // Returns the function's control mask
118 inline uint32_t control_mask() const { return def_inst_->GetSingleWordInOperand(0); }
119
120 // Returns the entry basic block for this function.
121 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); }

Callers 1

IsInlinableFunctionMethod · 0.80

Calls 1

Tested by

no test coverage detected