/art/runtime/jit/ |
H A D | debugger_interface.h | 39 // The address is used only to uniquely identify the entry. 41 void CreateJITCodeEntryForAddress(uintptr_t address, std::vector<uint8_t> symfile); 44 // Returns false if entry for the given address was not found. 45 bool DeleteJITCodeEntryForAddress(uintptr_t address);
|
H A D | debugger_interface.cc | 130 // Mapping from address to entry. It takes ownership of the entries 134 void CreateJITCodeEntryForAddress(uintptr_t address, std::vector<uint8_t> symfile) { argument 137 DCHECK_NE(address, 0u); 138 DCHECK(g_jit_code_entries.find(address) == g_jit_code_entries.end()); 140 g_jit_code_entries.emplace(address, entry); 143 bool DeleteJITCodeEntryForAddress(uintptr_t address) { argument 146 const auto& it = g_jit_code_entries.find(address);
|
/art/compiler/debug/ |
H A D | elf_symtab_writer.h | 83 uint64_t address = info.code_address + (text != nullptr ? text->GetAddress() : 0); local 85 address += CompiledMethod::CodeDelta(info.isa); 86 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); 91 // requires it to match function symbol. Just address 0 does not work. 93 if (address < mapping_symbol_address || !kGenerateSingleArmMappingSymbol) { 94 symtab->Add(strtab->Write("$t"), text, address & ~1, 0, STB_LOCAL, STT_NOTYPE); 95 mapping_symbol_address = address;
|
/art/runtime/base/ |
H A D | hex_dump.h | 32 HexDump(const void* address, size_t byte_count, bool show_actual_addresses, const char* prefix) argument 33 : address_(address), byte_count_(byte_count), show_actual_addresses_(show_actual_addresses),
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 314 void call(const Address& address); 319 void pushl(const Address& address); 323 void popl(const Address& address); 480 void xchgl(Register reg, const Address& address); 482 void cmpw(const Address& address, const Immediate& imm); 486 void cmpl(Register reg, const Address& address); 488 void cmpl(const Address& address, Register reg); 489 void cmpl(const Address& address, const Immediate& imm); 493 void testl(Register reg1, const Address& address); 497 void andl(Register dst, const Address& address); 611 LockCmpxchgl(const Address& address, Register reg) argument 615 LockCmpxchg8b(const Address& address) argument [all...] |
H A D | assembler_x86.cc | 42 void X86Assembler::call(const Address& address) { argument 45 EmitOperand(2, address); 62 EmitInt32(label.address()); 74 void X86Assembler::pushl(const Address& address) { argument 77 EmitOperand(6, address); 99 void X86Assembler::popl(const Address& address) { argument 102 EmitOperand(0, address); 1026 void X86Assembler::xchgl(Register reg, const Address& address) { argument 1029 EmitOperand(reg, address); 1033 void X86Assembler::cmpw(const Address& address, cons argument 1053 cmpl(Register reg, const Address& address) argument 1067 addl(Register reg, const Address& address) argument 1074 cmpl(const Address& address, Register reg) argument 1081 cmpl(const Address& address, const Immediate& imm) argument 1094 testl(Register reg, const Address& address) argument 1133 andl(Register reg, const Address& address) argument 1153 orl(Register reg, const Address& address) argument 1173 xorl(Register reg, const Address& address) argument 1192 addl(const Address& address, Register reg) argument 1199 addl(const Address& address, const Immediate& imm) argument 1218 adcl(Register dst, const Address& address) argument 1238 subl(Register reg, const Address& address) argument 1245 subl(const Address& address, Register reg) argument 1296 imull(Register reg, const Address& address) argument 1311 imull(const Address& address) argument 1325 mull(const Address& address) argument 1345 sbbl(Register dst, const Address& address) argument 1352 sbbl(const Address& address, Register src) argument 1365 incl(const Address& address) argument 1378 decl(const Address& address) argument 1395 shll(const Address& address, const Immediate& imm) argument 1400 shll(const Address& address, Register shifter) argument 1415 shrl(const Address& address, const Immediate& imm) argument 1420 shrl(const Address& address, Register shifter) argument 1435 sarl(const Address& address, const Immediate& imm) argument 1440 sarl(const Address& address, Register shifter) argument 1626 jmp(const Address& address) argument 1707 cmpxchgl(const Address& address, Register reg) argument 1715 cmpxchg8b(const Address& address) argument [all...] |
/art/runtime/gc/accounting/ |
H A D | bitmap-inl.h | 137 uintptr_t* address = &bitmap_begin_[word_index]; local 138 uintptr_t old_word = *address; 140 *address = old_word | word_mask; 142 *address = old_word & ~word_mask;
|
H A D | card_table-inl.h | 31 static inline bool byte_cas(uint8_t old_value, uint8_t new_value, uint8_t* address) { argument 33 Atomic<uint8_t>* byte_atomic = reinterpret_cast<Atomic<uint8_t>*>(address); 37 const size_t shift_in_bytes = reinterpret_cast<uintptr_t>(address) % sizeof(uintptr_t); 38 // Align the address down. 39 address -= shift_in_bytes; 41 Atomic<uintptr_t>* word_atomic = reinterpret_cast<Atomic<uintptr_t>*>(address); 221 // Sanity check the caller was asking for address covered by the card table
|
H A D | space_bitmap-inl.h | 167 uintptr_t* address = &bitmap_begin_[index]; local 168 uintptr_t old_word = *address; 176 *address = old_word | mask; 179 *address = old_word & ~mask;
|
/art/runtime/interpreter/mterp/x86_64/ |
H A D | op_instance_of.S | 12 leaq VREG_ADDRESS(%rax), OUT_ARG1 # Get object address
|
/art/runtime/ |
H A D | memory_region.h | 52 // Load value of type `T` at `offset`. The memory address corresponding 56 T* address = ComputeInternalPointer<T>(offset); local 57 DCHECK(IsWordAligned(address)); 58 return *address; 61 // Store `value` (of type `T`) at `offset`. The memory address 66 T* address = ComputeInternalPointer<T>(offset); local 67 DCHECK(IsWordAligned(address)); 68 *address = value; 71 // Load value of type `T` at `offset`. The memory address corresponding 86 // Store `value` (of type `T`) at `offset`. The memory address 181 IsWordAligned(const T* address) argument [all...] |
/art/runtime/native/ |
H A D | sun_misc_Unsafe.cc | 227 static void Unsafe_freeMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 228 free(reinterpret_cast<void*>(static_cast<uintptr_t>(address))); 231 static void Unsafe_setMemory(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong bytes, jbyte value) { argument 232 memset(reinterpret_cast<void*>(static_cast<uintptr_t>(address)), value, bytes); 235 static jbyte Unsafe_getByteJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 236 return *reinterpret_cast<jbyte*>(address); 239 static void Unsafe_putByteJB(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jbyte value) { argument 240 *reinterpret_cast<jbyte*>(address) = value; 243 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { argument 244 return *reinterpret_cast<jshort*>(address); 247 Unsafe_putShortJS(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jshort value) argument 251 Unsafe_getCharJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 255 Unsafe_putCharJC(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jchar value) argument 259 Unsafe_getIntJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 263 Unsafe_putIntJI(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jint value) argument 267 Unsafe_getLongJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 271 Unsafe_putLongJJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jlong value) argument 275 Unsafe_getFloatJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 279 Unsafe_putFloatJF(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jfloat value) argument 282 Unsafe_getDoubleJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) argument 286 Unsafe_putDoubleJD(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jdouble value) argument [all...] |
H A D | java_lang_DexCache.cc | 38 void* address = const_cast<void*>(reinterpret_cast<const void*>(dex_file->Begin())); local 39 jobject byte_buffer = env->NewDirectByteBuffer(address, dex_file->Size());
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 233 // If no_rip is true then the Absolute address isn't RIP relative. 249 // An RIP relative address that will be fixed up later. 260 // If no_rip is true then the Absolute address isn't RIP relative. 344 void call(const Address& address); 348 void pushq(const Address& address); 352 void popq(const Address& address); 507 void xchgl(CpuRegister reg, const Address& address); 509 void cmpw(const Address& address, const Immediate& imm); 513 void cmpl(CpuRegister reg, const Address& address); 514 void cmpl(const Address& address, CpuRegiste 682 LockCmpxchgl(const Address& address, CpuRegister reg) argument 686 LockCmpxchgq(const Address& address, CpuRegister reg) argument [all...] |
H A D | assembler_x86_64.cc | 47 void X86_64Assembler::call(const Address& address) { argument 49 EmitOptionalRex32(address); 51 EmitOperand(2, address); 70 void X86_64Assembler::pushq(const Address& address) { argument 72 EmitOptionalRex32(address); 74 EmitOperand(6, address); 98 void X86_64Assembler::popq(const Address& address) { argument 100 EmitOptionalRex32(address); 102 EmitOperand(0, address); 1219 void X86_64Assembler::xchgl(CpuRegister reg, const Address& address) { argument 1227 cmpw(const Address& address, const Immediate& imm) argument 1252 cmpl(CpuRegister reg, const Address& address) argument 1260 cmpl(const Address& address, CpuRegister reg) argument 1268 cmpl(const Address& address, const Immediate& imm) argument 1292 cmpq(CpuRegister reg, const Address& address) argument 1300 cmpq(const Address& address, const Immediate& imm) argument 1316 addl(CpuRegister reg, const Address& address) argument 1332 testl(CpuRegister reg, const Address& address) argument 1374 testq(CpuRegister reg, const Address& address) argument 1390 andl(CpuRegister reg, const Address& address) argument 1437 orl(CpuRegister reg, const Address& address) argument 1484 xorl(CpuRegister reg, const Address& address) argument 1590 addq(CpuRegister dst, const Address& address) argument 1607 addl(const Address& address, CpuRegister reg) argument 1615 addl(const Address& address, const Immediate& imm) argument 1653 subq(CpuRegister reg, const Address& address) argument 1661 subl(CpuRegister reg, const Address& address) argument 1733 imull(CpuRegister reg, const Address& address) argument 1776 imulq(CpuRegister reg, const Address& address) argument 1801 imull(const Address& address) argument 1817 mull(const Address& address) argument 2069 jmp(const Address& address) argument 2128 cmpxchgl(const Address& address, CpuRegister reg) argument 2137 cmpxchgq(const Address& address, CpuRegister reg) argument [all...] |
/art/runtime/interpreter/mterp/x86/ |
H A D | op_instance_of.S | 13 leal VREG_ADDRESS(%eax), %ecx # Get object address
|
/art/compiler/optimizing/ |
H A D | sharpening.cc | 165 uint64_t address = 0u; // String or dex cache element address. local 197 address = reinterpret_cast64<uint64_t>(string); 205 address = reinterpret_cast64<uint64_t>(dex_cache_element_address); 219 address = reinterpret_cast64<uint64_t>(string); 240 DCHECK_NE(address, 0u); 241 load_string->SetLoadKindWithAddress(load_kind, address);
|
H A D | instruction_simplifier_arm64.cc | 55 // Proceed to extract the base address computation. 60 HArm64IntermediateAddress* address = local 62 address->SetReferenceTypeInfo(array->GetReferenceTypeInfo()); 63 access->GetBlock()->InsertInstructionBefore(address, access); 64 access->ReplaceInput(address, 0); 68 DCHECK(address->GetSideEffects().Includes(SideEffects::DependsOnGC())); 70 // TODO: Code generation for HArrayGet and HArraySet will check whether the input address
|
H A D | block_builder.cc | 128 // Check if this dex_pc address starts a new basic block. 281 uint32_t address = iterator.GetHandlerAddress(); local 282 if (catch_blocks.find(address) != catch_blocks.end()) { 292 HBasicBlock* catch_block = GetBlockAt(address); 295 HBasicBlock* new_catch_block = new (arena_) HBasicBlock(graph_, address); 296 new_catch_block->AddInstruction(new (arena_) HGoto(address)); 302 catch_blocks.Put(address, catch_block);
|
/art/disassembler/ |
H A D | disassembler_x86.cc | 165 std::ostringstream address; local 167 if (!supports_rex_) { // Absolute address. 169 address << StringPrintf("[0x%x]", *address_bits); 171 address << StringPrintf("[RIP + 0x%x]", *reinterpret_cast<const uint32_t*>(*instr)); 180 address << "["; 191 DumpBaseReg(address, rex64, base); 197 address << " + "; 199 DumpAddrReg(address, rex64, index); 201 address << StringPrintf(" * %d", 1 << scale); 208 address << StringPrint 1301 std::string address = DumpAddress(mod, rm, rex64, rex_w, no_ops, byte_operand, local 1324 args << address; local 1328 args << address; local [all...] |
/art/runtime/gc/space/ |
H A D | large_object_space.h | 81 // Current address at which the space begins, which may vary as the space is filled. 85 // Current address at which the space ends, which may vary as the space is filled. 93 // Return true if we contain the specified address. 177 size_t GetSlotIndexForAddress(uintptr_t address) const { 178 DCHECK(Contains(reinterpret_cast<mirror::Object*>(address))); 179 return (address - reinterpret_cast<uintptr_t>(Begin())) / kAlignment; 182 AllocationInfo* GetAllocationInfoForAddress(uintptr_t address); 183 const AllocationInfo* GetAllocationInfoForAddress(uintptr_t address) const;
|
/art/compiler/ |
H A D | cfi_test.h | 100 // Find interesting parts of objdump output and prefix the lines with address. 103 std::string address; local 108 // The last 8 characters are the address. 109 address = "0x" + line.substr(line.size() - 8); 124 output->push_back(address + ": " + new_line); 129 // Compare strings by the address prefix.
|
H A D | compiled_method.cc | 91 uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); local 93 address |= 0x1; 94 return reinterpret_cast<const void*>(address);
|
/art/runtime/arch/arm/ |
H A D | asm_support_arm.S | 43 add \rDest, pc @ Fixup GOT address. 44 ldr \rDest, [\rDest, \rTemp] @ Load address of Runtime::instance_.
|
/art/compiler/utils/ |
H A D | label.h | 60 uintptr_t address() const { function in class:art::ExternalLabel
|