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

Method move_instructions

src/module.cpp:425–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425instruction_ref module::move_instructions(instruction_ref src, instruction_ref dst)
426{
427 for(auto ins : src->inputs())
428 {
429 if(not contains(this->impl->instructions, ins))
430 continue;
431 this->move_instructions(ins, dst);
432 }
433 this->move_instruction(src, dst);
434 return src;
435}
436
437void module::move_output_instructions_after(instruction_ref src, instruction_ref dst)
438{

Callers

nothing calls this directly

Calls 3

move_instructionMethod · 0.95
containsFunction · 0.85
inputsMethod · 0.45

Tested by

no test coverage detected