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

Method remove

src/memory_coloring.cpp:103–110  ·  view source on GitHub ↗

Remove segment for an instruction

Source from the content-addressed store, hash-verified

101
102 // Remove segment for an instruction
103 void remove(instruction_ref ins)
104 {
105 auto it = ins2segment.find(ins);
106 if(it != ins2segment.end())
107 {
108 ins2segment.erase(it);
109 }
110 }
111
112 std::size_t max()
113 {

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected