Home
last modified time | relevance | path

Searched refs:temp (Results 26 – 50 of 83) sorted by relevance

1234

/art/compiler/optimizing/
Dintrinsics_arm64.cc403 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 …]
Dcode_generator_x86.cc554 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 …]
Dregister_allocation_resolver.cc202 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()
Dintrinsics_x86.cc194 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 …]
Dregister_allocator_linear_scan.cc232 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()
Dcode_generator_x86.h241 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);
Dcode_generator_x86_64.cc999 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 …]
Dintrinsics_x86_64.cc611 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 …]
Dcode_generator_arm_vixl.h353 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());
Dssa_liveness_analysis.h1222 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()
Dregister_allocator_graph_color.cc758 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()
Dcode_generator_x86_64.h240 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/
Dassembler_arm64.cc185 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()
Djni_macro_assembler_arm64.cc96 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/
Dassembler_test_base.h234 char temp[1024]; in GetRootPath() local
235 return getcwd(temp, 1024) ? std::string(temp) + "/" : std::string(""); in GetRootPath()
/art/runtime/mirror/
Dobject.cc290 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/
Dclass_linker_test.cc90 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 …]
Dcommon_throws.cc396 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/
Dstl_util.h45 ForwardIterator temp = begin; in STLDeleteContainerPointers() local
47 delete *temp; in STLDeleteContainerPointers() local
/art/runtime/verifier/
Dverifier_deps.cc119 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()
Dclass_verifier.cc164 std::string temp; in CommonVerifyClass() local
165 if (super == nullptr && strcmp("Ljava/lang/Object;", klass->GetDescriptor(&temp)) != 0) { in CommonVerifyClass()
Dreg_type.cc527 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/
DSmaliTests2.smali105 # int temp = ~arg;
106 # return temp + ~temp;
117 .local v0, "temp":I
/art/dexlayout/
Ddex_ir.h149 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/
Dassembler_arm_vixl.h216 void GenerateMarkingRegisterCheck(vixl32::Register temp, int code = 0);
245 vixl32::Register temp,

1234