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

Method AddDebugInstructionInHeader

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

Source from the content-addressed store, hash-verified

238}
239
240inline void Function::AddDebugInstructionInHeader(
241 std::unique_ptr<Instruction> p) {
242 debug_insts_in_header_.push_back(std::move(p));
243}
244
245inline void Function::AddBasicBlock(std::unique_ptr<BasicBlock> b) {
246 AddBasicBlock(std::move(b), end());

Callers 2

AddInstructionMethod · 0.80
CloneMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected