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

Method emplace

src/module.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76 template <class... Ts>
77 instruction_ref emplace(instruction_ref pos, Ts&&... xs)
78 {
79 changed.notify();
80 // cppcheck-suppress redundantInitialization
81 auto r = instructions.emplace(pos, std::forward<Ts>(xs)...);
82 instruction_set.insert(std::addressof(*r));
83 return r;
84 }
85 instruction_ref insert(instruction_ref pos, const instruction& ins)
86 {
87 changed.notify();

Callers 15

TEST_CASEFunction · 0.80
make_ins_uidsFunction · 0.80
insertMethod · 0.80
generic_evalFunction · 0.80
from_valueMethod · 0.80
create_moduleMethod · 0.80
cse_rangeFunction · 0.80
insert_literalMethod · 0.80
printMethod · 0.80
find_shortage_axesMethod · 0.80
tf_parserMethod · 0.80

Calls 2

notifyMethod · 0.80
insertMethod · 0.45

Tested by 1

TEST_CASEFunction · 0.64