Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 60) sorted by relevance

123

/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc171 void X86JNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef() argument
174 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRef()
177 void X86JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument
180 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRawPtr()
183 void X86JNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister) { in StoreImmediateToFrame() argument
184 __ movl(Address(ESP, dest), Immediate(imm)); in StoreImmediateToFrame()
208 X86ManagedRegister dest = mdest.AsX86(); in Load() local
209 if (dest.IsNoRegister()) { in Load()
211 } else if (dest.IsCpuRegister()) { in Load()
213 __ movl(dest.AsCpuRegister(), Address(ESP, src)); in Load()
[all …]
Djni_macro_assembler_x86.h60 void StoreRef(FrameOffset dest, ManagedRegister src) override;
61 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
63 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override;
71 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off,
75 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
77 void LoadFromThread(ManagedRegister dest, ThreadOffset32 src, size_t size) override;
79 void LoadRef(ManagedRegister dest, FrameOffset src) override;
81 void LoadRef(ManagedRegister dest, ManagedRegister base, MemberOffset offs,
84 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
86 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset32 offs) override;
[all …]
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h61 void StoreRef(FrameOffset dest, ManagedRegister src) override;
62 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
64 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override;
72 void StoreSpanning(FrameOffset dest,
78 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
80 void LoadFromThread(ManagedRegister dest, ThreadOffset64 src, size_t size) override;
82 void LoadRef(ManagedRegister dest, FrameOffset src) override;
84 void LoadRef(ManagedRegister dest,
89 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
91 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset64 offs) override;
[all …]
Djni_macro_assembler_x86_64.cc206 void X86_64JNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef() argument
209 __ movl(Address(CpuRegister(RSP), dest), src.AsCpuRegister()); in StoreRef()
212 void X86_64JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument
215 __ movq(Address(CpuRegister(RSP), dest), src.AsCpuRegister()); in StoreRawPtr()
218 void X86_64JNIMacroAssembler::StoreImmediateToFrame(FrameOffset dest, in StoreImmediateToFrame() argument
221 __ movl(Address(CpuRegister(RSP), dest), Immediate(imm)); // TODO(64) movq? in StoreImmediateToFrame()
245 X86_64ManagedRegister dest = mdest.AsX86_64(); in Load() local
246 if (dest.IsNoRegister()) { in Load()
248 } else if (dest.IsCpuRegister()) { in Load()
251 __ movl(dest.AsCpuRegister(), Address(CpuRegister(RSP), src)); in Load()
[all …]
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.h70 void StoreRef(FrameOffset dest, ManagedRegister src) override;
71 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
72 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override;
77 void StoreSpanning(FrameOffset dest,
83 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
84 void LoadFromThread(ManagedRegister dest, ThreadOffset64 src, size_t size) override;
85 void LoadRef(ManagedRegister dest, FrameOffset src) override;
86 void LoadRef(ManagedRegister dest,
90 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
91 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset64 offs) override;
[all …]
Djni_macro_assembler_arm64.cc203 void Arm64JNIMacroAssembler::LoadImmediate(XRegister dest, int32_t value, Condition cond) { in LoadImmediate() argument
205 ___ Mov(reg_x(dest), value); in LoadImmediate()
211 temps.Exclude(reg_x(dest)); in LoadImmediate()
214 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate()
216 ___ Csel(reg_x(dest), reg_x(XZR), reg_x(dest), cond); in LoadImmediate()
222 WRegister dest, in LoadWFromOffset() argument
227 ___ Ldrsb(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset()
230 ___ Ldrsh(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset()
233 ___ Ldrb(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset()
236 ___ Ldrh(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset()
[all …]
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.h67 void StoreRef(FrameOffset dest, ManagedRegister src) override;
68 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override;
70 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) override;
78 void StoreSpanning(FrameOffset dest,
84 void Load(ManagedRegister dest, FrameOffset src, size_t size) override;
86 void LoadFromThread(ManagedRegister dest,
90 void LoadRef(ManagedRegister dest, FrameOffset src) override;
92 void LoadRef(ManagedRegister dest,
97 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
99 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset32 offs) override;
[all …]
Djni_macro_assembler_arm_vixl.cc235 void ArmVIXLJNIMacroAssembler::Store(FrameOffset dest, ManagedRegister m_src, size_t size) { in Store() argument
243 asm_.StoreToOffset(kStoreWord, AsVIXLRegister(src), sp, dest.Int32Value()); in Store()
246 asm_.StoreToOffset(kStoreWord, AsVIXLRegisterPairLow(src), sp, dest.Int32Value()); in Store()
247 asm_.StoreToOffset(kStoreWord, AsVIXLRegisterPairHigh(src), sp, dest.Int32Value() + 4); in Store()
250 asm_.StoreSToOffset(AsVIXLSRegister(src), sp, dest.Int32Value()); in Store()
254 asm_.StoreDToOffset(AsVIXLDRegister(src), sp, dest.Int32Value()); in Store()
258 void ArmVIXLJNIMacroAssembler::StoreRef(FrameOffset dest, ManagedRegister msrc) { in StoreRef() argument
262 asm_.StoreToOffset(kStoreWord, src, sp, dest.Int32Value()); in StoreRef()
265 void ArmVIXLJNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument
269 asm_.StoreToOffset(kStoreWord, src, sp, dest.Int32Value()); in StoreRawPtr()
[all …]
Dassembler_arm_vixl.cc303 vixl32::Register dest, in LoadFromOffset() argument
314 AddConstant(dest, base, add_to_base); in LoadFromOffset()
315 base = dest; in LoadFromOffset()
319 vixl32::Register temp = (dest.Is(base)) ? temps.Acquire() : dest; in LoadFromOffset()
323 ___ Add(dest, dest, (dest.Is(base)) ? temp : base); in LoadFromOffset()
324 base = dest; in LoadFromOffset()
332 ___ Ldrsb(dest, MemOperand(base, offset)); in LoadFromOffset()
335 ___ Ldrb(dest, MemOperand(base, offset)); in LoadFromOffset()
338 ___ Ldrsh(dest, MemOperand(base, offset)); in LoadFromOffset()
341 ___ Ldrh(dest, MemOperand(base, offset)); in LoadFromOffset()
[all …]
/art/
Dtest.py31 parser.add_argument('-j', default='', dest='n_threads', help='specify number of concurrent tests')
32 parser.add_argument('--run-test', '-r', action='store_true', dest='run_test', help='execute run tes…
33 parser.add_argument('--gtest', '-g', action='store_true', dest='gtest', help='execute gtest tests')
34 parser.add_argument('--target', action='store_true', dest='target', help='test on target system')
35 parser.add_argument('--host', action='store_true', dest='host', help='test on build host system')
36 parser.add_argument('--help-runner', action='store_true', dest='help_runner', help='show help for o…
/art/libartbase/base/
Dleb128.h246 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128() argument
250 *dest++ = out | 0x80; in EncodeUnsignedLeb128()
254 *dest++ = out; in EncodeUnsignedLeb128()
255 return dest; in EncodeUnsignedLeb128()
259 static inline void EncodeUnsignedLeb128(Vector* dest, uint32_t value) { in EncodeUnsignedLeb128() argument
264 dest->push_back(out | 0x80); in EncodeUnsignedLeb128()
268 dest->push_back(out); in EncodeUnsignedLeb128()
273 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128() argument
274 const uint8_t* old_end = dest; in UpdateUnsignedLeb128()
277 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128()
[all …]
Dmem_map_test.cc165 MemMap dest = MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest", in TEST_F() local
170 ASSERT_TRUE(dest.IsValid()); in TEST_F()
178 void* dest_addr = dest.Begin(); in TEST_F()
185 ASSERT_TRUE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F()
191 ASSERT_EQ(dest.Size(), static_cast<size_t>(kPageSize)); in TEST_F()
193 ASSERT_EQ(memcmp(dest.Begin(), data.data(), dest.Size()), 0); in TEST_F()
198 MemMap dest = MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest", in TEST_F() local
207 ASSERT_TRUE(dest.IsValid()); in TEST_F()
215 uint8_t* dest_addr = dest.Begin(); in TEST_F()
223 dest.SetSize(kPageSize); in TEST_F()
[all …]
Dcasts.h93 Dest dest; in bit_cast() local
94 memcpy(&dest, &source, sizeof(dest)); in bit_cast()
95 return dest; in bit_cast()
/art/compiler/utils/
Djni_macro_assembler.h83 virtual void StoreRef(FrameOffset dest, ManagedRegister src) = 0;
84 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0;
86 virtual void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) = 0;
94 virtual void StoreSpanning(FrameOffset dest,
100 virtual void Load(ManagedRegister dest, FrameOffset src, size_t size) = 0;
102 virtual void LoadFromThread(ManagedRegister dest,
106 virtual void LoadRef(ManagedRegister dest, FrameOffset src) = 0;
108 virtual void LoadRef(ManagedRegister dest,
113 virtual void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) = 0;
115 virtual void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset<kPointerSize> offs) = 0;
[all …]
/art/libdexfile/dex/
Dcompact_dex_utils.h28 static inline void AlignmentPadVector(std::vector<T, Allocator<T>>* dest, in AlignmentPadVector() argument
30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector()
31 dest->push_back(T()); in AlignmentPadVector()
/art/tools/checker/
Dchecker.py32 parser.add_argument("--check-prefix", dest="check_prefix", default="CHECK", metavar="PREFIX",
34 parser.add_argument("--list-passes", dest="list_passes", action="store_true",
36 parser.add_argument("--dump-pass", dest="dump_pass", metavar="PASS",
38 parser.add_argument("--arch", dest="arch", choices=archs_list,
/art/test/testrunner/
Dtestrunner.py1003 parser.add_argument('-t', '--test', action='append', dest='tests', help='name(s) of the test(s)')
1006 global_group.add_argument('-j', type=int, dest='n_thread')
1007 global_group.add_argument('--timeout', default=timeout, type=int, dest='timeout')
1008 global_group.add_argument('--verbose', '-v', action='store_true', dest='verbose')
1009 global_group.add_argument('--dry-run', action='store_true', dest='dry_run')
1010 global_group.add_argument("--skip", action='append', dest="skips", default=[],
1012 global_group.add_argument("--no-skips", dest="ignore_skips", action='store_true', default=False,
1016 action='store_false', dest='build',
1020 action='store_true', dest='build',
1023 global_group.add_argument('--build-target', dest='build_target', help='master-art-host targets')
[all …]
/art/libartbase/base/unix_file/
Dfd_file_test.cc159 FdFile dest(src_tmp.GetFilename(), O_RDWR, false); in TEST_F() local
160 ASSERT_GE(dest.Fd(), 0); in TEST_F()
161 ASSERT_TRUE(dest.IsOpened()); in TEST_F()
163 ASSERT_TRUE(dest.Copy(&src, 0, sizeof(src_data))); in TEST_F()
164 ASSERT_EQ(0, dest.Flush()); in TEST_F()
165 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F()
168 ASSERT_TRUE(dest.PreadFully(check_data, sizeof(src_data), 0u)); in TEST_F()
171 ASSERT_EQ(0, dest.Close()); in TEST_F()
/art/runtime/mirror/
Dobject.cc77 ObjPtr<Object> Object::CopyObject(ObjPtr<mirror::Object> dest, in CopyObject() argument
84 uint8_t* dst_bytes = reinterpret_cast<uint8_t*>(dest.Ptr()) + offset; in CopyObject()
121 CopyReferenceFieldsWithReadBarrierVisitor visitor(dest); in CopyObject()
128 ObjPtr<ObjectArray<Object>> array = dest->AsObjectArray<Object>(); in CopyObject()
129 WriteBarrier::ForArrayWrite(dest, 0, array->GetLength()); in CopyObject()
132 WriteBarrier::ForEveryFieldWrite(dest); in CopyObject()
134 return dest; in CopyObject()
Ddex_cache-inl.h396 inline void DexCache::FixupStrings(StringDexCacheType* dest, const Visitor& visitor) { in FixupStrings() argument
403 dest[i].store(source, std::memory_order_relaxed); in FixupStrings()
408 inline void DexCache::FixupResolvedTypes(TypeDexCacheType* dest, const Visitor& visitor) { in FixupResolvedTypes() argument
415 dest[i].store(source, std::memory_order_relaxed); in FixupResolvedTypes()
420 inline void DexCache::FixupResolvedMethodTypes(MethodTypeDexCacheType* dest, in FixupResolvedMethodTypes() argument
428 dest[i].store(source, std::memory_order_relaxed); in FixupResolvedMethodTypes()
433 inline void DexCache::FixupResolvedCallSites(GcRoot<mirror::CallSite>* dest, in FixupResolvedCallSites() argument
439 dest[i] = GcRoot<mirror::CallSite>(new_source); in FixupResolvedCallSites()
/art/tools/runtime_memusage/
Dprune_sanitizer_output.py106 default="", dest="out_dir_name", type=extant_directory,
109 default=False, dest="check_exact",
113 default=4, dest="stack_min_size", type=int,
Dsymbol_trace_info.py142 default="", dest="out_dir_name", type=is_directory,
145 default=None, dest="dex_file",
150 dest="offsets",
158 dest="times",
/art/test/986-native-method-bind/src/art/
DTest986.java37 private static void setNativeTransform(Method method, String dest) { in setNativeTransform() argument
38 SymbolMap.put(method, dest); in setNativeTransform()
/art/tools/
Dgenerate_cmake_lists.py58 parser.add_argument('--project-name', dest="project_name", required=True,
60 parser.add_argument('--arch', dest="arch", required=True, help='arch')
/art/compiler/optimizing/
Dcode_generator_x86_64.h551 void Load32BitValue(CpuRegister dest, int32_t value);
552 void Load64BitValue(CpuRegister dest, int64_t value);
553 void Load32BitValue(XmmRegister dest, int32_t value);
554 void Load64BitValue(XmmRegister dest, int64_t value);
555 void Load32BitValue(XmmRegister dest, float value);
556 void Load64BitValue(XmmRegister dest, double value);
559 void Compare32BitValue(CpuRegister dest, int32_t value);
560 void Compare64BitValue(CpuRegister dest, int64_t value);
578 void Store64BitValueToStack(Location dest, int64_t value);

123