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

Method add_output

src/instruction.cpp:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212bool operator!=(instruction_ref ref, const instruction& i) { return not(i == ref); }
213
214void instruction::add_output(instruction_ref ins)
215{
216 if(std::find_if(output.begin(), output.end(), equal_to(ins)) == output.end())
217 output.push_back(ins);
218}
219
220void instruction::backreference(instruction_ref ref)
221{

Callers 2

backreferenceMethod · 0.80
rename_parameterMethod · 0.80

Calls 5

equal_toFunction · 0.85
find_ifFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected