MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / backreference

Method backreference

src/instruction.cpp:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void instruction::backreference(instruction_ref ref)
221{
222 for(auto&& arg : ref->inputs())
223 arg->add_output(ref);
224}
225
226void instruction::replace_argument(instruction_ref ins,
227 instruction_ref old,

Callers

nothing calls this directly

Calls 2

add_outputMethod · 0.80
inputsMethod · 0.45

Tested by

no test coverage detected