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

Method replace_argument

src/instruction.cpp:226–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void instruction::replace_argument(instruction_ref ins,
227 instruction_ref old,
228 instruction_ref new_ins)
229{
230 ins->replace_argument(old, new_ins);
231 backreference(ins);
232 ins->recompute_shape();
233}
234
235void instruction::replace_mod_argument(instruction_ref ins, module_ref old, module_ref new_mod)
236{

Callers

nothing calls this directly

Calls 5

equal_toFunction · 0.85
recompute_shapeMethod · 0.80
any_ofFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected