Home
last modified time | relevance | path

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

/art/compiler/dex/
Dreg_storage.h288 static RegStorage Solo32(int reg_num) { in Solo32() argument
289 return RegStorage(k32BitSolo, reg_num & kRegTypeMask); in Solo32()
293 static constexpr RegStorage FloatSolo32(int reg_num) { in FloatSolo32() argument
294 return RegStorage(k32BitSolo, (reg_num & kRegNumMask) | kFloatingPoint); in FloatSolo32()
298 static constexpr RegStorage Solo128(int reg_num) { in Solo128() argument
299 return RegStorage(k128BitSolo, reg_num & kRegTypeMask); in Solo128()
303 static constexpr RegStorage Solo64(int reg_num) { in Solo64() argument
304 return RegStorage(k64BitSolo, reg_num & kRegTypeMask); in Solo64()
308 static RegStorage FloatSolo64(int reg_num) { in FloatSolo64() argument
309 return RegStorage(k64BitSolo, (reg_num & kRegNumMask) | kFloatingPoint); in FloatSolo64()
/art/compiler/dex/quick/arm64/
Darm64_lir.h102 #define A64_REG_IS_SP(reg_num) ((reg_num) == rwsp || (reg_num) == rsp) argument
103 #define A64_REG_IS_ZR(reg_num) ((reg_num) == rwzr || (reg_num) == rxzr) argument
/art/disassembler/
Ddisassembler_x86.cc97 size_t reg_num = rex_r ? (reg + 8) : reg; in DumpReg() local
98 DumpAnyReg(os, rex, reg_num, byte_operand, size_override, reg_file); in DumpReg()
104 size_t reg_num = rex_b ? (reg + 8) : reg; in DumpRmReg() local
105 DumpAnyReg(os, rex, reg_num, byte_operand, size_override, reg_file); in DumpRmReg()
118 size_t reg_num = rex_b ? (reg + 8) : reg; in DumpBaseReg() local
119 DumpAddrReg(os, rex, reg_num); in DumpBaseReg()
124 uint8_t reg_num = rex_x ? (reg + 8) : reg; in DumpIndexReg() local
125 DumpAddrReg(os, rex, reg_num); in DumpIndexReg()
131 size_t reg_num = rex_b ? (reg + 8) : reg; in DumpOpcodeReg() local
132 DumpReg0(os, rex, reg_num, byte_operand, size_override); in DumpOpcodeReg()
/art/compiler/dex/quick/
Dralloc_util.cc275 int reg_num = reg.GetRegNum(); in RecordCorePromotion() local
277 core_spill_mask_ |= (1 << reg_num); in RecordCorePromotion()
279 core_vmap_table_.push_back(reg_num << VREG_NUM_WIDTH | (v_reg & ((1 << VREG_NUM_WIDTH) - 1))); in RecordCorePromotion()
282 promotion_map_[p_map_idx].core_reg = reg_num; in RecordCorePromotion()
309 int reg_num = reg.GetRegNum(); in RecordFpPromotion() local
311 fp_spill_mask_ |= (1 << reg_num); in RecordFpPromotion()
313 fp_vmap_table_.push_back(reg_num << VREG_NUM_WIDTH | (v_reg & ((1 << VREG_NUM_WIDTH) - 1))); in RecordFpPromotion()
1318 int reg_num = curr->fp ? promotion_map_[p_map_idx].fp_reg : promotion_map_[p_map_idx].core_reg; in DoPromotion() local
1326 if (((reg_num & 0x1) == 0) && ((reg_num + 1) == high_reg)) { in DoPromotion()
1327 reg = RegStorage::FloatSolo64(RegStorage::RegNum(reg_num) >> 1); in DoPromotion()
[all …]
/art/compiler/dex/quick/mips/
Dtarget_mips.cc81 int reg_num = (reg.GetRegNum() & ~1) | RegStorage::kFloatingPoint; in Solo64ToPair64() local
82 return RegStorage(RegStorage::k64BitPair, reg_num, reg_num + 1); in Solo64ToPair64()
/art/runtime/
Ddex_file_verifier.cc932 uint32_t reg_num = DecodeUnsignedLeb128(&ptr_); in CheckIntraDebugInfoItem() local
933 if (UNLIKELY(reg_num >= 65536)) { in CheckIntraDebugInfoItem()
955 uint32_t reg_num = DecodeUnsignedLeb128(&ptr_); in CheckIntraDebugInfoItem() local
956 if (UNLIKELY(reg_num >= 65536)) { in CheckIntraDebugInfoItem()
963 uint32_t reg_num = DecodeUnsignedLeb128(&ptr_); in CheckIntraDebugInfoItem() local
964 if (UNLIKELY(reg_num >= 65536)) { in CheckIntraDebugInfoItem()
/art/compiler/dex/quick/arm/
Dtarget_arm.cc645 int reg_num = reg.GetRegNum() << 1; in MarkPreservedDouble() local
646 RegStorage lo = RegStorage::Solo32(RegStorage::kFloatingPoint | reg_num); in MarkPreservedDouble()
647 RegStorage hi = RegStorage::Solo32(RegStorage::kFloatingPoint | reg_num | 1); in MarkPreservedDouble()
Dassemble_arm.cc1141 uint32_t reg_num = RegStorage::RegNum(operand); in EncodeLIRs() local
1143 value = ((reg_num & 0x10) >> 4) << encoder->field_loc[i].end; in EncodeLIRs()
1145 value |= (reg_num & 0x0f) << encoder->field_loc[i].start; in EncodeLIRs()
1151 uint32_t reg_num = RegStorage::RegNum(operand); in EncodeLIRs() local
1153 value = (reg_num & 0x1) << encoder->field_loc[i].end; in EncodeLIRs()
1155 value |= ((reg_num & 0x1e) >> 1) << encoder->field_loc[i].start; in EncodeLIRs()
/art/compiler/dex/quick/x86/
Dtarget_x86.cc376 int reg_num = RegStorage::RegNum(operand); in BuildInsnString() local
377 DCHECK_LT(static_cast<size_t>(reg_num), sizeof(x86RegName)); in BuildInsnString()
378 buf += x86RegName[reg_num]; in BuildInsnString()