Searched refs:holder_reg (Results 1 – 6 of 6) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 293 uint32_t holder_reg, in EncodeBakerReadBarrierFieldData() argument 295 return arm::CodeGeneratorARMVIXL::EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow); in EncodeBakerReadBarrierFieldData() 307 uint32_t holder_reg, in CompileBakerOffsetThunk() argument 310 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow)); in CompileBakerOffsetThunk() 736 for (uint32_t holder_reg : kBakerValidRegs) { in TestBakerFieldWide() local 742 base_reg, holder_reg, /* narrow */ false); in TestBakerFieldWide() 756 for (uint32_t holder_reg : kBakerValidRegs) { in TestBakerFieldWide() local 766 CompileBakerOffsetThunk(base_reg, holder_reg, /* narrow */ false); in TestBakerFieldWide() 777 if (implicit_null_checks && holder_reg == base_reg) { in TestBakerFieldWide() 779 if (holder_reg < 8) { in TestBakerFieldWide() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 526 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 527 return arm64::CodeGeneratorARM64::EncodeBakerReadBarrierFieldData(base_reg, holder_reg); in EncodeBakerReadBarrierFieldData() 538 std::vector<uint8_t> CompileBakerOffsetThunk(uint32_t base_reg, uint32_t holder_reg) { in CompileBakerOffsetThunk() argument 540 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg)); in CompileBakerOffsetThunk() 1071 for (uint32_t holder_reg : valid_regs) { in TestBakerField() local 1076 uint32_t encoded_data = EncodeBakerReadBarrierFieldData(base_reg, holder_reg); in TestBakerField() 1091 for (uint32_t holder_reg : valid_regs) { in TestBakerField() local 1101 std::vector<uint8_t> expected_thunk = CompileBakerOffsetThunk(base_reg, holder_reg); in TestBakerField() 1112 if (implicit_null_checks && holder_reg == base_reg) { in TestBakerField() 1115 ASSERT_EQ(0x34000000u | holder_reg, GetOutputInsn(thunk_offset) & 0xff00001fu); in TestBakerField() [all …]
|
/art/compiler/optimizing/ |
D | code_generator_arm64.h | 1076 static inline uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 1078 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData() 1081 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierFieldData() 1084 static inline uint32_t EncodeBakerReadBarrierAcquireData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierAcquireData() argument 1086 CheckValidReg(holder_reg); in EncodeBakerReadBarrierAcquireData() 1087 DCHECK_NE(base_reg, holder_reg); in EncodeBakerReadBarrierAcquireData() 1090 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierAcquireData()
|
D | code_generator_arm_vixl.h | 950 uint32_t holder_reg, in EncodeBakerReadBarrierFieldData() argument 953 CheckValidReg(holder_reg); in EncodeBakerReadBarrierFieldData() 959 BakerReadBarrierSecondRegField::Encode(holder_reg) | in EncodeBakerReadBarrierFieldData()
|
D | code_generator_arm64.cc | 7284 Register holder_reg = in CompileBakerReadBarrierThunk() local 7286 CheckValidReg(holder_reg.GetCode()); in CompileBakerReadBarrierThunk() 7302 (holder_reg.Is(base_reg) || (kind == BakerReadBarrierKind::kAcquire))) { in CompileBakerReadBarrierThunk() 7304 __ Cbz(holder_reg.W(), throw_npe); in CompileBakerReadBarrierThunk() 7311 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() 7322 DCHECK(!base_reg.Is(holder_reg)); in CompileBakerReadBarrierThunk()
|
D | code_generator_arm_vixl.cc | 10282 vixl32::Register holder_reg(BakerReadBarrierSecondRegField::Decode(encoded_data)); in CompileBakerReadBarrierThunk() local 10283 CheckValidReg(holder_reg.GetCode()); in CompileBakerReadBarrierThunk() 10295 if (GetCompilerOptions().GetImplicitNullChecks() && holder_reg.Is(base_reg)) { in CompileBakerReadBarrierThunk() 10297 __ CompareAndBranchIfZero(holder_reg, throw_npe, /* is_far_target= */ false); in CompileBakerReadBarrierThunk() 10304 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk()
|