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

Method add_segment

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

Source from the content-addressed store, hash-verified

90 std::unordered_map<instruction_ref, segment> ins2segment;
91
92 const segment* add_segment(instruction_ref ins, segment s) { return &(ins2segment[ins] = s); }
93
94 const segment* get_segment(instruction_ref ins) const
95 {

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected