Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 70) sorted by relevance

123

/art/runtime/base/
Dcasts.h80 inline Dest bit_cast(const Source& source) { in bit_cast() argument
85 memcpy(&dest, &source, sizeof(dest)); in bit_cast()
92 inline Dest dchecked_integral_cast(const Source source) { in dchecked_integral_cast() argument
97 source >= static_cast<Source>(std::numeric_limits<Dest>::min())) && in dchecked_integral_cast()
101 source <= static_cast<Source>(std::numeric_limits<Dest>::max()))) in dchecked_integral_cast()
102 << "dchecked_integral_cast failed for " << source in dchecked_integral_cast()
103 << " (would be " << static_cast<Dest>(source) << ")"; in dchecked_integral_cast()
105 return static_cast<Dest>(source); in dchecked_integral_cast()
112 inline Dest reinterpret_cast64(Source source) { in reinterpret_cast64() argument
118 DCHECK_EQ(static_cast<Source>(static_cast<uintptr_t>(source)), source); in reinterpret_cast64()
[all …]
/art/compiler/optimizing/
Dregister_allocation_resolver.cc126 Location source = current->ToLocation(); in Resolve() local
131 locations->SetInAt(0, source); in Resolve()
133 DCHECK(locations->InAt(0).Equals(source)); in Resolve()
136 locations->UpdateOut(source); in Resolve()
138 DCHECK(source.Equals(location)); in Resolve()
189 Location source = input->GetLiveInterval()->GetLocationAt( in Resolve() local
192 InsertParallelMoveAtExitOf(predecessor, phi, source, destination); in Resolve()
238 Location source = current->ToLocation(); in UpdateSafepointLiveRegisters() local
244 switch (source.GetKind()) { in UpdateSafepointLiveRegisters()
247 locations->AddLiveRegister(source); in UpdateSafepointLiveRegisters()
[all …]
Dregister_allocation_resolver.h72 Location source,
76 Location source,
78 void InsertMoveAfter(HInstruction* instruction, Location source, Location destination) const;
81 Location source,
85 Location source,
88 Location source,
Dparallel_move_resolver.cc108 Location source = move->GetSource(); in UpdateSourceOf() local
109 if (LowOf(updated_location).Equals(source)) { in UpdateSourceOf()
111 } else if (HighOf(updated_location).Equals(source)) { in UpdateSourceOf()
114 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; in UpdateSourceOf()
220 Location source = move->GetSource(); in PerformMove() local
224 if (other_move->Blocks(source)) { in PerformMove()
225 UpdateSourceOf(other_move, source, swap_destination); in PerformMove()
227 UpdateSourceOf(other_move, swap_destination, source); in PerformMove()
330 Location source = move->GetSource(); in EmitNativeCode() local
341 UpdateMoveSource(source, destination); in EmitNativeCode()
[all …]
Dcode_generator_x86.cc1213 void CodeGeneratorX86::Move32(Location destination, Location source) { in Move32() argument
1214 if (source.Equals(destination)) { in Move32()
1218 if (source.IsRegister()) { in Move32()
1219 __ movl(destination.AsRegister<Register>(), source.AsRegister<Register>()); in Move32()
1220 } else if (source.IsFpuRegister()) { in Move32()
1221 __ movd(destination.AsRegister<Register>(), source.AsFpuRegister<XmmRegister>()); in Move32()
1223 DCHECK(source.IsStackSlot()); in Move32()
1224 __ movl(destination.AsRegister<Register>(), Address(ESP, source.GetStackIndex())); in Move32()
1227 if (source.IsRegister()) { in Move32()
1228 __ movd(destination.AsFpuRegister<XmmRegister>(), source.AsRegister<Register>()); in Move32()
[all …]
Dcode_generator_x86_64.cc1350 void CodeGeneratorX86_64::Move(Location destination, Location source) { in Move() argument
1351 if (source.Equals(destination)) { in Move()
1356 if (source.IsRegister()) { in Move()
1357 __ movq(dest, source.AsRegister<CpuRegister>()); in Move()
1358 } else if (source.IsFpuRegister()) { in Move()
1359 __ movd(dest, source.AsFpuRegister<XmmRegister>()); in Move()
1360 } else if (source.IsStackSlot()) { in Move()
1361 __ movl(dest, Address(CpuRegister(RSP), source.GetStackIndex())); in Move()
1362 } else if (source.IsConstant()) { in Move()
1363 HConstant* constant = source.GetConstant(); in Move()
[all …]
Dcode_generator_arm_vixl.cc2837 void CodeGeneratorARMVIXL::Move32(Location destination, Location source) { in Move32() argument
2838 if (source.Equals(destination)) { in Move32()
2842 if (source.IsRegister()) { in Move32()
2843 __ Mov(RegisterFrom(destination), RegisterFrom(source)); in Move32()
2844 } else if (source.IsFpuRegister()) { in Move32()
2845 __ Vmov(RegisterFrom(destination), SRegisterFrom(source)); in Move32()
2850 source.GetStackIndex()); in Move32()
2853 if (source.IsRegister()) { in Move32()
2854 __ Vmov(SRegisterFrom(destination), RegisterFrom(source)); in Move32()
2855 } else if (source.IsFpuRegister()) { in Move32()
[all …]
Dcode_generator_arm64.cc1767 Location source, in MoveLocation() argument
1769 if (source.Equals(destination)) { in MoveLocation()
1781 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1782 if (source.IsStackSlot() || in MoveLocation()
1799 if (source.IsStackSlot() || source.IsDoubleStackSlot()) { in MoveLocation()
1800 DCHECK(dst.Is64Bits() == source.IsDoubleStackSlot()); in MoveLocation()
1801 __ Ldr(dst, StackOperandFrom(source)); in MoveLocation()
1802 } else if (source.IsSIMDStackSlot()) { in MoveLocation()
1803 __ Ldr(QRegisterFrom(destination), StackOperandFrom(source)); in MoveLocation()
1804 } else if (source.IsConstant()) { in MoveLocation()
[all …]
/art/runtime/interpreter/mterp/
Dgen_mterp.py105 source = tokens[1]
106 if source.endswith(".S"):
110 % source)
334 def loadAndEmitAltStub(source, opindex): argument
337 print " alt emit %s --> stub" % source
342 appendSourceFile(source, dict, asm_fp, None)
361 source = "%s/alt_%s.S" % (alt_opcode_locations[op], op)
363 source = default_alt_stub
364 loadAndEmitAltStub(source, i)
376 source = "%s/%s.S" % (location, op)
[all …]
/art/test/992-source-data/
Dexpected.txt4 int does not have a known source file because java.lang.RuntimeException: JVMTI_ERROR_ABSENT_INFORM…
8 class [Ljava.lang.Object; does not have a known source file because java.lang.RuntimeException: JVM…
9 class [I does not have a known source file because java.lang.RuntimeException: JVMTI_ERROR_ABSENT_I…
10 null does not have a known source file because java.lang.RuntimeException: JVMTI_ERROR_INVALID_CLASS
Dinfo.txt1 Tests that we can get the source file of a class from JVMTI.
/art/runtime/mirror/
Ddex_cache-inl.h312 DexCachePair<T> source = pairs[i].load(std::memory_order_relaxed); in VisitDexCachePairs() local
318 T* const before = source.object.template Read<kReadBarrierOption>(); in VisitDexCachePairs()
319 visitor.VisitRootIfNonNull(source.object.AddressWithoutBarrier()); in VisitDexCachePairs()
320 if (source.object.template Read<kReadBarrierOption>() != before) { in VisitDexCachePairs()
321 pairs[i].store(source, std::memory_order_relaxed); in VisitDexCachePairs()
355 StringDexCachePair source = src[i].load(std::memory_order_relaxed); in FixupStrings() local
356 String* ptr = source.object.Read<kReadBarrierOption>(); in FixupStrings()
358 source.object = GcRoot<String>(new_source); in FixupStrings()
359 dest[i].store(source, std::memory_order_relaxed); in FixupStrings()
367 TypeDexCachePair source = src[i].load(std::memory_order_relaxed); in FixupResolvedTypes() local
[all …]
/art/runtime/verifier/
Dverifier_deps.cc340 mirror::Class* source) const { in FindOneClassPathBoundaryForInterface()
344 mirror::Class* current = source; in FindOneClassPathBoundaryForInterface()
367 int32_t iftable_count = source->GetIfTableCount(); in FindOneClassPathBoundaryForInterface()
368 ObjPtr<mirror::IfTable> iftable = source->GetIfTable(); in FindOneClassPathBoundaryForInterface()
395 mirror::Class* source, in AddAssignability() argument
405 DCHECK(source != nullptr); in AddAssignability()
407 if (destination->IsPrimitive() || source->IsPrimitive()) { in AddAssignability()
414 if (source->IsObjectClass() && !is_assignable) { in AddAssignability()
420 if (destination == source || in AddAssignability()
428 if (destination->IsArrayClass() && source->IsArrayClass()) { in AddAssignability()
[all …]
Dverifier_deps.h103 mirror::Class* source,
222 mirror::Class* source) const
277 mirror::Class* source,
/art/test/082-inline-execute/src/junit/framework/
DComparisonCompactor.java39 private String compactString(String source) { in compactString() argument
40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
/art/test/021-string2/src/junit/framework/
DComparisonCompactor.java39 private String compactString(String source) { in compactString() argument
40 String result= DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
/art/test/098-ddmc/
Dexpected.txt2 …mber of class name strings: 0 number of method name strings: 0 number of source file name strings:…
14 …mber of class name strings: 0 number of method name strings: 0 number of source file name strings:…
23 …mber of class name strings: 0 number of method name strings: 0 number of source file name strings:…
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.h204 WRegister source,
207 void StoreToOffset(XRegister source, XRegister base, int32_t offset);
208 void StoreSToOffset(SRegister source, XRegister base, int32_t offset);
209 void StoreDToOffset(DRegister source, XRegister base, int32_t offset);
Djni_macro_assembler_arm64.cc96 WRegister source, in StoreWToOffset() argument
101 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
104 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
107 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
114 void Arm64JNIMacroAssembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) { in StoreToOffset() argument
115 CHECK_NE(source, SP); in StoreToOffset()
116 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset)); in StoreToOffset()
119 void Arm64JNIMacroAssembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) { in StoreSToOffset() argument
120 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset)); in StoreSToOffset()
123 void Arm64JNIMacroAssembler::StoreDToOffset(DRegister source, XRegister base, int32_t offset) { in StoreDToOffset() argument
[all …]
/art/test/121-modifiers/smali/
DInf.smali19 .source "Inf.java"
DA$C.smali19 .source "Main.java"
DA.smali19 .source "Main.java"
/art/tools/checker/
DREADME7 source file. They begin with prefix "/// CHECK" or "## CHECK", respectively,
17 source file. There are three types of check lines:
50 The following assertions can be placed in a Java source file:
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc340 void ArmVIXLAssembler::StoreSToOffset(vixl32::SRegister source, in StoreSToOffset() argument
343 ___ Vstr(source, MemOperand(base, offset)); in StoreSToOffset()
346 void ArmVIXLAssembler::StoreDToOffset(vixl32::DRegister source, in StoreDToOffset() argument
349 ___ Vstr(source, MemOperand(base, offset)); in StoreDToOffset()
/art/runtime/openjdkjvmti/
Dart_jvmti.h192 const unsigned char* source, in CopyDataIntoJvmtiBuffer() argument
200 reinterpret_cast<const void*>(source), in CopyDataIntoJvmtiBuffer()

123