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

Method replace_mod_argument

src/instruction.cpp:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void instruction::replace_mod_argument(instruction_ref ins, module_ref old, module_ref new_mod)
236{
237 ins->replace_mod_argument(old, new_mod);
238 backreference(ins);
239 ins->recompute_shape();
240}
241
242void instruction::replace(instruction_ref ins,
243 operation o,

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected