Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc280 uint32_t holder_reg, in EncodeBakerReadBarrierFieldData() argument
282 return arm::CodeGeneratorARMVIXL::EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow); in EncodeBakerReadBarrierFieldData()
294 uint32_t holder_reg, in CompileBakerOffsetThunk() argument
297 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow)); in CompileBakerOffsetThunk()
711 for (uint32_t holder_reg : kBakerValidRegs) { in TestBakerFieldWide() local
717 base_reg, holder_reg, /* narrow */ false); in TestBakerFieldWide()
731 for (uint32_t holder_reg : kBakerValidRegs) { in TestBakerFieldWide() local
741 CompileBakerOffsetThunk(base_reg, holder_reg, /* narrow */ false); in TestBakerFieldWide()
752 if (holder_reg == base_reg) { in TestBakerFieldWide()
754 if (holder_reg < 8) { in TestBakerFieldWide()
[all …]
/art/compiler/optimizing/
Dcode_generator_arm64.h824 static inline uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument
826 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData()
829 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierFieldData()
832 static inline uint32_t EncodeBakerReadBarrierAcquireData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierAcquireData() argument
834 CheckValidReg(holder_reg); in EncodeBakerReadBarrierAcquireData()
835 DCHECK_NE(base_reg, holder_reg); in EncodeBakerReadBarrierAcquireData()
838 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierAcquireData()
Dcode_generator_arm_vixl.h805 uint32_t holder_reg, in EncodeBakerReadBarrierFieldData() argument
808 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData()
814 BakerReadBarrierSecondRegField::Encode(holder_reg) | in EncodeBakerReadBarrierFieldData()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc520 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument
521 return arm64::CodeGeneratorARM64::EncodeBakerReadBarrierFieldData(base_reg, holder_reg); in EncodeBakerReadBarrierFieldData()
532 std::vector<uint8_t> CompileBakerOffsetThunk(uint32_t base_reg, uint32_t holder_reg) { in CompileBakerOffsetThunk() argument
534 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg)); in CompileBakerOffsetThunk()
1052 for (uint32_t holder_reg : valid_regs) { in TestBakerField() local
1057 uint32_t encoded_data = EncodeBakerReadBarrierFieldData(base_reg, holder_reg); in TestBakerField()
1071 for (uint32_t holder_reg : valid_regs) { in TestBakerField() local
1081 std::vector<uint8_t> expected_thunk = CompileBakerOffsetThunk(base_reg, holder_reg); in TestBakerField()
1092 if (holder_reg == base_reg) { in TestBakerField()
1095 ASSERT_EQ(0x34000000u | holder_reg, GetOutputInsn(thunk_offset) & 0xff00001fu); in TestBakerField()
[all …]