Searched refs:RegContent (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | reg_encoder.h | 72 struct RegContent { struct 76 RegContent() : reg(compiler::INVALID_REG), type(compiler::DataType::NO_TYPE) {} in RegContent() function 77 RegContent(compiler::Register r, compiler::DataType::Type t) : reg(r), type(t) {} in RegContent() function 79 bool operator==(const RegContent &other) const in operator ==() 84 bool operator!=(const RegContent &other) const in operator !=() 89 using RegContentMap = ArenaUnorderedMap<compiler::Register, RegContent>; 90 using RegContentVec = ArenaVector<std::pair<compiler::Register, RegContent>>;
|
H A D | reg_encoder.cpp | 370 auto res = spill_map.emplace(src_reg, RegContent(temp, type)); in InsertSpillsForDynInputsInst() 377 const RegContent ®_cont = res.first->second; in InsertSpillsForDynInputsInst() 381 spill_vec.emplace_back(src_reg, RegContent(temp, type)); in InsertSpillsForDynInputsInst() 405 auto res = spill_map.emplace(reg, RegContent(temp, GetRegType(inst->GetInputType(i)))); in InsertSpillsForInst() 412 const RegContent ®_cont = res.first->second; in InsertSpillsForInst()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | reg_encoder.h | 72 struct RegContent { struct 78 RegContent() : reg(compiler::INVALID_REG), type(compiler::DataType::NO_TYPE) {} in RegContent() function 79 RegContent(compiler::Register r, compiler::DataType::Type t) : reg(r), type(t) {} in RegContent() function 81 bool operator==(const RegContent &other) const in operator ==() 86 bool operator!=(const RegContent &other) const in operator !=() 91 using RegContentMap = ArenaUnorderedMap<compiler::Register, RegContent>; 92 using RegContentVec = ArenaVector<std::pair<compiler::Register, RegContent>>;
|
H A D | reg_encoder.cpp | 387 static void AddMoveAfter(Inst *inst, compiler::Register src, RegContent dst) in AddMoveAfter() 424 auto res = spillMap.emplace(srcReg, RegContent(temp, type)); in InsertSpillsForDynInputsInst() 431 const RegContent ®Cont = res.first->second; in InsertSpillsForDynInputsInst() 435 spillVec.emplace_back(srcReg, RegContent(temp, type)); in InsertSpillsForDynInputsInst() 451 AddMoveAfter(inst, temp, RegContent(reg, GetRegType(inst->GetType()))); in InsertSpillsForDynInputsInst() 518 auto res = spillMap.emplace(reg, RegContent(temp, GetRegType(inst->GetInputType(i)))); in InsertSpillsForInst() 525 const RegContent ®Cont = res.first->second; in InsertSpillsForInst() 536 AddMoveAfter(inst, temp, RegContent(reg, GetRegType(inst->GetType()))); in InsertSpillsForInst()
|
Completed in 6 milliseconds