Searched refs:holder_reg (Results 1 – 6 of 6) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 280 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/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 520 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 …]
|
/art/compiler/optimizing/ |
D | code_generator_arm64.h | 949 static inline uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 951 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData() 954 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierFieldData() 957 static inline uint32_t EncodeBakerReadBarrierAcquireData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierAcquireData() argument 959 CheckValidReg(holder_reg); in EncodeBakerReadBarrierAcquireData() 960 DCHECK_NE(base_reg, holder_reg); in EncodeBakerReadBarrierAcquireData() 963 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierAcquireData()
|
D | code_generator_arm_vixl.h | 839 uint32_t holder_reg, in EncodeBakerReadBarrierFieldData() argument 842 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData() 848 BakerReadBarrierSecondRegField::Encode(holder_reg) | in EncodeBakerReadBarrierFieldData()
|
D | code_generator_arm64.cc | 6734 auto holder_reg = in CompileBakerReadBarrierThunk() local 6736 CheckValidReg(holder_reg.GetCode()); in CompileBakerReadBarrierThunk() 6752 (holder_reg.Is(base_reg) || (kind == BakerReadBarrierKind::kAcquire))) { in CompileBakerReadBarrierThunk() 6754 __ Cbz(holder_reg.W(), throw_npe); in CompileBakerReadBarrierThunk() 6761 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() 6772 DCHECK(!base_reg.Is(holder_reg)); in CompileBakerReadBarrierThunk()
|
D | code_generator_arm_vixl.cc | 9786 vixl32::Register holder_reg(BakerReadBarrierSecondRegField::Decode(encoded_data)); in CompileBakerReadBarrierThunk() local 9787 CheckValidReg(holder_reg.GetCode()); in CompileBakerReadBarrierThunk() 9799 if (GetCompilerOptions().GetImplicitNullChecks() && holder_reg.Is(base_reg)) { in CompileBakerReadBarrierThunk() 9801 __ CompareAndBranchIfZero(holder_reg, throw_npe, /* is_far_target= */ false); in CompileBakerReadBarrierThunk() 9808 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk()
|