Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 66) sorted by relevance

123

/art/test/458-checker-instruction-simplification/src/
DMain.java523 long temp = -arg2; in AddNeg2() local
524 return (arg1 + temp) | (arg1 + temp); in AddNeg2()
579 int temp = -arg; in NegNeg2() local
580 return temp + -temp; in NegNeg2()
664 int temp = arg1 - arg2; in NegSub2() local
665 return -temp | -temp; in NegSub2()
709 int temp = ~arg; in NotNot2() local
710 return temp + ~temp; in NotNot2()
771 int temp = -arg1; in SubNeg2() local
772 return (temp - arg2) | (temp - arg2); in SubNeg2()
[all …]
/art/runtime/arch/mips/
Dasm_support_mips.S75 .macro LDu feven,fodd,disp,base,temp argument
77 lw \temp, \disp+4(\base)
78 mthc1 \temp, \feven
83 .macro SDu feven,fodd,disp,base,temp argument
84 mfhc1 \temp, \feven
86 sw \temp, \disp+4(\base)
101 .macro LDu feven,fodd,disp,base,temp argument
106 .macro SDu feven,fodd,disp,base,temp argument
/art/runtime/base/
Dhash_set.h85 Iterator temp = *this; variable
87 return temp;
152 uint64_t temp; in HashSet() local
154 offset = ReadFromBytes(ptr, offset, &temp); in HashSet()
155 num_elements_ = static_cast<uint64_t>(temp); in HashSet()
156 offset = ReadFromBytes(ptr, offset, &temp); in HashSet()
157 num_buckets_ = static_cast<uint64_t>(temp); in HashSet()
159 offset = ReadFromBytes(ptr, offset, &temp); in HashSet()
160 elements_until_expand_ = static_cast<uint64_t>(temp); in HashSet()
374 T temp; in Verify() local
[all …]
Dstl_util.h46 ForwardIterator temp = begin; in STLDeleteContainerPointers() local
48 delete *temp; in STLDeleteContainerPointers() local
/art/compiler/optimizing/
Dcode_generator_arm64.cc490 Register temp = temps.AcquireX(); in GenerateFrameEntry() local
492 __ Sub(temp, sp, static_cast<int32_t>(GetStackOverflowReservedBytes(kArm64))); in GenerateFrameEntry()
493 __ Ldr(wzr, MemOperand(temp, 0)); in GenerateFrameEntry()
558 Register temp = (instruction->IsIntConstant() || instruction->IsNullConstant()) in Move() local
561 __ Mov(temp, value); in Move()
562 __ Str(temp, StackOperandFrom(location)); in Move()
609 Register temp = temps.AcquireW(); // Index within the CardTable - 32bit. in MarkGCCard() local
613 __ Lsr(temp, object, gc::accounting::CardTable::kCardShift); in MarkGCCard()
614 __ Strb(card, MemOperand(card, temp.X())); in MarkGCCard()
789 CPURegister temp; in MoveLocation() local
[all …]
Dintrinsics_x86.cc198 XmmRegister temp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); in MoveFPToInt() local
199 __ movsd(temp, input.AsFpuRegister<XmmRegister>()); in MoveFPToInt()
200 __ movd(output.AsRegisterPairLow<Register>(), temp); in MoveFPToInt()
201 __ psrlq(temp, Immediate(32)); in MoveFPToInt()
202 __ movd(output.AsRegisterPairHigh<Register>(), temp); in MoveFPToInt()
409 Register temp = locations->GetTemp(0).AsRegister<Register>(); in GenAbsInteger() local
410 DCHECK_EQ(temp, EDX); in GenAbsInteger()
440 Register temp = locations->GetTemp(0).AsRegister<Register>(); in GenAbsLong() local
443 __ movl(temp, input_hi); in GenAbsLong()
444 __ sarl(temp, Immediate(31)); in GenAbsLong()
[all …]
Dcode_generator_arm.cc975 Register temp = IP; in GenerateTestAndBranch() local
976 __ LoadImmediate(temp, value); in GenerateTestAndBranch()
977 __ cmp(left, ShifterOperand(temp)); in GenerateTestAndBranch()
1054 Register temp = IP; in VisitCondition() local
1055 __ LoadImmediate(temp, value); in VisitCondition()
1056 __ cmp(left, ShifterOperand(temp)); in VisitCondition()
1279 Register temp = invoke->GetLocations()->GetTemp(0).AsRegister<Register>(); in VisitInvokeStaticOrDirect() local
1281 codegen_->GenerateStaticOrDirectCall(invoke, temp); in VisitInvokeStaticOrDirect()
1314 Register temp = invoke->GetLocations()->GetTemp(0).AsRegister<Register>(); in VisitInvokeVirtual() local
1322 __ LoadFromOffset(kLoadWord, temp, SP, receiver.GetStackIndex()); in VisitInvokeVirtual()
[all …]
Dcode_generator_x86.cc1277 Register temp = invoke->GetLocations()->GetTemp(0).AsRegister<Register>(); in VisitInvokeVirtual() local
1285 __ movl(temp, Address(ESP, receiver.GetStackIndex())); in VisitInvokeVirtual()
1286 __ movl(temp, Address(temp, class_offset)); in VisitInvokeVirtual()
1288 __ movl(temp, Address(receiver.AsRegister<Register>(), class_offset)); in VisitInvokeVirtual()
1292 __ movl(temp, Address(temp, method_offset)); in VisitInvokeVirtual()
1295 temp, ArtMethod::EntryPointFromQuickCompiledCodeOffset(kX86WordSize).Int32Value())); in VisitInvokeVirtual()
1309 Register temp = invoke->GetLocations()->GetTemp(0).AsRegister<Register>(); in VisitInvokeInterface() local
1317 __ movl(temp, Immediate(invoke->GetDexMethodIndex())); in VisitInvokeInterface()
1318 __ movd(invoke->GetLocations()->GetTemp(1).AsFpuRegister<XmmRegister>(), temp); in VisitInvokeInterface()
1322 __ movl(temp, Address(ESP, receiver.GetStackIndex())); in VisitInvokeInterface()
[all …]
Dregister_allocator.cc209 Location temp = locations->GetTemp(i); in ProcessInstruction() local
210 if (temp.IsRegister() || temp.IsFpuRegister()) { in ProcessInstruction()
211 BlockRegister(temp, position, position + 1); in ProcessInstruction()
213 DCHECK(temp.IsUnallocated()); in ProcessInstruction()
214 switch (temp.GetPolicy()) { in ProcessInstruction()
241 << temp.GetPolicy(); in ProcessInstruction()
454 LiveInterval* temp = temp_intervals_.Get(i); in ValidateInternal() local
455 if (ShouldProcess(processing_core_registers_, temp)) { in ValidateInternal()
456 intervals.Add(temp); in ValidateInternal()
1775 LiveInterval* temp = temp_intervals_.Get(i); in Resolve() local
[all …]
Dcode_generator_x86_64.cc363 CpuRegister temp) { in GenerateStaticOrDirectCall() argument
375 __ gs()->movq(temp, Address::Absolute(invoke->GetStringInitOffset(), true)); in GenerateStaticOrDirectCall()
377 __ call(Address(temp, ArtMethod::EntryPointFromQuickCompiledCodeOffset( in GenerateStaticOrDirectCall()
381 LoadCurrentMethod(temp); in GenerateStaticOrDirectCall()
384 __ movl(temp, Address(temp, ArtMethod::DexCacheResolvedMethodsOffset().SizeValue())); in GenerateStaticOrDirectCall()
386 __ movq(temp, Address( in GenerateStaticOrDirectCall()
387 temp, CodeGenerator::GetCachePointerOffset(invoke->GetDexMethodIndex()))); in GenerateStaticOrDirectCall()
389 __ call(Address(temp, ArtMethod::EntryPointFromQuickCompiledCodeOffset( in GenerateStaticOrDirectCall()
1386 CpuRegister temp = invoke->GetLocations()->GetTemp(0).AsRegister<CpuRegister>(); in VisitInvokeVirtual() local
1394 __ movl(temp, Address(CpuRegister(RSP), receiver.GetStackIndex())); in VisitInvokeVirtual()
[all …]
Dcode_generator_mips64.cc861 GpuRegister temp = TMP; in MarkGCCard() local
867 __ Dsrl(temp, object, gc::accounting::CardTable::kCardShift); in MarkGCCard()
868 __ Daddu(temp, card, temp); in MarkGCCard()
869 __ Sb(card, temp, 0); in MarkGCCard()
2325 GpuRegister temp = invoke->GetLocations()->GetTemp(0).AsRegister<GpuRegister>(); in VisitInvokeInterface() local
2338 __ LoadFromOffset(kLoadUnsignedWord, temp, SP, receiver.GetStackIndex()); in VisitInvokeInterface()
2339 __ LoadFromOffset(kLoadUnsignedWord, temp, temp, class_offset); in VisitInvokeInterface()
2341 __ LoadFromOffset(kLoadUnsignedWord, temp, receiver.AsRegister<GpuRegister>(), class_offset); in VisitInvokeInterface()
2345 __ LoadFromOffset(kLoadDoubleword, temp, temp, method_offset); in VisitInvokeInterface()
2347 __ LoadFromOffset(kLoadDoubleword, T9, temp, entry_point.Int32Value()); in VisitInvokeInterface()
[all …]
Dintrinsics_x86_64.cc1506 static void SwapBits(CpuRegister reg, CpuRegister temp, int32_t shift, int32_t mask, in SwapBits() argument
1510 __ movl(temp, reg); in SwapBits()
1512 __ andl(temp, imm_mask); in SwapBits()
1514 __ shll(temp, imm_shift); in SwapBits()
1515 __ orl(reg, temp); in SwapBits()
1524 CpuRegister temp = locations->GetTemp(0).AsRegister<CpuRegister>(); in VisitIntegerReverse() local
1536 SwapBits(reg, temp, 1, 0x55555555, assembler); in VisitIntegerReverse()
1537 SwapBits(reg, temp, 2, 0x33333333, assembler); in VisitIntegerReverse()
1538 SwapBits(reg, temp, 4, 0x0f0f0f0f, assembler); in VisitIntegerReverse()
1551 static void SwapBits64(CpuRegister reg, CpuRegister temp, CpuRegister temp_mask, in SwapBits64() argument
[all …]
Dssa_liveness_analysis.h1140 HInstruction* GetTempUser(LiveInterval* temp) const { in GetTempUser() argument
1142 DCHECK(temp->IsTemp()); in GetTempUser()
1143 HInstruction* user = GetInstructionFromPosition(temp->GetStart() / 2); in GetTempUser()
1144 DCHECK_EQ(user, temp->GetFirstUse()->GetUser()); in GetTempUser()
1148 size_t GetTempIndex(LiveInterval* temp) const { in GetTempIndex() argument
1150 DCHECK(temp->IsTemp()); in GetTempIndex()
1151 return temp->GetFirstUse()->GetInputIndex(); in GetTempIndex()
/art/test/102-concurrent-gc/src/
DMain.java57 byte[] temp = l[a].bytes; in main()
59 l[b].bytes = temp; in main()
/art/runtime/
Dstride_iterator.h50 auto temp = *this; variable
52 return temp;
Dproxy_test.cc130 std::string temp; in TEST_F() local
131 const char* proxy_class_descriptor = proxy_class->GetDescriptor(&temp); in TEST_F()
182 std::string temp; in TEST_F() local
183 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F()
191 EXPECT_STREQ("L$Proxy1234;", field->GetDeclaringClass()->GetDescriptor(&temp)); in TEST_F()
Dclass_linker_test.cc72 std::string temp; in AssertPrimitiveClass() local
73 ASSERT_STREQ(descriptor.c_str(), primitive->GetDescriptor(&temp)); in AssertPrimitiveClass()
111 std::string temp; in AssertArrayClass() local
112 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
124 std::string temp; in AssertArrayClass() local
125 ASSERT_STREQ(array_descriptor.c_str(), array->GetDescriptor(&temp)); in AssertArrayClass()
131 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
155 EXPECT_STREQ(direct_interface0->GetDescriptor(&temp), "Ljava/lang/Cloneable;"); in AssertArrayClass()
157 EXPECT_STREQ(direct_interface1->GetDescriptor(&temp), "Ljava/io/Serializable;"); in AssertArrayClass()
186 std::string temp; in AssertClass() local
[all …]
Dcommon_throws.cc293 std::string temp; in ThrowNoSuchFieldError() local
295 << " in class " << c->GetDescriptor(&temp) << " or its superclasses"; in ThrowNoSuchFieldError()
301 std::string temp; in ThrowNoSuchFieldException() local
302 msg << "No field " << name << " in class " << c->GetDescriptor(&temp); in ThrowNoSuchFieldException()
311 std::string temp; in ThrowNoSuchMethodError() local
313 << " in class " << c->GetDescriptor(&temp) << " or its super classes"; in ThrowNoSuchMethodError()
/art/test/440-stmp/
Dinfo.txt2 a S/D register a temp, while it conflicted with the
/art/compiler/utils/arm64/
Dassembler_arm64.cc89 vixl::Register temp = temps.AcquireX(); in AddConstant() local
90 ___ Add(temp, reg_x(rn), value); in AddConstant()
91 ___ Csel(reg_x(rd), temp, reg_x(rd), cond); in AddConstant()
184 vixl::Register temp = temps.AcquireX(); in StoreStackPointerToThread64() local
185 ___ Mov(temp, reg_x(SP)); in StoreStackPointerToThread64()
186 ___ Str(temp, MEM_OP(reg_x(ETR), tr_offs.Int32Value())); in StoreStackPointerToThread64()
209 vixl::Register temp = temps.AcquireX(); in LoadImmediate() local
210 ___ Mov(temp, value); in LoadImmediate()
211 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate()
621 vixl::Register temp = temps.AcquireX(); in EmitExceptionPoll() local
[all …]
/art/compiler/dex/quick/x86/
Dtarget_x86.cc2002 RegStorage temp; in GenAddReduceVector() local
2074 temp = AllocTemp(); in GenAddReduceVector()
2075 NewLIR2(kX86MovdrxRR, temp.GetReg(), vector_src.GetReg()); in GenAddReduceVector()
2110 temp = AllocTemp(); in GenAddReduceVector()
2111 NewLIR3(extract_opcode, temp.GetReg(), vector_src.GetReg(), 0); in GenAddReduceVector()
2123 OpRegReg(kOpAdd, rl_result.reg, temp); in GenAddReduceVector()
2128 OpMemReg(kOpAdd, rl_result, temp.GetReg()); in GenAddReduceVector()
2554 RegStorage temp = AllocTempDouble(); in GenDalvikArgsBulkCopy() local
2572 ld1 = OpMovRegMem(temp, TargetPtrReg(kSp), current_src_offset, kMovA128FP); in GenDalvikArgsBulkCopy()
2574 ld1 = OpMovRegMem(temp, TargetPtrReg(kSp), current_src_offset, kMovLo128FP); in GenDalvikArgsBulkCopy()
[all …]
Dutility_x86.cc733 RegStorage temp = AllocTemp(); in LoadBaseIndexedDisp() local
734 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
738 OpRegCopy(r_dest.GetHigh(), temp); in LoadBaseIndexedDisp()
739 FreeTemp(temp); in LoadBaseIndexedDisp()
749 RegStorage temp = AllocTemp(); in LoadBaseIndexedDisp() local
750 load = NewLIR5(opcode, temp.GetReg(), r_base.GetReg(), r_index.GetReg(), scale, in LoadBaseIndexedDisp()
754 OpRegCopy(r_dest.GetLow(), temp); in LoadBaseIndexedDisp()
755 FreeTemp(temp); in LoadBaseIndexedDisp()
/art/runtime/mirror/
Dclass.cc90 std::string temp; in SetStatus() local
91 const char* old_exception_descriptor = old_exception->GetClass()->GetDescriptor(&temp); in SetStatus()
166 std::string temp; in ComputeName() local
167 const char* descriptor = h_this->GetDescriptor(&temp); in ComputeName()
215 std::string temp; in DumpClass() local
217 << "'" << GetDescriptor(&temp) << "' cl=" << GetClassLoader() << " -----\n", in DumpClass()
730 std::string temp; in GetArrayDescriptor() local
731 const char* elem_desc = GetComponentType()->GetDescriptor(&temp); in GetArrayDescriptor()
/art/compiler/dex/
Dtype_inference.h197 Type temp(raw_bits_ - (1u << kBitArrayDepthStart)); // array_depth - 1u; in ComponentType()
198 return (temp.ArrayDepth() != 0u) ? temp.AsNull() : NestedType(); in ComponentType()
/art/compiler/dex/quick/
Dgen_loadstore.cc397 RegStorage temp = AllocTempWide(); in ForceTempWide() local
398 OpRegCopy(temp, loc.reg); in ForceTempWide()
399 loc.reg = temp; in ForceTempWide()

123