Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dinsn_folding.h31 : def_map_(size, {nullptr, 0}, arena), flags_reg_(kInvalidMachineReg), index_(0) {} in DefMap()
36 return def_map_.at(reg.GetVRegIndex()); in Get()
42 auto [def_insn, def_insn_index] = def_map_.at(reg.GetVRegIndex()); in Get()
54 def_map_.at(reg.GetVRegIndex()) = std::pair(insn, index_); in Set()
58 ArenaVector<std::pair<const MachineInsn*, int>> def_map_; variable
66 : def_map_(def_map), machine_ir_(machine_ir) {} in InsnFolding()
71 DefMap& def_map_;
/frameworks/libs/binary_translation/backend/x86_64/
Dinsn_folding.cc54 std::fill(def_map_.begin(), def_map_.end(), std::pair(nullptr, 0)); in Initialize()
60 auto [general_insn, _] = def_map_.Get(reg); in IsRegImm()
144 auto [def_insn, def_insn_pos] = def_map_.Get(src_reg); in IsWritingSameFlagsValue()
154 std::tie(def_insn, def_insn_pos) = def_map_.Get(src_reg, def_insn_pos); in IsWritingSameFlagsValue()
166 auto [flag_def_insn, _] = def_map_.Get(write_flags_insn->RegAt(1), def_insn_pos); in IsWritingSameFlagsValue()
203 auto [def_insn, _] = def_map_.Get(src); in TryFoldRedundantMovl()