Searched refs:root_reg (Results 1 – 4 of 4) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 289 static uint32_t EncodeBakerReadBarrierGcRootData(uint32_t root_reg, bool narrow) { in EncodeBakerReadBarrierGcRootData() argument 290 return arm::CodeGeneratorARMVIXL::EncodeBakerReadBarrierGcRootData(root_reg, narrow); in EncodeBakerReadBarrierGcRootData() 307 std::vector<uint8_t> CompileBakerGcRootThunk(uint32_t root_reg, bool narrow) { in CompileBakerGcRootThunk() argument 309 /* literal_offset */ 0u, EncodeBakerReadBarrierGcRootData(root_reg, narrow)); in CompileBakerGcRootThunk() 1188 for (uint32_t root_reg : kBakerValidRegs) { in TEST_F() local 1190 uint32_t ldr = kLdrWInsn | (/* offset */ 8) | (/* base_reg */ 0 << 16) | (root_reg << 12); in TEST_F() 1196 kLiteralOffset, EncodeBakerReadBarrierGcRootData(root_reg, /* narrow */ false)), in TEST_F() 1205 for (uint32_t root_reg : kBakerValidRegs) { in TEST_F() local 1208 uint32_t ldr = kLdrWInsn | (/* offset */ 8) | (/* base_reg */ 0 << 16) | (root_reg << 12); in TEST_F() 1213 std::vector<uint8_t> expected_thunk = CompileBakerGcRootThunk(root_reg, /* narrow */ false); in TEST_F() [all …]
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.h | 826 static uint32_t EncodeBakerReadBarrierGcRootData(uint32_t root_reg, bool narrow) { in EncodeBakerReadBarrierGcRootData() argument 827 CheckValidReg(root_reg); in EncodeBakerReadBarrierGcRootData() 828 DCHECK(!narrow || root_reg < 8u) << root_reg; in EncodeBakerReadBarrierGcRootData() 832 BakerReadBarrierFirstRegField::Encode(root_reg) | in EncodeBakerReadBarrierGcRootData() 837 static uint32_t EncodeBakerReadBarrierUnsafeCasData(uint32_t root_reg) { in EncodeBakerReadBarrierUnsafeCasData() argument 838 CheckValidReg(root_reg); in EncodeBakerReadBarrierUnsafeCasData() 840 BakerReadBarrierFirstRegField::Encode(root_reg) | in EncodeBakerReadBarrierUnsafeCasData()
|
D | code_generator_arm64.h | 848 static inline uint32_t EncodeBakerReadBarrierGcRootData(uint32_t root_reg) { in EncodeBakerReadBarrierGcRootData() argument 849 CheckValidReg(root_reg); in EncodeBakerReadBarrierGcRootData() 851 BakerReadBarrierFirstRegField::Encode(root_reg) | in EncodeBakerReadBarrierGcRootData()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 528 static uint32_t EncodeBakerReadBarrierGcRootData(uint32_t root_reg) { in EncodeBakerReadBarrierGcRootData() argument 529 return arm64::CodeGeneratorARM64::EncodeBakerReadBarrierGcRootData(root_reg); in EncodeBakerReadBarrierGcRootData() 544 std::vector<uint8_t> CompileBakerGcRootThunk(uint32_t root_reg) { in CompileBakerGcRootThunk() argument 546 /* literal_offset */ 0u, EncodeBakerReadBarrierGcRootData(root_reg)); in CompileBakerGcRootThunk() 1380 for (uint32_t root_reg : valid_regs) { in TEST_F() local 1382 uint32_t ldr = kLdrWInsn | (/* offset */ 8 << (10 - 2)) | (/* base_reg */ 0 << 5) | root_reg; in TEST_F() 1388 kLiteralOffset, EncodeBakerReadBarrierGcRootData(root_reg)), in TEST_F() 1397 for (uint32_t root_reg : valid_regs) { in TEST_F() local 1401 uint32_t ldr = kLdrWInsn | (/* offset */ 8 << (10 - 2)) | (/* base_reg */ 0 << 5) | root_reg; in TEST_F() 1406 std::vector<uint8_t> expected_thunk = CompileBakerGcRootThunk(root_reg); in TEST_F() [all …]
|