Home
last modified time | relevance | path

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

12

/art/runtime/base/
Dcasts.h79 inline Dest bit_cast(const Source& source) { in bit_cast() argument
84 memcpy(&dest, &source, sizeof(dest)); in bit_cast()
91 inline Dest dchecked_integral_cast(const Source source) { in dchecked_integral_cast() argument
96 source >= static_cast<Source>(std::numeric_limits<Dest>::min())) && in dchecked_integral_cast()
100 source <= static_cast<Source>(std::numeric_limits<Dest>::max()))); in dchecked_integral_cast()
102 return static_cast<Dest>(source); in dchecked_integral_cast()
/art/compiler/optimizing/
Dparallel_move_resolver.cc93 Location source = move->GetSource(); in UpdateSourceOf() local
94 if (LowOf(updated_location).Equals(source)) { in UpdateSourceOf()
96 } else if (HighOf(updated_location).Equals(source)) { in UpdateSourceOf()
99 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; in UpdateSourceOf()
206 Location source = move->GetSource(); in PerformMove() local
211 if (other_move.Blocks(source)) { in PerformMove()
212 UpdateSourceOf(moves_.Get(i), source, swap_destination); in PerformMove()
214 UpdateSourceOf(moves_.Get(i), swap_destination, source); in PerformMove()
317 Location source = move->GetSource(); in EmitNativeCode() local
328 UpdateMoveSource(source, destination); in EmitNativeCode()
[all …]
Dregister_allocator.h115 Location source,
119 Location source,
121 void InsertMoveAfter(HInstruction* instruction, Location source, Location destination) const;
124 Location source,
128 Location source,
132 Location source,
Dregister_allocator.cc1296 Location source, in AddMove() argument
1303 && !source.IsConstant()) { in AddMove()
1304 move->AddMove(source.ToLow(), destination.ToLow(), Primitive::kPrimInt, instruction); in AddMove()
1305 move->AddMove(source.ToHigh(), destination.ToHigh(), Primitive::kPrimInt, nullptr); in AddMove()
1307 move->AddMove(source, destination, type, instruction); in AddMove()
1313 Location source, in AddInputMoveFor() argument
1315 if (source.Equals(destination)) return; in AddInputMoveFor()
1331 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
1344 Location source, in InsertParallelMoveAt() argument
1347 if (source.Equals(destination)) return; in InsertParallelMoveAt()
[all …]
Dcode_generator_arm.cc711 void CodeGeneratorARM::Move32(Location destination, Location source) { in Move32() argument
712 if (source.Equals(destination)) { in Move32()
716 if (source.IsRegister()) { in Move32()
717 __ Mov(destination.AsRegister<Register>(), source.AsRegister<Register>()); in Move32()
718 } else if (source.IsFpuRegister()) { in Move32()
719 __ vmovrs(destination.AsRegister<Register>(), source.AsFpuRegister<SRegister>()); in Move32()
721 __ LoadFromOffset(kLoadWord, destination.AsRegister<Register>(), SP, source.GetStackIndex()); in Move32()
724 if (source.IsRegister()) { in Move32()
725 __ vmovsr(destination.AsFpuRegister<SRegister>(), source.AsRegister<Register>()); in Move32()
726 } else if (source.IsFpuRegister()) { in Move32()
[all …]
Dcode_generator_x86.cc615 void CodeGeneratorX86::Move32(Location destination, Location source) { in Move32() argument
616 if (source.Equals(destination)) { in Move32()
620 if (source.IsRegister()) { in Move32()
621 __ movl(destination.AsRegister<Register>(), source.AsRegister<Register>()); in Move32()
622 } else if (source.IsFpuRegister()) { in Move32()
623 __ movd(destination.AsRegister<Register>(), source.AsFpuRegister<XmmRegister>()); in Move32()
625 DCHECK(source.IsStackSlot()); in Move32()
626 __ movl(destination.AsRegister<Register>(), Address(ESP, source.GetStackIndex())); in Move32()
629 if (source.IsRegister()) { in Move32()
630 __ movd(destination.AsFpuRegister<XmmRegister>(), source.AsRegister<Register>()); in Move32()
[all …]
Dcode_generator_x86_64.cc616 void CodeGeneratorX86_64::Move(Location destination, Location source) { in Move() argument
617 if (source.Equals(destination)) { in Move()
621 if (source.IsRegister()) { in Move()
622 __ movq(destination.AsRegister<CpuRegister>(), source.AsRegister<CpuRegister>()); in Move()
623 } else if (source.IsFpuRegister()) { in Move()
624 __ movd(destination.AsRegister<CpuRegister>(), source.AsFpuRegister<XmmRegister>()); in Move()
625 } else if (source.IsStackSlot()) { in Move()
627 Address(CpuRegister(RSP), source.GetStackIndex())); in Move()
629 DCHECK(source.IsDoubleStackSlot()); in Move()
631 Address(CpuRegister(RSP), source.GetStackIndex())); in Move()
[all …]
Dcode_generator_arm64.cc727 void CodeGeneratorARM64::MoveLocation(Location destination, Location source, Primitive::Type type) { in MoveLocation() argument
728 if (source.Equals(destination)) { in MoveLocation()
740 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
741 if (source.IsStackSlot() || in MoveLocation()
758 if (source.IsStackSlot() || source.IsDoubleStackSlot()) { in MoveLocation()
759 DCHECK(dst.Is64Bits() == source.IsDoubleStackSlot()); in MoveLocation()
760 __ Ldr(dst, StackOperandFrom(source)); in MoveLocation()
761 } else if (source.IsConstant()) { in MoveLocation()
762 DCHECK(CoherentConstantAndType(source, type)); in MoveLocation()
763 MoveConstant(dst, source.GetConstant()); in MoveLocation()
[all …]
Dcode_generator_x86.h179 void PushOntoFPStack(Location source, uint32_t temp_offset,
257 void Move32(Location destination, Location source);
259 void Move64(Location destination, Location source);
Dcode_generator_mips64.cc593 Location source, in MoveLocation() argument
595 if (source.Equals(destination)) { in MoveLocation()
607 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
608 if (source.IsStackSlot() || in MoveLocation()
624 if (source.IsStackSlot() || source.IsDoubleStackSlot()) { in MoveLocation()
626 LoadOperandType load_type = source.IsStackSlot() ? kLoadWord : kLoadDoubleword; in MoveLocation()
631 source.GetStackIndex()); in MoveLocation()
637 source.GetStackIndex()); in MoveLocation()
639 } else if (source.IsConstant()) { in MoveLocation()
646 __ LoadConst32(gpr, GetInt32ValueOf(source.GetConstant()->AsConstant())); in MoveLocation()
[all …]
Dparallel_move_resolver.h172 void AddPendingMove(Location source, Location destination, Primitive::Type type);
Dcode_generator_arm.h264 void Move32(Location destination, Location source);
266 void Move64(Location destination, Location source);
Dcode_generator_x86_64.h183 void PushOntoFPStack(Location source, uint32_t temp_offset,
256 void Move(Location destination, Location source);
Dcode_generator_mips64.h268 void MoveLocation(Location destination, Location source, Primitive::Type type);
Dcode_generator_arm64.h323 void MoveLocation(Location destination, Location source,
Dnodes.h3821 MoveOperands(Location source, in MoveOperands() argument
3825 : source_(source), destination_(destination), type_(type), instruction_(instruction) {} in MoveOperands()
3900 void AddMove(Location source, in AddMove() argument
3904 DCHECK(source.IsValid()); in AddMove()
3929 moves_.Add(MoveOperands(source, destination, type, instruction)); in AddMove()
/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/
Dassembler_arm64.cc95 void Arm64Assembler::StoreWToOffset(StoreOperandType type, WRegister source, in StoreWToOffset() argument
99 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
102 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
105 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset)); in StoreWToOffset()
112 void Arm64Assembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) { in StoreToOffset() argument
113 CHECK_NE(source, SP); in StoreToOffset()
114 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset)); in StoreToOffset()
117 void Arm64Assembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) { in StoreSToOffset() argument
118 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset)); in StoreSToOffset()
121 void Arm64Assembler::StoreDToOffset(DRegister source, XRegister base, int32_t offset) { in StoreDToOffset() argument
[all …]
Dassembler_arm64.h216 void StoreWToOffset(StoreOperandType type, WRegister source,
218 void StoreToOffset(XRegister source, XRegister base, int32_t offset);
219 void StoreSToOffset(SRegister source, XRegister base, int32_t offset);
220 void StoreDToOffset(DRegister source, XRegister base, int32_t offset);
/art/runtime/
Dthread_pool.h155 virtual void StealFrom(Thread* self, WorkStealingTask* source) = 0;
Delf_file_impl.h161 bool CheckSectionsLinked(const uint8_t* source, const uint8_t* target) const;
/art/cmdline/
Dcmdline_types.h744 static std::string RemovePrefix(const std::string& source) {
745 size_t prefix_idx = source.find(":");
751 return source.substr(prefix_idx + 1);
/art/
DNOTICE40 including but not limited to software source code, documentation
41 source, and configuration files.
69 communication on electronic mailing lists, source code control systems,
219 * Redistributions of source code must retain the above copyright notice,

12