Home
last modified time | relevance | path

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

123

/art/libdexfile/dex/
Ddex_instruction_utils.h87 constexpr bool IsInstructionIGet(Instruction::Code code) { in IsInstructionIGet()
91 constexpr bool IsInstructionIPut(Instruction::Code code) { in IsInstructionIPut()
95 constexpr bool IsInstructionSGet(Instruction::Code code) { in IsInstructionSGet()
99 constexpr bool IsInstructionSPut(Instruction::Code code) { in IsInstructionSPut()
103 constexpr bool IsInstructionAGet(Instruction::Code code) { in IsInstructionAGet()
107 constexpr bool IsInstructionAPut(Instruction::Code code) { in IsInstructionAPut()
111 constexpr bool IsInstructionIGetOrIPut(Instruction::Code code) { in IsInstructionIGetOrIPut()
115 constexpr bool IsInstructionSGetOrSPut(Instruction::Code code) { in IsInstructionSGetOrSPut()
119 constexpr bool IsInstructionAGetOrAPut(Instruction::Code code) { in IsInstructionAGetOrAPut()
123 constexpr bool IsInstructionBinOp2Addr(Instruction::Code code) { in IsInstructionBinOp2Addr()
[all …]
Ddex_instruction_test.cc142 Instruction::Code code, in Build35c()
159 static std::string DumpInst35c(Instruction::Code code, in DumpInst35c()
/art/runtime/oat/
Doat_file-inl.h29 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetOatQuickMethodHeader() local
46 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() local
54 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() local
62 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() local
75 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetVmapTable() local
87 const void* code = EntryPointToCodePointer(GetQuickCode()); in GetQuickCodeSize() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc56 void Thumb2RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
66 void Thumb2RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
86 void Thumb2RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
97 void Thumb2RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
139 void Thumb2RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
161 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
171 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
183 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
188 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16()
196 uint32_t Thumb2RelativePatcher::GetInsn16(Vector* code, uint32_t offset) { in GetInsn16()
/art/dex2oat/linker/riscv64/
Drelative_patcher_riscv64.cc54 void Riscv64RelativePatcher::PatchCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchCall()
62 void Riscv64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
92 void Riscv64RelativePatcher::PatchEntrypointCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchEntrypointCall()
101 [[maybe_unused]] std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
127 void Riscv64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
137 uint32_t Riscv64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
149 uint32_t Riscv64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
Drelative_patcher_riscv64_test.cc45 static void PushBackInsn16(std::vector<uint8_t>* code, uint32_t insn16) { in PushBackInsn16()
53 static void PushBackInsn32(std::vector<uint8_t>* code, uint32_t insn32) { in PushBackInsn32()
121 auto code = GenNopsAndAuipcAndUseUnpatched(start_cnops, mid_cnops, kAddi); in TestNopsAuipcAddi() local
145 auto code = GenNopsAndAuipcAndUseUnpatched(start_cnops, mid_cnops, kLwu); in TestNopsAuipcLwu() local
170 auto code = GenNopsAndAuipcAndUseUnpatched(start_cnops, mid_cnops, kLd); in TestNopsAuipcLd() local
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64.cc24 void X86_64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
37 void X86_64RelativePatcher::PatchEntrypointCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchEntrypointCall()
43 void X86_64RelativePatcher::PatchBakerReadBarrierBranch([[maybe_unused]] std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
/art/dex2oat/linker/x86/
Drelative_patcher_x86.cc24 void X86RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
59 void X86RelativePatcher::PatchEntrypointCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchEntrypointCall()
65 void X86RelativePatcher::PatchBakerReadBarrierBranch([[maybe_unused]] std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
Drelative_patcher_x86_test.cc122 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
154 ArrayRef<const uint8_t> code(raw_code); in TEST_F() local
Drelative_patcher_x86_base.cc44 void X86BaseRelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc129 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in ReserveSpace() local
195 void Arm64RelativePatcher::PatchCall(std::vector<uint8_t>* code, in PatchCall()
206 void Arm64RelativePatcher::PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
312 void Arm64RelativePatcher::PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
322 void Arm64RelativePatcher::PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
372 void Arm64RelativePatcher::PatchBl(std::vector<uint8_t>* code, in PatchBl()
386 bool Arm64RelativePatcher::NeedsErratum843419Thunk(ArrayRef<const uint8_t> code, in NeedsErratum843419Thunk()
436 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
446 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
458 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
/art/compiler/utils/arm64/
Dassembler_arm64.h162 static vixl::aarch64::Register reg_x(int code) { in reg_x()
172 static vixl::aarch64::Register reg_w(int code) { in reg_w()
182 static vixl::aarch64::VRegister reg_d(int code) { in reg_d()
186 static vixl::aarch64::VRegister reg_s(int code) { in reg_s()
/art/test/2239-varhandle-perf/util-src/
Dgenerate_java.py41 def __init__(self, code, static, vartype, flavour, klass, method, memloc, argument
93 def BenchVHField(code, static, vartype, flavour, method): argument
97 def BenchVHArray(code, vartype, flavour, method): argument
101 def BenchVHByteArrayView(code, byteorder, vartype, flavour, method): argument
105 def BenchReflect(code, static, vartype, method): argument
109 def BenchUnsafe(code, static, vartype, method): argument
/art/dex2oat/linker/
Drelative_patcher.cc63 void PatchCall([[maybe_unused]] std::vector<uint8_t>* code, in Create()
70 void PatchPcRelativeReference([[maybe_unused]] std::vector<uint8_t>* code, in Create()
77 void PatchEntrypointCall([[maybe_unused]] std::vector<uint8_t>* code, in Create()
83 void PatchBakerReadBarrierBranch([[maybe_unused]] std::vector<uint8_t>* code, in Create()
Dmulti_oat_relative_patcher.h98 void PatchCall(std::vector<uint8_t>* code, in PatchCall()
108 void PatchPcRelativeReference(std::vector<uint8_t>* code, in PatchPcRelativeReference()
117 void PatchEntrypointCall(std::vector<uint8_t>* code, in PatchEntrypointCall()
124 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
Drelative_patcher_test.h138 const auto code = compiled_method->GetQuickCode(); in Link() local
169 ArrayRef<const uint8_t> code = compiled_method->GetQuickCode(); in Link() local
293 ArrayRef<const uint8_t> code, in SetThunkCode()
299 /*out*/ ArrayRef<const uint8_t>* code, in GetThunkCode()
364 ThunkValue(ArrayRef<const uint8_t> code, const std::string& debug_name) in ThunkValue()
Dmulti_oat_relative_patcher_test.cc79 void PatchCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchCall()
88 void PatchPcRelativeReference([[maybe_unused]] std::vector<uint8_t>* code, in PatchPcRelativeReference()
97 void PatchEntrypointCall([[maybe_unused]] std::vector<uint8_t>* code, in PatchEntrypointCall()
103 void PatchBakerReadBarrierBranch([[maybe_unused]] std::vector<uint8_t>* code, in PatchBakerReadBarrierBranch()
279 std::vector<uint8_t> code(16); in TEST_F() local
Dmulti_oat_relative_patcher.cc29 /*out*/ ArrayRef<const uint8_t>* code, in GetThunkCode()
/art/compiler/trampolines/
Dtrampoline_compiler.cc81 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
118 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
150 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
171 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
192 MemoryRegion code(entry_stub->data(), entry_stub->size()); in CreateTrampoline() local
/art/dex2oat/driver/
Dcompiled_method_storage.cc130 ThunkMapValue(std::vector<uint8_t, SwapAllocator<uint8_t>>&& code, in ThunkMapValue()
178 const ArrayRef<const uint8_t>& code) { in DeduplicateCode()
182 void CompiledMethodStorage::ReleaseCode(const LengthPrefixedArray<uint8_t>* code) { in ReleaseCode()
258 ArrayRef<const uint8_t> code, in CreateCompiledMethod()
291 ArrayRef<const uint8_t> code, in SetThunkCode()
/art/compiler/
Dcommon_compiler_test.cc51 CodeAndMetadata(ArrayRef<const uint8_t> code, in CodeAndMetadata()
135 ArrayRef<const uint8_t> code, in CreateCompiledMethod()
161 [[maybe_unused]] ArrayRef<const uint8_t> code, in SetThunkCode()
203 const void* CommonCompilerTestImpl::MakeExecutable(ArrayRef<const uint8_t> code, in MakeExecutable()
/art/compiler/optimizing/
Djit_patches_arm64.cc43 static void PatchJitRootUse(uint8_t* code, in PatchJitRootUse()
55 uint8_t* code, in EmitJitRootPatches()
/art/runtime/arch/x86_64/
Dthread_x86_64.cc37 static void arch_prctl(int code, void* val) { in arch_prctl()
/art/test/701-easy-div-rem/
DgenMain.py85 code = \ variable
/art/libdexfile/external/
Ddex_file_ext.cc64 art::CodeItemInstructionAccessor code = method.GetInstructions(); in FindMethod() local
90 art::CodeItemInstructionAccessor code = method.GetInstructions(); in CreateClassCache() local
250 art::CodeItemInstructionAccessor code = method.GetInstructions(); in ADexFile_forEachMethod() local

123