Home
last modified time | relevance | path

Searched defs:code (Results 1 – 25 of 48) sorted by relevance

12

/art/runtime/
Ddex_instruction_utils.h92 constexpr bool IsInstructionIGet(Instruction::Code code) { in IsInstructionIGet()
96 constexpr bool IsInstructionIPut(Instruction::Code code) { in IsInstructionIPut()
100 constexpr bool IsInstructionSGet(Instruction::Code code) { in IsInstructionSGet()
104 constexpr bool IsInstructionSPut(Instruction::Code code) { in IsInstructionSPut()
108 constexpr bool IsInstructionAGet(Instruction::Code code) { in IsInstructionAGet()
112 constexpr bool IsInstructionAPut(Instruction::Code code) { in IsInstructionAPut()
116 constexpr bool IsInstructionIGetOrIPut(Instruction::Code code) { in IsInstructionIGetOrIPut()
120 constexpr bool IsInstructionIGetQuickOrIPutQuick(Instruction::Code code) { in IsInstructionIGetQuickOrIPutQuick()
125 constexpr bool IsInstructionSGetOrSPut(Instruction::Code code) { in IsInstructionSGetOrSPut()
129 constexpr bool IsInstructionAGetOrAPut(Instruction::Code code) { in IsInstructionAGetOrAPut()
[all …]
Doat_file-inl.h26 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetOatQuickMethodHeader() local
51 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() local
59 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() local
67 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() local
88 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetVmapTable() local
100 const void* code = EntryPointToCodePointer(GetOatPointer<const void*>(code_offset_)); in GetQuickCodeSize() local
Ddex_instruction_visitor.h28 void Visit(const uint16_t* code, size_t size_in_bytes) { in Visit()
Doat_quick_method_header.h42 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer() local
Dutils.h337 uintptr_t code = reinterpret_cast<uintptr_t>(entry_point); in EntryPointToCodePointer() local
/art/compiler/linker/arm/
Drelative_patcher_thumb2.cc31 void Thumb2RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
59 void Thumb2RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
91 MemoryRegion code(thunk_code.data(), thunk_code.size()); in CompileThunkCode() local
96 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
106 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
118 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc87 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() local
143 void Arm64RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
163 void Arm64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
259 MemoryRegion code(thunk_code.data(), thunk_code.size()); in CompileThunkCode() local
278 bool Arm64RelativePatcher::NeedsErratum843419Thunk(ArrayRef<const uint8_t> code, in NeedsErratum843419Thunk()
328 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
338 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
350 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
Drelative_patcher_arm64_test.cc206 auto code = GenNopsAndAdrpLdr(num_nops, 0u, 0u); // Unpatched. in TestNopsAdrpLdr() local
231 auto code = GenNopsAndAdrpAdd(num_nops, 0u, 0u); // Unpatched. in TestNopsAdrpAdd() local
246 void InsertInsn(std::vector<uint8_t>* code, size_t pos, uint32_t insn) { in InsertInsn()
261 auto code = GenNopsAndAdrpLdr(num_nops, 0u, 0u); // Unpatched. in PrepareNopsAdrpInsn2Ldr() local
276 auto code = GenNopsAndAdrpAdd(num_nops, 0u, 0u); // Unpatched. in PrepareNopsAdrpInsn2Add() local
/art/compiler/utils/arm64/
Dassembler_arm64.h226 static vixl::Register reg_x(int code) { in reg_x()
236 static vixl::Register reg_w(int code) { in reg_w()
246 static vixl::FPRegister reg_d(int code) { in reg_d()
250 static vixl::FPRegister reg_s(int code) { in reg_s()
/art/compiler/trampolines/
Dtrampoline_compiler.cc72 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
111 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
143 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
175 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
196 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
217 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
/art/compiler/linker/
Dmulti_oat_relative_patcher.h96 void PatchCall(std::vector<uint8_t>* code, in PatchCall()
106 void PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
Drelative_patcher_test.h85 const ArrayRef<const uint8_t>& code, in AddCompiledMethod()
115 const auto code = compiled_method->GetQuickCode(); in Link() local
147 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link() local
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64.cc24 void X86_64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
/art/runtime/arch/x86_64/
Dthread_x86_64.cc33 static void arch_prctl(int code, void* val) { in arch_prctl()
/art/compiler/linker/x86/
Drelative_patcher_x86.cc24 void X86RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
Drelative_patcher_x86_test.cc119 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
152 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
Drelative_patcher_x86_base.cc37 void X86BaseRelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
/art/test/701-easy-div-rem/
DgenMain.py85 code = \ variable
/art/compiler/jni/
Djni_cfi_test.cc67 MemoryRegion code(&actual_asm[0], actual_asm.size()); in TestImpl() local
/art/compiler/driver/
Dcompiled_method_storage.cc202 const ArrayRef<const uint8_t>& code) { in DeduplicateCode()
206 void CompiledMethodStorage::ReleaseCode(const LengthPrefixedArray<uint8_t>* code) { in ReleaseCode()
Dcompiled_method_storage_test.cc55 ArrayRef<const uint8_t> code[] = { in TEST() local
Dcompiler_driver_test.cc220 const void* code = m.GetEntryPointFromQuickCompiledCodePtrSize(pointer_size); in TEST_F() local
277 const void* code = m.GetEntryPointFromQuickCompiledCodePtrSize(pointer_size); in CheckCompiledMethods() local
/art/runtime/jit/
Djit_code_cache.cc202 const uint8_t* code, in CommitCode()
239 static uintptr_t FromCodeToAllocation(const void* code) { in FromCodeToAllocation()
313 const uint8_t* code, in CommitCodeInternal()
452 const void* code = method_header->GetCode(); in VisitFrame() local
487 const void* code = method_header->GetCode(); in Run() local
1006 void JitCodeCache::FreeCode(uint8_t* code) { in FreeCode()
/art/compiler/optimizing/
Dcommon_arm64.h35 static inline int VIXLRegCodeFromART(int code) { in VIXLRegCodeFromART()
45 static inline int ARTRegCodeFromVIXL(int code) { in ARTRegCodeFromVIXL()
/art/compiler/dex/
Dverified_method.cc219 Instruction::Code code = inst->Opcode(); in GenerateSafeCastSet() local

12