/art/compiler/optimizing/ |
D | intrinsics_arm64.cc | 403 Register temp = (type == DataType::Type::kInt64) ? temps.AcquireX() : temps.AcquireW(); in GenHighestOneBit() local 407 __ Clz(temp, src); in GenHighestOneBit() 409 __ Bic(dst, dst, Operand(temp, LSL, high_bit - clz_high_bit)); // Clear dst if src was 0. in GenHighestOneBit() 410 __ Lsr(dst, dst, temp); in GenHighestOneBit() 436 Register temp = (type == DataType::Type::kInt64) ? temps.AcquireX() : temps.AcquireW(); in GenLowestOneBit() local 438 __ Neg(temp, src); in GenLowestOneBit() 439 __ And(dst, temp, src); in GenLowestOneBit() 681 Register temp = WRegisterFrom(locations->GetTemp(0)); in GenUnsafeGet() local 684 __ Add(temp, base, offset.W()); // Offset should not exceed 32 bits. in GenUnsafeGet() 688 MemOperand(temp.X()), in GenUnsafeGet() [all …]
|
D | code_generator_x86.cc | 554 Register temp) in ReadBarrierMarkAndUpdateFieldSlowPathX86() argument 560 temp_(temp) { in ReadBarrierMarkAndUpdateFieldSlowPathX86() 2424 Register temp = EBP; in MaybeGenerateInlineCacheCheck() local 2426 __ movl(temp, Immediate(address)); in MaybeGenerateInlineCacheCheck() 2428 __ cmpl(klass, Address(temp, InlineCache::ClassesOffset().Int32Value())); in MaybeGenerateInlineCacheCheck() 2439 Register temp = locations->GetTemp(0).AsRegister<Register>(); in VisitInvokeInterface() local 2447 __ movl(temp, Immediate(invoke->GetDexMethodIndex())); in VisitInvokeInterface() 2448 __ movd(hidden_reg, temp); in VisitInvokeInterface() 2451 __ movl(temp, Address(ESP, receiver.GetStackIndex())); in VisitInvokeInterface() 2453 __ movl(temp, Address(temp, class_offset)); in VisitInvokeInterface() [all …]
|
D | register_allocation_resolver.cc | 202 for (LiveInterval* temp : temp_intervals) { in Resolve() 203 if (temp->IsHighInterval()) { in Resolve() 207 HInstruction* at = liveness_.GetTempUser(temp); in Resolve() 208 size_t temp_index = liveness_.GetTempIndex(temp); in Resolve() 210 switch (temp->GetType()) { in Resolve() 212 locations->SetTempAt(temp_index, Location::RegisterLocation(temp->GetRegister())); in Resolve() 218 temp->GetRegister(), temp->GetHighInterval()->GetRegister()); in Resolve() 221 locations->SetTempAt(temp_index, Location::FpuRegisterLocation(temp->GetRegister())); in Resolve() 227 << temp->GetType(); in Resolve()
|
D | intrinsics_x86.cc | 194 XmmRegister temp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); in MoveFPToInt() local 195 __ movsd(temp, input.AsFpuRegister<XmmRegister>()); in MoveFPToInt() 196 __ movd(output.AsRegisterPairLow<Register>(), temp); in MoveFPToInt() 197 __ psrlq(temp, Immediate(32)); in MoveFPToInt() 198 __ movd(output.AsRegisterPairHigh<Register>(), temp); in MoveFPToInt() 816 Register temp, in CheckPosition() argument 836 __ movl(temp, Address(input, length_offset)); in CheckPosition() 837 __ subl(temp, Immediate(pos_const)); in CheckPosition() 842 __ cmpl(temp, Immediate(length.GetConstant()->AsIntConstant()->GetValue())); in CheckPosition() 844 __ cmpl(temp, length.AsRegister<Register>()); in CheckPosition() [all …]
|
D | register_allocator_linear_scan.cc | 232 Location temp = locations->GetTemp(i); in ProcessInstruction() local 233 if (temp.IsRegister() || temp.IsFpuRegister()) { in ProcessInstruction() 234 BlockRegister(temp, position, position + 1); in ProcessInstruction() 236 codegen_->AddAllocatedRegister(temp); in ProcessInstruction() 238 DCHECK(temp.IsUnallocated()); in ProcessInstruction() 239 switch (temp.GetPolicy()) { in ProcessInstruction() 266 << temp.GetPolicy(); in ProcessInstruction() 449 for (LiveInterval* temp : temp_intervals_) { in ValidateInternal() 450 if (ShouldProcess(processing_core_registers_, temp)) { in ValidateInternal() 451 intervals.push_back(temp); in ValidateInternal()
|
D | code_generator_x86.h | 241 void GenerateBitstringTypeCheckCompare(HTypeCheckInstruction* check, Register temp); 455 HInvokeStaticOrDirect* invoke, Location temp, SlowPathCode* slow_path = nullptr) override; 458 HInvokeVirtual* invoke, Location temp, SlowPathCode* slow_path = nullptr) override; 495 void MarkGCCard(Register temp, 588 Register* temp = nullptr); 678 Register GetInvokeStaticOrDirectExtraParameter(HInvokeStaticOrDirect* invoke, Register temp);
|
D | code_generator_x86_64.cc | 999 HInvokeStaticOrDirect* invoke, Location temp, SlowPathCode* slow_path) { in GenerateStaticOrDirectCall() argument 1002 Location callee_method = temp; // For all kinds except kRecursive, callee will be in temp. in GenerateStaticOrDirectCall() 1008 __ gs()->movq(temp.AsRegister<CpuRegister>(), Address::Absolute(offset, /* no_rip= */ true)); in GenerateStaticOrDirectCall() 1016 __ leal(temp.AsRegister<CpuRegister>(), in GenerateStaticOrDirectCall() 1022 __ movl(temp.AsRegister<CpuRegister>(), in GenerateStaticOrDirectCall() 1028 __ movq(temp.AsRegister<CpuRegister>(), in GenerateStaticOrDirectCall() 1035 Load64BitValue(temp.AsRegister<CpuRegister>(), invoke->GetMethodAddress()); in GenerateStaticOrDirectCall() 1038 GenerateInvokeStaticOrDirectRuntimeCall(invoke, temp, slow_path); in GenerateStaticOrDirectCall() 1100 CpuRegister temp = temp_in.AsRegister<CpuRegister>(); in GenerateVirtualCall() local 1113 __ movl(temp, Address(CpuRegister(receiver), class_offset)); in GenerateVirtualCall() [all …]
|
D | intrinsics_x86_64.cc | 611 CpuRegister temp, in CheckPosition() argument 631 __ movl(temp, Address(input, length_offset)); in CheckPosition() 632 __ subl(temp, Immediate(pos_const)); in CheckPosition() 637 __ cmpl(temp, Immediate(length.GetConstant()->AsIntConstant()->GetValue())); in CheckPosition() 639 __ cmpl(temp, length.AsRegister<CpuRegister>()); in CheckPosition() 659 __ movl(temp, Address(input, length_offset)); in CheckPosition() 660 __ subl(temp, pos_reg); in CheckPosition() 662 __ cmpl(temp, Immediate(length.GetConstant()->AsIntConstant()->GetValue())); in CheckPosition() 664 __ cmpl(temp, length.AsRegister<CpuRegister>()); in CheckPosition() 1950 CpuRegister temp = locations->GetTemp(0).AsRegister<CpuRegister>(); in GenUnsafePut() local [all …]
|
D | code_generator_arm_vixl.h | 353 vixl::aarch32::Register temp, 538 void MarkGCCard(vixl::aarch32::Register temp, 584 HInvokeStaticOrDirect* invoke, Location temp, SlowPathCode* slow_path = nullptr) override; 586 HInvokeVirtual* invoke, Location temp, SlowPathCode* slow_path = nullptr) override; 678 Location temp, 686 Location temp, 782 vixl::aarch32::Register temp = vixl32::Register());
|
D | ssa_liveness_analysis.h | 1222 HInstruction* GetTempUser(LiveInterval* temp) const { in GetTempUser() argument 1224 DCHECK(temp->IsTemp()); in GetTempUser() 1225 HInstruction* user = GetInstructionFromPosition(temp->GetStart() / 2); in GetTempUser() 1226 DCHECK_EQ(user, temp->GetUses().front().GetUser()); in GetTempUser() 1230 size_t GetTempIndex(LiveInterval* temp) const { in GetTempIndex() argument 1232 DCHECK(temp->IsTemp()); in GetTempIndex() 1233 return temp->GetUses().front().GetInputIndex(); in GetTempIndex()
|
D | register_allocator_graph_color.cc | 758 for (LiveInterval* temp : temp_intervals_) { in Validate() 759 if (IsCoreInterval(temp) == processing_core_regs) { in Validate() 760 intervals.push_back(temp); in Validate() 954 Location temp = locations->GetTemp(i); in CheckForTempLiveIntervals() local 955 if (temp.IsRegister() || temp.IsFpuRegister()) { in CheckForTempLiveIntervals() 956 BlockRegister(temp, position, position + 1); in CheckForTempLiveIntervals() 957 codegen_->AddAllocatedRegister(temp); in CheckForTempLiveIntervals() 959 DCHECK(temp.IsUnallocated()); in CheckForTempLiveIntervals() 960 switch (temp.GetPolicy()) { in CheckForTempLiveIntervals() 985 << temp.GetPolicy(); in CheckForTempLiveIntervals()
|
D | code_generator_x86_64.h | 240 void GenerateBitstringTypeCheckCompare(HTypeCheckInstruction* check, CpuRegister temp); 416 void MarkGCCard(CpuRegister temp, 456 HInvokeStaticOrDirect* invoke, Location temp, SlowPathCode* slow_path = nullptr) override; 458 HInvokeVirtual* invoke, Location temp, SlowPathCode* slow_path = nullptr) override;
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 185 void Arm64Assembler::GenerateMarkingRegisterCheck(Register temp, int code) { in GenerateMarkingRegisterCheck() argument 195 ___ Ldr(temp, MemOperand(tr, Thread::IsGcMarkingOffset<kArm64PointerSize>().Int32Value())); in GenerateMarkingRegisterCheck() 197 ___ Cmp(mr.W(), temp); in GenerateMarkingRegisterCheck()
|
D | jni_macro_assembler_arm64.cc | 96 Register temp = temps.AcquireX(); in AddConstant() local 97 ___ Add(temp, reg_x(rn), value); in AddConstant() 98 ___ Csel(reg_x(rd), temp, reg_x(rd), cond); in AddConstant() 202 Register temp = temps.AcquireX(); in LoadImmediate() local 203 ___ Mov(temp, value); in LoadImmediate() 204 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate() 866 Register temp = temps.AcquireW(); in RemoveFrame() local 868 DCHECK(!core_reg_list.IncludesAliasOf(temp.X())) in RemoveFrame() 869 << "core_reg_list should not contain scratch register X" << temp.GetCode(); in RemoveFrame() 870 asm_.GenerateMarkingRegisterCheck(temp); in RemoveFrame()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 234 char temp[1024]; in GetRootPath() local 235 return getcwd(temp, 1024) ? std::string(temp) + "/" : std::string(""); in GetRootPath()
|
/art/runtime/mirror/ |
D | object.cc | 290 std::string temp; in PrettyTypeOf() local 291 std::string result(PrettyDescriptor(klass->GetDescriptor(&temp))); in PrettyTypeOf() 293 result += "<" + PrettyDescriptor(AsClass()->GetDescriptor(&temp)) + ">"; in PrettyTypeOf()
|
/art/runtime/ |
D | class_linker_test.cc | 90 std::string temp; in AssertPrimitiveClass() local 91 ASSERT_STREQ(descriptor.c_str(), primitive->GetDescriptor(&temp)); in AssertPrimitiveClass() 129 std::string temp; in AssertObjectClass() local 130 ASSERT_STREQ(JavaLangObject->GetDescriptor(&temp), "Ljava/lang/Object;"); in AssertObjectClass() 189 std::string temp; in AssertArrayClass() local 190 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass() 202 std::string temp; in AssertArrayClass() local 203 ASSERT_STREQ(array_descriptor.c_str(), array->GetDescriptor(&temp)); in AssertArrayClass() 210 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass() 237 EXPECT_STREQ(direct_interface0->GetDescriptor(&temp), "Ljava/lang/Cloneable;"); in AssertArrayClass() [all …]
|
D | common_throws.cc | 396 std::string temp; in ThrowNoSuchFieldError() local 398 << " in class " << c->GetDescriptor(&temp) << " or its superclasses"; in ThrowNoSuchFieldError() 404 std::string temp; in ThrowNoSuchFieldException() local 405 msg << "No field " << name << " in class " << c->GetDescriptor(&temp); in ThrowNoSuchFieldException() 416 std::string temp; in ThrowNoSuchMethodError() local 418 << " in class " << c->GetDescriptor(&temp) << " or its super classes"; in ThrowNoSuchMethodError()
|
/art/libartbase/base/ |
D | stl_util.h | 45 ForwardIterator temp = begin; in STLDeleteContainerPointers() local 47 delete *temp; in STLDeleteContainerPointers() local
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 119 std::string temp; in GetClassDescriptorStringId() local 120 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_); in GetClassDescriptorStringId() 125 std::string temp; in GetClassDescriptorStringId() local 126 return GetIdFromString(dex_file, klass->GetDescriptor(&temp)); in GetClassDescriptorStringId() 1115 std::string temp; in VerifyFields() local 1120 } else if (expected_decl_klass != field->GetDeclaringClass()->GetDescriptor(&temp)) { in VerifyFields() 1124 + ", actual=" + field->GetDeclaringClass()->GetDescriptor(&temp) + ")"; in VerifyFields() 1184 std::string temp; in VerifyMethods() local 1189 } else if (expected_decl_klass != method->GetDeclaringClass()->GetDescriptor(&temp)) { in VerifyMethods() 1193 + ", actual=" + method->GetDeclaringClass()->GetDescriptor(&temp) + ")"; in VerifyMethods()
|
D | class_verifier.cc | 164 std::string temp; in CommonVerifyClass() local 165 if (super == nullptr && strcmp("Ljava/lang/Object;", klass->GetDescriptor(&temp)) != 0) { in CommonVerifyClass()
|
D | reg_type.cc | 527 std::string temp; in GetSuperClass() local 528 return cache->FromClass(super_klass->GetDescriptor(&temp), super_klass, false); in GetSuperClass() 920 std::string temp; in Merge() local 921 const char* descriptor = join_class->GetDescriptor(&temp); in Merge() 937 std::string temp; in CheckInvariants() local 938 CHECK_EQ(descriptor_, klass_.Read()->GetDescriptor(&temp)) << *this; in CheckInvariants()
|
/art/test/458-checker-instruct-simplification/smali/ |
D | SmaliTests2.smali | 105 # int temp = ~arg; 106 # return temp + ~temp; 117 .local v0, "temp":I
|
/art/dexlayout/ |
D | dex_ir.h | 149 Iterator temp = *this; variable 151 return temp; 160 Iterator temp = *this; variable 161 temp += delta; 162 return temp; 171 Iterator temp = *this; variable 173 return temp; 182 Iterator temp = *this; variable 183 temp -= delta; 184 return temp;
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.h | 216 void GenerateMarkingRegisterCheck(vixl32::Register temp, int code = 0); 245 vixl32::Register temp,
|