Home
last modified time | relevance | path

Searched refs:spilled_constants_ (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h159 spilled_constants_(allocator->Adapter()), in Graph()
556 ASSERT(static_cast<size_t>(slot) < spilled_constants_.size()); in GetSpilledConstant()
557 return spilled_constants_[slot]; in GetSpilledConstant()
565 ASSERT(spilled_constants_[current_slot] == const_inst); in AddSpilledConstant()
569 auto count = spilled_constants_.size(); in AddSpilledConstant()
573 spilled_constants_.push_back(const_inst); in AddSpilledConstant()
580 auto slot = std::find(spilled_constants_.begin(), spilled_constants_.end(), const_inst); in FindSpilledConstantSlot()
581 if (slot == spilled_constants_.end()) { in FindSpilledConstantSlot()
584 return std::distance(spilled_constants_.begin(), slot); in FindSpilledConstantSlot()
589 return spilled_constants_.size(); in GetSpilledConstantsCount()
[all …]