Searched refs:base (Results 26 - 50 of 54) sorted by relevance

123

/art/compiler/dex/
H A Dlocal_value_numbering.cc71 uint16_t field_id, uint16_t base, uint16_t memory_version) {
72 return gvn->LookupValue(kAliasingIFieldOp, field_id, base, memory_version);
76 uint16_t field_id, uint16_t base) {
77 // If the base/field_id is non-aliasing in lvn, use the non-aliasing value.
79 if (lvn->IsNonAliasingIField(base, field_id, type)) {
80 uint16_t loc = gvn->LookupValue(kNonAliasingIFieldLocOp, base, field_id, type);
87 gvn, lvn, &lvn->aliasing_ifield_value_map_, field_id, base);
103 uint16_t field_id, uint16_t base) {
104 return gvn->LookupValue(kMergeBlockAliasingIFieldMergeLocationOp, field_id, base, lvn_id);
637 if (entry.field_id == kNoValue && escaped_refs_.count(entry.base) !
70 LookupGlobalValue(GlobalValueNumbering* gvn, uint16_t field_id, uint16_t base, uint16_t memory_version) argument
75 LookupMergeValue(GlobalValueNumbering* gvn, const LocalValueNumbering* lvn, uint16_t field_id, uint16_t base) argument
102 LookupMergeLocationValue(GlobalValueNumbering* gvn, uint16_t lvn_id, uint16_t field_id, uint16_t base) argument
1007 uint16_t base = GetOperandValue(mir->ssa_rep->uses[0]); local
1011 HandleEscapingRef(uint16_t base) argument
1144 uint16_t base = GetOperandValue(mir->ssa_rep->uses[0]); local
1181 uint16_t base = GetOperandValue(mir->ssa_rep->uses[base_reg]); local
[all...]
H A Dglobal_value_numbering.cc168 uint16_t GlobalValueNumbering::GetArrayLocation(uint16_t base, uint16_t index) { argument
170 ArrayLocation key = { base, index };
/art/compiler/utils/arm/
H A Dassembler_arm.cc19 #include "base/logging.h"
503 void ArmAssembler::LoadRef(ManagedRegister mdest, ManagedRegister base,
508 base.AsArm().AsCoreRegister(), offs.Int32Value());
520 void ArmAssembler::LoadRawPtr(ManagedRegister mdest, ManagedRegister base,
525 base.AsArm().AsCoreRegister(), offs.Int32Value());
776 ArmManagedRegister base = mbase.AsArm();
778 CHECK(base.IsCoreRegister()) << base;
781 base.AsCoreRegister(), offset.Int32Value());
786 void ArmAssembler::Call(FrameOffset base, Offse
[all...]
H A Dassembler_arm.h22 #include "base/logging.h"
177 DA_W = (0|0|1) << 21, // decrement after with writeback to base
178 IA_W = (0|4|1) << 21, // increment after with writeback to base
179 DB_W = (8|0|1) << 21, // decrement before with writeback to base
180 IB_W = (8|4|1) << 21 // increment before with writeback to base
189 Offset = (8|4|0) << 21, // offset (w/o writeback to base)
192 NegOffset = (8|0|0) << 21, // negative offset (w/o writeback to base)
276 W = 1 << 21, // writeback base register (or leave unchanged)
435 virtual void ldm(BlockAddressMode am, Register base,
437 virtual void stm(BlockAddressMode am, Register base,
[all...]
H A Dassembler_arm32.h22 #include "base/logging.h"
115 void ldm(BlockAddressMode am, Register base,
117 void stm(BlockAddressMode am, Register base,
250 Register base,
255 Register base,
259 Register base,
263 Register base,
267 Register base,
271 Register base,
310 Register base,
[all...]
H A Dassembler_thumb2.h22 #include "base/logging.h"
137 void ldm(BlockAddressMode am, Register base,
139 void stm(BlockAddressMode am, Register base,
280 Register base,
285 Register base,
289 Register base,
293 Register base,
297 Register base,
301 Register base,
380 Register base,
[all...]
/art/runtime/
H A Ddex_file.cc28 #include "base/logging.h"
29 #include "base/stringprintf.h"
326 const DexFile* DexFile::OpenMemory(const byte* base, argument
333 CHECK_ALIGNED(base, 4); // various dex file structures must be word aligned
335 new DexFile(base, size, location, location_checksum, mem_map, oat_file));
343 DexFile::DexFile(const byte* base, size_t size, argument
348 : begin_(base),
353 header_(reinterpret_cast<const Header*>(base)),
354 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)),
355 type_ids_(reinterpret_cast<const TypeId*>(base
[all...]
H A Doat_file.h24 #include "base/mutex.h"
25 #include "base/stringpiece.h"
47 // Open an oat file. Returns NULL on failure. Requested base can
152 // Create an OatMethod with offsets relative to the given base address
153 OatMethod(const byte* base, const uint32_t code_offset);
303 uint8_t* oat_file_begin, // Override base if not null
H A Dmem_map.cc29 #include "base/stringprintf.h"
65 void* base = it->first; local
67 CHECK_EQ(base, map->BaseBegin());
H A Doat_file.cc24 #include "base/bit_vector.h"
25 #include "base/stl_util.h"
26 #include "base/unix_file/fd_file.h"
587 OatFile::OatMethod::OatMethod(const byte* base, argument
589 : begin_(base),
H A Ddex_file.h25 #include "base/hash_map.h"
26 #include "base/logging.h"
27 #include "base/mutex.h" // For Locks::mutator_lock_.
148 uint32_t string_data_off_; // offset in bytes from the base address
391 static const DexFile* Open(const uint8_t* base, size_t size, argument
396 return OpenMemory(base, size, location, location_checksum, NULL, oat_file, error_msg);
410 // For normal dex files, location and base location coincide. If a dex file is part of a multidex
411 // archive, the base location is the name of the originating jar/apk, stripped of any internal
752 // Get the base of the encoded data for the given DexCode.
936 DexFile(const byte* base, size_
[all...]
/art/compiler/
H A Delf_patcher.cc148 uint8_t* base = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(quick_oat_code) & ~0x1); local
149 uintptr_t patch_ptr = reinterpret_cast<uintptr_t>(base + patch->GetLiteralOffset());
244 uintptr_t base = reinterpret_cast<uintptr_t>(quick_oat_code); local
245 uintptr_t patch_location = base + patch->GetLiteralOffset();
/art/compiler/llvm/
H A Dir_builder.h219 ::llvm::Value* CreatePtrDisp(::llvm::Value* base, argument
222 ::llvm::Value* base_int = CreatePtrToInt(base, getPtrEquivIntTy());
229 ::llvm::Value* CreatePtrDisp(::llvm::Value* base, argument
237 return CreatePtrDisp(base, total_offset, ret_ty);
/art/compiler/utils/
H A Dassembler.h22 #include "base/logging.h"
23 #include "base/macros.h"
415 virtual void LoadRef(ManagedRegister dest, ManagedRegister base, MemberOffset offs) = 0;
417 virtual void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) = 0;
490 // Call to address held at [base+offset]
491 virtual void Call(ManagedRegister base, Offset offset,
493 virtual void Call(FrameOffset base, Offset offset,
/art/runtime/gc/accounting/
H A Dspace_bitmap.h26 #include "base/mutex.h"
58 // <offset> is the difference from .base to a pointer address.
101 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const;
143 static void SweepWalk(const SpaceBitmap& live, const SpaceBitmap& mark, uintptr_t base,
222 // The base address of the heap, which corresponds to the word containing the first bit in the
/art/runtime/gc/space/
H A Dmalloc_space.h150 virtual void* CreateAllocator(void* base, size_t morecore_start, size_t initial_size,
/art/runtime/mirror/
H A Dclass-inl.h414 uint32_t base = sizeof(mirror::Class); // Static fields come after the class. local
417 base = mirror::Class::ComputeClassSize(true, GetEmbeddedVTableLength(),
420 return MemberOffset(base);
425 uint32_t base = sizeof(mirror::Class); // Static fields come after the class. local
428 base = mirror::Class::ComputeClassSize(true, GetVTableDuringLinking()->GetLength(),
431 return MemberOffset(base);
/art/compiler/dex/quick/x86/
H A Dcodegen_x86.h429 void EmitDisp(uint8_t base, int32_t disp);
431 void EmitModrmDisp(uint8_t reg_or_opcode, uint8_t base, int32_t disp);
432 void EmitModrmSibDisp(uint8_t reg_or_opcode, uint8_t base, uint8_t index, int scale,
455 void EmitMemRegImm(const X86EncodingMap* entry, int32_t base, int32_t disp, int32_t raw_reg1,
774 * @param base_reg The register holding the base address.
775 * @param offset The offset from the base.
H A Dassemble_x86.cc583 // opcode so the base register is special.
691 case kMem: // lir operands - 0: base, 1: disp
693 case kArray: // lir operands - 0: base, 1: index, 2: scale, 3: disp
695 case kMemReg: // lir operands - 0: base, 1: disp, 2: reg
697 case kMemRegImm: // lir operands - 0: base, 1: disp, 2: reg 3: immediate
699 case kArrayReg: // lir operands - 0: base, 1: index, 2: scale, 3: disp, 4: reg
709 case kRegMem: // lir operands - 0: reg, 1: base, 2: disp
711 case kRegArray: // lir operands - 0: reg, 1: base, 2: index, 3: scale, 4: disp
726 case kMemImm: // lir operands - 0: base, 1: disp, 2: immediate
728 case kArrayImm: // lir operands - 0: base,
846 ModrmForDisp(int base, int disp) argument
969 EmitDisp(uint8_t base, int32_t disp) argument
996 EmitModrmDisp(uint8_t reg_or_opcode, uint8_t base, int32_t disp) argument
1008 EmitModrmSibDisp(uint8_t reg_or_opcode, uint8_t base, uint8_t index, int scale, int32_t disp) argument
[all...]
/art/disassembler/
H A Ddisassembler_x86.cc21 #include "base/logging.h"
22 #include "base/stringprintf.h"
1078 // in order to dump addr (base/index) registers correctly.
1108 uint8_t base = sib & 7; local
1110 if (base != 5 || mod != 0) {
1111 DumpBaseReg(address, rex64, base);
1123 if (base == 5) {
/art/compiler/utils/x86/
H A Dassembler_x86.cc19 #include "base/casts.h"
1580 void X86Assembler::LoadRef(ManagedRegister mdest, ManagedRegister base, argument
1584 movl(dest.AsCpuRegister(), Address(base.AsX86().AsCpuRegister(), offs));
1590 void X86Assembler::LoadRawPtr(ManagedRegister mdest, ManagedRegister base, argument
1594 movl(dest.AsCpuRegister(), Address(base.AsX86().AsCpuRegister(), offs));
1807 X86ManagedRegister base = mbase.AsX86(); local
1808 CHECK(base.IsCpuRegister());
1809 call(Address(base.AsCpuRegister(), offset.Int32Value()));
1813 void X86Assembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { argument
1815 movl(scratch, Address(ESP, base));
[all...]
/art/compiler/utils/x86_64/
H A Dassembler_x86_64.cc19 #include "base/casts.h"
1028 // B - MODRM.rm/SIB.base
1055 // B - MODRM.rm/SIB.base
1619 // B - MODRM.rm/SIB.base
1943 void X86_64Assembler::LoadRef(ManagedRegister mdest, ManagedRegister base, argument
1947 movq(dest.AsCpuRegister(), Address(base.AsX86_64().AsCpuRegister(), offs));
1950 void X86_64Assembler::LoadRawPtr(ManagedRegister mdest, ManagedRegister base, argument
1954 movq(dest.AsCpuRegister(), Address(base.AsX86_64().AsCpuRegister(), offs));
2172 X86_64ManagedRegister base = mbase.AsX86_64(); local
2173 CHECK(base
2178 Call(FrameOffset base, Offset offset, ManagedRegister mscratch) argument
[all...]
/art/compiler/dex/quick/arm/
H A Dtarget_arm.cc320 static char* DecodeFPCSRegList(int count, int base, char* buf, size_t buf_size) { argument
321 snprintf(buf, buf_size, "s%d", base);
323 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", s%d", base + i);
/art/runtime/gc/allocator/
H A Drosalloc.h29 #include "base/mutex.h"
30 #include "base/logging.h"
181 // Returns the base address of the free bit map.
185 // Returns the base address of the thread local free bit map.
409 // The base address of the memory region that's managed by this allocator.
479 // The base address of the memory region that's managed by this allocator.
526 RosAlloc(void* base, size_t capacity, size_t max_capacity,
/art/compiler/dex/quick/arm64/
H A Dcodegen_arm64.h357 int SpillRegs(RegStorage base, uint32_t core_reg_mask, uint32_t fp_reg_mask, int frame_size);
360 void UnspillRegs(RegStorage base, uint32_t core_reg_mask, uint32_t fp_reg_mask, int frame_size);

Completed in 652 milliseconds

123