/art/runtime/gc/accounting/ |
D | bitmap-inl.h | 33 inline bool Bitmap::AtomicTestAndSetBit(uintptr_t bit_index) { in AtomicTestAndSetBit() 36 const uintptr_t word_mask = BitIndexToMask(bit_index); in AtomicTestAndSetBit() 37 auto* atomic_entry = reinterpret_cast<Atomic<uintptr_t>*>(&bitmap_begin_[word_index]); in AtomicTestAndSetBit() 38 uintptr_t old_word; in AtomicTestAndSetBit() 51 inline bool Bitmap::TestBit(uintptr_t bit_index) const { in TestBit() 57 inline void Bitmap::VisitSetBits(uintptr_t bit_start, uintptr_t bit_end, const Visitor& visitor) in VisitSetBits() 61 const uintptr_t index_start = BitIndexToWordIndex(bit_start); in VisitSetBits() 62 const uintptr_t index_end = BitIndexToWordIndex(bit_end); in VisitSetBits() 75 uintptr_t left_edge = bitmap_begin_[index_start]; in VisitSetBits() 77 left_edge &= ~((static_cast<uintptr_t>(1) << (bit_start % kBitsPerBitmapWord)) - 1); in VisitSetBits() [all …]
|
D | space_bitmap-inl.h | 35 uintptr_t addr = reinterpret_cast<uintptr_t>(obj); in AtomicTestAndSet() 37 const uintptr_t offset = addr - heap_begin_; in AtomicTestAndSet() 39 const uintptr_t mask = OffsetToMask(offset); in AtomicTestAndSet() 40 Atomic<uintptr_t>* atomic_entry = &bitmap_begin_[index]; in AtomicTestAndSet() 42 uintptr_t old_word; in AtomicTestAndSet() 57 uintptr_t addr = reinterpret_cast<uintptr_t>(obj); in Test() 61 const uintptr_t offset = addr - heap_begin_; in Test() 67 inline mirror::Object* SpaceBitmap<kAlignment>::FindPrecedingObject(uintptr_t visit_begin, in FindPrecedingObject() 68 uintptr_t visit_end) const { in FindPrecedingObject() 74 const uintptr_t offset_start = visit_begin - heap_begin_; in FindPrecedingObject() [all …]
|
D | bitmap.h | 47 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex() 56 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask() 57 return static_cast<uintptr_t>(1) << (bit_index % kBitsPerBitmapWord); in BitIndexToMask() 79 void VisitSetBits(uintptr_t visit_begin, size_t visit_end, const Visitor& visitor) const; 84 uintptr_t* Begin() const { in Begin() 110 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index); 118 uintptr_t* const bitmap_begin_; 132 const std::string& name, uintptr_t cover_begin, uintptr_t cover_end); 134 MemMap&& mem_map, uintptr_t cover_begin, size_t num_bits); 137 ALWAYS_INLINE uintptr_t CoverBegin() const { in CoverBegin() [all …]
|
D | card_table-inl.h | 39 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); in byte_cas() 43 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); in byte_cas() 46 const uintptr_t cur_word = word_atomic->load(std::memory_order_relaxed) & in byte_cas() 47 ~(static_cast<uintptr_t>(0xFF) << shift_in_bits); in byte_cas() 48 const uintptr_t old_word = cur_word | (static_cast<uintptr_t>(old_value) << shift_in_bits); in byte_cas() 49 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); in byte_cas() 73 uintptr_t start = reinterpret_cast<uintptr_t>(AddrFromCard(card_cur)); in Scan() 83 (reinterpret_cast<uintptr_t>(card_end) & (sizeof(uintptr_t) - 1)); in Scan() 86 uintptr_t* word_end = reinterpret_cast<uintptr_t*>(aligned_end); in Scan() 87 for (uintptr_t* word_cur = reinterpret_cast<uintptr_t*>(card_cur); word_cur < word_end; in Scan() [all …]
|
D | space_bitmap.cc | 57 uintptr_t* bitmap_begin = reinterpret_cast<uintptr_t*>(mem_map.Begin()); in CreateFromMemMap() 65 uintptr_t* bitmap_begin, in SpaceBitmap() 70 bitmap_begin_(reinterpret_cast<Atomic<uintptr_t>*>(bitmap_begin)), in SpaceBitmap() 72 heap_begin_(reinterpret_cast<uintptr_t>(heap_begin)), in SpaceBitmap() 73 heap_limit_(reinterpret_cast<uintptr_t>(heap_begin) + heap_capacity), in SpaceBitmap() 102 void SpaceBitmap<kAlignment>::SetHeapLimit(uintptr_t new_end) { in SetHeapLimit() 121 uintptr_t addr = reinterpret_cast<uintptr_t>(obj); in DumpMemAround() 124 const uintptr_t offset = addr - heap_begin_; in DumpMemAround() 126 const uintptr_t mask = OffsetToMask(offset); in DumpMemAround() 127 size_t num_entries = bitmap_size_ / sizeof(uintptr_t); in DumpMemAround() [all …]
|
D | space_bitmap.h | 81 ALWAYS_INLINE static constexpr uintptr_t OffsetBitIndex(uintptr_t offset) { in OffsetBitIndex() 87 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { in OffsetToMask() 122 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress() 128 void VisitRange(uintptr_t visit_begin, uintptr_t visit_end, const Visitor& visitor) const { in VisitRange() 136 mirror::Object* FindPrecedingObject(uintptr_t visit_begin, uintptr_t visit_end = 0) const; 143 void VisitMarkedRange(uintptr_t visit_begin, uintptr_t visit_end, Visitor&& visitor) const 161 static void SweepWalk(const SpaceBitmap& live, const SpaceBitmap& mark, uintptr_t base, 162 uintptr_t max, SweepCallback* thunk, void* arg); 167 Atomic<uintptr_t>* Begin() const { in Begin() 188 uintptr_t HeapBegin() const { in HeapBegin() [all …]
|
D | card_table.cc | 78 uint8_t* biased_begin = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(cardtable_begin) - in Create() 79 (reinterpret_cast<uintptr_t>(heap_begin) >> kCardShift)); in Create() 80 uintptr_t biased_byte = reinterpret_cast<uintptr_t>(biased_begin) & 0xff; in Create() 86 CHECK_EQ(reinterpret_cast<uintptr_t>(biased_begin) & 0xff, kCardDirty); in Create() 104 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(start), kCardSize); in ClearCardRange() 105 CHECK_ALIGNED(reinterpret_cast<uintptr_t>(end), kCardSize); in ClearCardRange() 113 return IsValidCard(biased_begin_ + ((uintptr_t)addr >> kCardShift)); in AddrIsInCardTable() 117 uint8_t* card_addr = biased_begin_ + ((uintptr_t)addr >> kCardShift); in CheckAddrIsInCardTable()
|
D | space_bitmap_test.cc | 52 EXPECT_EQ(bitmap_->Test(obj), ((reinterpret_cast<uintptr_t>(obj) & 0xF) != 0)); in operator ()() 72 if (reinterpret_cast<uintptr_t>(obj) & 0xF) { in TEST_F() 105 std::vector<std::pair<uintptr_t, uintptr_t>> ranges = { in TEST_F() 113 for (const std::pair<uintptr_t, uintptr_t>& range : ranges) { in TEST_F() 118 for (uintptr_t i = 0; i < range.first; i += kObjectAlignment) { in TEST_F() 121 for (uintptr_t i = range.second; i < range.second + kPageSize; i += kObjectAlignment) { in TEST_F() 125 for (uintptr_t i = range.first; i < range.second; i += kObjectAlignment) { in TEST_F() 185 for (uintptr_t k = offset; k < end; k += kAlignment) { in RunTest() 191 uintptr_t range_begin = reinterpret_cast<uintptr_t>(heap_begin) + offset; in RunTest() 192 uintptr_t range_end = reinterpret_cast<uintptr_t>(heap_begin) + end; in RunTest() [all …]
|
/art/libartbase/base/ |
D | bit_field.h | 26 static constexpr uintptr_t kUintPtrTOne = 1U; 37 static_assert(position < sizeof(uintptr_t) * kBitsPerByte, "Invalid position."); 39 static_assert(size <= sizeof(uintptr_t) * kBitsPerByte, "Invalid size."); 40 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size."); 44 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; in IsValid() 48 static constexpr uintptr_t Mask() { in Mask() 54 static constexpr uintptr_t MaskInPlace() { in MaskInPlace() 70 static constexpr uintptr_t Encode(T value) { in Encode() 72 return static_cast<uintptr_t>(value) << position; in Encode() 76 static constexpr T Decode(uintptr_t value) { in Decode() [all …]
|
D | memory_region.h | 46 MemoryRegion(void* pointer_in, uintptr_t size_in) : pointer_(pointer_in), size_(size_in) {} in MemoryRegion() 62 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load() 72 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store() 81 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned() 96 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned() 108 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo() 122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion() 129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend() 144 ALWAYS_INLINE uint8_t* ComputeBitPointer(uintptr_t bit_offset, uint8_t* bit_mask) const { in ComputeBitPointer() 145 uintptr_t bit_remainder = (bit_offset & (kBitsPerByte - 1)); in ComputeBitPointer() [all …]
|
/art/runtime/gc/collector/ |
D | immune_spaces.cc | 37 uintptr_t best_begin = 0u; in CreateLargestImmuneRegion() 38 uintptr_t best_end = 0u; in CreateLargestImmuneRegion() 39 uintptr_t best_heap_size = 0u; in CreateLargestImmuneRegion() 40 uintptr_t cur_begin = 0u; in CreateLargestImmuneRegion() 41 uintptr_t cur_end = 0u; in CreateLargestImmuneRegion() 42 uintptr_t cur_heap_size = 0u; in CreateLargestImmuneRegion() 43 using Interval = std::tuple</*start*/uintptr_t, /*end*/uintptr_t, /*is_heap*/bool>; in CreateLargestImmuneRegion() 46 uintptr_t space_begin = reinterpret_cast<uintptr_t>(space->Begin()); in CreateLargestImmuneRegion() 47 uintptr_t space_end = reinterpret_cast<uintptr_t>(space->Limit()); in CreateLargestImmuneRegion() 53 space_end = RoundUp(reinterpret_cast<uintptr_t>(image_space->GetImageEnd()), kPageSize); in CreateLargestImmuneRegion() [all …]
|
D | mark_compact-inl.h | 69 inline uintptr_t MarkCompact::LiveWordsBitmap<kAlignment>::SetLiveWords(uintptr_t begin, in SetLiveWords() 71 const uintptr_t begin_bit_idx = MemRangeBitmap::BitIndexFromAddr(begin); in SetLiveWords() 74 uintptr_t end = begin + size - kAlignment; in SetLiveWords() 75 const uintptr_t end_bit_idx = MemRangeBitmap::BitIndexFromAddr(end); in SetLiveWords() 76 uintptr_t* begin_bm_address = Bitmap::Begin() + Bitmap::BitIndexToWordIndex(begin_bit_idx); in SetLiveWords() 77 uintptr_t* end_bm_address = Bitmap::Begin() + Bitmap::BitIndexToWordIndex(end_bit_idx); in SetLiveWords() 79 uintptr_t mask = Bitmap::BitIndexToMask(begin_bit_idx); in SetLiveWords() 90 std::memset(static_cast<void*>(begin_bm_address + 1), 0xff, (diff - 1) * sizeof(uintptr_t)); in SetLiveWords() 93 uintptr_t end_mask = Bitmap::BitIndexToMask(end_bit_idx); in SetLiveWords() 99 inline void MarkCompact::LiveWordsBitmap<kAlignment>::VisitLiveStrides(uintptr_t begin_bit_idx, in VisitLiveStrides() [all …]
|
/art/runtime/arch/ |
D | context.h | 41 static uintptr_t* CalleeSaveAddress(uint8_t* frame, int num, size_t frame_size) { in CalleeSaveAddress() 47 return reinterpret_cast<uintptr_t*>(save_addr); in CalleeSaveAddress() 55 virtual void SetSP(uintptr_t new_sp) = 0; 58 virtual void SetPC(uintptr_t new_pc) = 0; 61 virtual void SetArg0(uintptr_t new_arg0_value) = 0; 67 virtual uintptr_t* GetGPRAddress(uint32_t reg) = 0; 71 virtual uintptr_t GetGPR(uint32_t reg) = 0; 75 virtual void SetGPR(uint32_t reg, uintptr_t value) = 0; 82 virtual uintptr_t GetFPR(uint32_t reg) = 0; 86 virtual void SetFPR(uint32_t reg, uintptr_t value) = 0; [all …]
|
/art/runtime/ |
D | oat_quick_method_header.h | 47 static bool IsNterpPc(uintptr_t pc) { in IsNterpPc() 53 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer() 54 uintptr_t header = code - OFFSETOF_MEMBER(OatQuickMethodHeader, code_); in FromCodePointer() 72 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() 73 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 77 uintptr_t code = reinterpret_cast<uintptr_t>(code_); in IsOptimized() 115 bool Contains(uintptr_t pc) const { in Contains() 117 DCHECK_NE(data_, kInvalidData) << std::hex << reinterpret_cast<uintptr_t>(code_); in Contains() 119 uintptr_t code_start = reinterpret_cast<uintptr_t>(HWASanUntag(code_)); in Contains() 135 ? reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(code_) | 1) in GetEntryPoint() [all …]
|
D | indirect_reference_table.h | 218 return DecodeIndirectRefKind(reinterpret_cast<uintptr_t>(iref)); in GetIndirectRefKind() 221 static constexpr uintptr_t GetGlobalOrWeakGlobalMask() { in GetGlobalOrWeakGlobalMask() 222 constexpr uintptr_t mask = enum_cast<uintptr_t>(kGlobal); in GetGlobalOrWeakGlobalMask() 232 return (reinterpret_cast<uintptr_t>(iref) & GetGlobalOrWeakGlobalMask()) != 0u; in IsGlobalOrWeakGlobalReference() 243 reinterpret_cast<uintptr_t>(iref) & ~static_cast<uintptr_t>(kKindMask)); in ClearIndirectRefKind() 246 static constexpr uintptr_t GetIndirectRefKindMask() { in GetIndirectRefKindMask() 265 static constexpr uintptr_t EncodeIndex(uint32_t table_index) { in EncodeIndex() 266 static_assert(sizeof(IndirectRef) == sizeof(uintptr_t), "Unexpected IndirectRef size"); in EncodeIndex() 267 DCHECK_LE(MinimumBitsToStore(table_index), BitSizeOf<uintptr_t>() - kIRTSerialBits - kKindBits); in EncodeIndex() 268 return (static_cast<uintptr_t>(table_index) << kKindBits << kIRTSerialBits); in EncodeIndex() [all …]
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 262 uintptr_t FaultManager::GetFaultPc(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context) { in GetFaultPc() 271 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() 277 uintptr_t fault_address = reinterpret_cast<uintptr_t>(sig->si_addr); in Action() 299 uintptr_t pc = uc->CTX_EIP; in Action() 316 uintptr_t return_pc = reinterpret_cast<uintptr_t>(pc + instr_size); in Action() 322 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp) - 2; in Action() 325 uc->CTX_ESP = reinterpret_cast<uintptr_t>(next_sp); in Action() 328 uc->CTX_EIP = reinterpret_cast<uintptr_t>( in Action() 394 uintptr_t retaddr = reinterpret_cast<uintptr_t>(pc + 2); in Action() 395 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t)); in Action() [all …]
|
D | context_x86.h | 40 void SetSP(uintptr_t new_sp) override { in SetSP() 44 void SetPC(uintptr_t new_pc) override { in SetPC() 48 void SetNterpDexPC(uintptr_t dex_pc_ptr) override { in SetNterpDexPC() 52 void SetArg0(uintptr_t new_arg0_value) override { in SetArg0() 61 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() 66 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() 72 void SetGPR(uint32_t reg, uintptr_t value) override; 79 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() 85 void SetFPR(uint32_t reg, uintptr_t value) override; 105 uintptr_t* gprs_[kNumberOfCpuRegisters]; [all …]
|
/art/runtime/arch/riscv64/ |
D | context_riscv64.h | 41 void SetSP(uintptr_t new_sp) override { SetGPR(SP, new_sp); } in SetSP() 43 void SetPC(uintptr_t new_pc) override { SetGPR(kPC, new_pc); } in SetPC() 45 void SetNterpDexPC(uintptr_t /*dex_pc_ptr*/) override { in SetNterpDexPC() argument 49 void SetArg0(uintptr_t new_arg0_value) override { SetGPR(A0, new_arg0_value); } in SetArg0() 56 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() 61 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() 68 void SetGPR(uint32_t reg, uintptr_t value) override; 75 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() 81 void SetFPR(uint32_t reg, uintptr_t value) override; 91 uintptr_t* gprs_[kNumberOfXRegisters + 1]; [all …]
|
/art/runtime/arch/arm64/ |
D | context_arm64.h | 41 void SetSP(uintptr_t new_sp) override { in SetSP() 45 void SetPC(uintptr_t new_lr) override { in SetPC() 49 void SetNterpDexPC(uintptr_t dex_pc_ptr) override { in SetNterpDexPC() 53 void SetArg0(uintptr_t new_arg0_value) override { in SetArg0() 62 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() 67 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() 74 void SetGPR(uint32_t reg, uintptr_t value) override; 81 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() 87 void SetFPR(uint32_t reg, uintptr_t value) override; 97 uintptr_t* gprs_[kNumberOfXRegisters + 1]; [all …]
|
D | fault_handler_arm64.cc | 41 uintptr_t FaultManager::GetFaultPc(siginfo_t* siginfo, void* context) { in GetFaultPc() 59 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() 66 uintptr_t fault_address = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 80 uintptr_t return_pc = mc->pc + 4u; in Action() 86 mc->sp -= sizeof(uintptr_t); in Action() 87 *reinterpret_cast<uintptr_t*>(mc->sp) = return_pc; in Action() 91 mc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 122 mc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 138 uintptr_t sp = mc->sp; in Action() 141 uintptr_t fault_addr = mc->fault_address; in Action() [all …]
|
/art/runtime/arch/arm/ |
D | context_arm.h | 41 void SetSP(uintptr_t new_sp) override { in SetSP() 45 void SetPC(uintptr_t new_pc) override { in SetPC() 49 void SetNterpDexPC(uintptr_t dex_pc_ptr) override { in SetNterpDexPC() 53 void SetArg0(uintptr_t new_arg0_value) override { in SetArg0() 62 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() 67 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() 73 void SetGPR(uint32_t reg, uintptr_t value) override; 80 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() 86 void SetFPR(uint32_t reg, uintptr_t value) override; 93 uintptr_t* gprs_[kNumberOfCoreRegisters]; [all …]
|
D | fault_handler_arm.cc | 48 uintptr_t FaultManager::GetFaultPc(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context) { in GetFaultPc() 58 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() 65 uintptr_t fault_address = reinterpret_cast<uintptr_t>(info->si_addr); in Action() 93 uintptr_t return_pc = (mc->arm_pc + instr_size) | (in_thumb_mode ? 1 : 0); in Action() 96 mc->arm_sp -= sizeof(uintptr_t); in Action() 97 *reinterpret_cast<uintptr_t*>(mc->arm_sp) = return_pc; in Action() 101 mc->arm_pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 164 mc->arm_pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 196 uintptr_t sp = mc->arm_sp; in Action() 199 uintptr_t fault_addr = mc->fault_address; in Action() [all …]
|
/art/runtime/arch/x86_64/ |
D | context_x86_64.h | 40 void SetSP(uintptr_t new_sp) override { in SetSP() 44 void SetPC(uintptr_t new_pc) override { in SetPC() 48 void SetNterpDexPC(uintptr_t dex_pc_ptr) override { in SetNterpDexPC() 52 void SetArg0(uintptr_t new_arg0_value) override { in SetArg0() 61 uintptr_t* GetGPRAddress(uint32_t reg) override { in GetGPRAddress() 66 uintptr_t GetGPR(uint32_t reg) override { in GetGPR() 72 void SetGPR(uint32_t reg, uintptr_t value) override; 79 uintptr_t GetFPR(uint32_t reg) override { in GetFPR() 85 void SetFPR(uint32_t reg, uintptr_t value) override; 92 uintptr_t* gprs_[kNumberOfCpuRegisters]; [all …]
|
D | context_x86_64.cc | 26 static constexpr uintptr_t gZero = 0; 66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 67 gprs_[RDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 89 void X86_64Context::SetGPR(uint32_t reg, uintptr_t value) { in SetGPR() 96 void X86_64Context::SetFPR(uint32_t reg, uintptr_t value) { in SetFPR() 103 extern "C" NO_RETURN void art_quick_do_long_jump(uintptr_t*, uintptr_t*); 107 uintptr_t gprs[kNumberOfCpuRegisters + 1]; in DoLongJump() 108 uintptr_t fprs[kNumberOfFloatRegisters]; in DoLongJump() 118 uintptr_t rsp = gprs[kNumberOfCpuRegisters - RSP - 1] - sizeof(intptr_t); in DoLongJump() 120 *(reinterpret_cast<uintptr_t*>(rsp)) = rip_; in DoLongJump()
|
/art/disassembler/ |
D | disassembler_arm.cc | 75 const uintptr_t begin = reinterpret_cast<uintptr_t>(options_->base_address_); in operator <<() 76 const uintptr_t end = reinterpret_cast<uintptr_t>(options_->end_address_); in operator <<() 77 uintptr_t address = label.GetLocation() + (options_->absolute_addresses_ ? 0u : begin); in operator <<() 168 const uintptr_t begin = reinterpret_cast<uintptr_t>(options_->base_address_); in PrintLiteral() 169 const uintptr_t end = reinterpret_cast<uintptr_t>(options_->end_address_); in PrintLiteral() 170 uintptr_t literal_addr = in PrintLiteral() 224 uintptr_t next; in Dump() 226 const uintptr_t instr_ptr = reinterpret_cast<uintptr_t>(begin) & ~1; in Dump() 228 const bool is_t32 = (reinterpret_cast<uintptr_t>(begin) & 1) != 0; in Dump() 236 next = reinterpret_cast<uintptr_t>(disasm_->DecodeT32At(ip, end_address)); in Dump() [all …]
|