Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_stat.cpp22 std::vector<bool> used_regs(INVALID_REG); in RegAllocStat() local
33 used_regs[location.GetValue()] = true; in RegAllocStat()
42 regs_ = static_cast<size_t>(std::count(used_regs.begin(), used_regs.end(), true)); in RegAllocStat()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h448 void InitUsedRegs(const ArenaVector<bool> *used_regs) in InitUsedRegs() argument
450 if (used_regs == nullptr) { in InitUsedRegs()
465 graph_regs->resize(used_regs->size()); in InitUsedRegs()
466 std::copy(used_regs->begin(), used_regs->end(), graph_regs->begin()); in InitUsedRegs()
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dencoder32_test.cpp210 ArenaVector<Reg> used_regs(GetAllocator()->Adapter()); in PreWork() local
212 used_regs.insert(used_regs.end(), saved_regs->begin(), saved_regs->end()); in PreWork()
215 used_regs.emplace_back(Reg(reg_code, INT32_TYPE)); in PreWork()
217 GetRegfile()->SetUsedRegs(used_regs); in PreWork()
1059 ArenaVector<Reg> used_regs(GetAllocator()->Adapter()); in TEST_F() local
1060 used_regs.emplace_back(link_reg); in TEST_F()
1062 PreWork<uint32_t>(&used_regs); in TEST_F()
2624 ArenaVector<Reg> used_regs(test->GetAllocator()->Adapter()); in TestDiv() local
2625 used_regs.emplace_back(link_reg); in TestDiv()
2626 test->PreWork<T>(&used_regs); in TestDiv()
[all …]
/arkcompiler/runtime_core/compiler/tests/aarch64/
Dencoder64_test.cpp2940 ArenaVector<Reg> used_regs(test->GetAllocator()->Adapter()); in TestParam() local
2941 used_regs.emplace_back(link_reg); in TestParam()