Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 25 of 30) sorted by relevance

12

/art/compiler/optimizing/
Dpc_relative_fixups_x86.cc128 void VisitNeg(HNeg* neg) override { in VisitNeg() argument
129 if (DataType::IsFloatingPointType(neg->GetType())) { in VisitNeg()
131 HX86ComputeBaseMethodAddress* method_address = GetPCRelativeBasePointer(neg); in VisitNeg()
133 HBasicBlock* block = neg->GetBlock(); in VisitNeg()
135 neg->GetType(), in VisitNeg()
136 neg->InputAt(0), in VisitNeg()
138 neg->GetDexPc()); in VisitNeg()
139 block->ReplaceAndRemoveInstructionWith(neg, x86_fp_neg); in VisitNeg()
Dinduction_var_analysis_test.cc292 HInstruction* neg = InsertInstruction( in TEST_F() local
300 EXPECT_STREQ("(( - (1)) * i + (0)):Int32", GetInductionInfo(neg, 0).c_str()); in TEST_F()
471 HInstruction* neg = InsertInstruction( in TEST_F() local
490 GetInductionInfo(neg, 0).c_str()); in TEST_F()
573 HInstruction* neg = InsertInstruction( in TEST_F() local
588 GetInductionInfo(neg, 0).c_str()); in TEST_F()
612 HInstruction* neg = InsertInstruction( in TEST_F() local
627 EXPECT_STREQ("", GetInductionInfo(neg, 0).c_str()); in TEST_F()
691 HInstruction* neg = InsertInstruction( in TEST_F() local
709 GetInductionInfo(neg, 0).c_str()); in TEST_F()
Dinstruction_simplifier.cc212 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop() local
213 binop->GetBlock()->InsertInstructionBefore(neg, binop->GetNext()); in TryMoveNegOnInputsAfterBinop()
214 binop->ReplaceWithExceptInReplacementAtIndex(neg, 0); in TryMoveNegOnInputsAfterBinop()
515 HNeg* neg = neg_is_left ? shl->GetRight()->AsNeg() : ushr->GetRight()->AsNeg(); in TryReplaceWithRotateRegisterNegPattern() local
517 if (neg->InputAt(0) == (neg_is_left ? ushr->GetRight() : shl->GetRight())) { in TryReplaceWithRotateRegisterNegPattern()
1302 HNeg* neg = left_is_neg ? left->AsNeg() : right->AsNeg(); in VisitAdd() local
1303 if (left_is_neg != right_is_neg && neg->HasOnlyOneNonEnvironmentUse()) { in VisitAdd()
1315 new(GetGraph()->GetAllocator()) HSub(instruction->GetType(), other, neg->GetInput()); in VisitAdd()
1318 neg->GetBlock()->RemoveInstruction(neg); in VisitAdd()
1800 HNeg* neg = new (allocator) HNeg(type, input_other); in VisitMul() local
[all …]
Dcode_generator_arm64.cc5407 void LocationsBuilderARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument
5409 new (GetGraph()->GetAllocator()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg()
5410 switch (neg->GetResultType()) { in VisitNeg()
5413 locations->SetInAt(0, ARM64EncodableConstantOrRegister(neg->InputAt(0), neg)); in VisitNeg()
5424 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
5428 void InstructionCodeGeneratorARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument
5429 switch (neg->GetResultType()) { in VisitNeg()
5432 __ Neg(OutputRegister(neg), InputOperandAt(neg, 0)); in VisitNeg()
5437 __ Fneg(OutputFPRegister(neg), InputFPRegisterAt(neg, 0)); in VisitNeg()
5441 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
[all …]
Dcode_generator_x86.cc2508 void LocationsBuilderX86::VisitNeg(HNeg* neg) { in VisitNeg() argument
2510 new (GetGraph()->GetAllocator()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg()
2511 switch (neg->GetResultType()) { in VisitNeg()
2532 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
2536 void InstructionCodeGeneratorX86::VisitNeg(HNeg* neg) { in VisitNeg() argument
2537 LocationSummary* locations = neg->GetLocations(); in VisitNeg()
2540 switch (neg->GetResultType()) { in VisitNeg()
2585 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
2589 void LocationsBuilderX86::VisitX86FPNeg(HX86FPNeg* neg) { in VisitX86FPNeg() argument
2591 new (GetGraph()->GetAllocator()) LocationSummary(neg, LocationSummary::kNoCall); in VisitX86FPNeg()
[all …]
Dinduction_var_range.cc555 HInductionVarAnalysis::InductionInfo neg( in GetLinear() local
563 trip->induction_class, trip->operation, &neg, trip->op_b, nullptr, trip->type); in GetLinear()
Dcode_generator_arm_vixl.cc3559 void LocationsBuilderARMVIXL::VisitNeg(HNeg* neg) { in VisitNeg() argument
3561 new (GetGraph()->GetAllocator()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg()
3562 switch (neg->GetResultType()) { in VisitNeg()
3581 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
3585 void InstructionCodeGeneratorARMVIXL::VisitNeg(HNeg* neg) { in VisitNeg() argument
3586 LocationSummary* locations = neg->GetLocations(); in VisitNeg()
3589 switch (neg->GetResultType()) { in VisitNeg()
3591 __ Rsb(OutputRegister(neg), InputRegisterAt(neg, 0), 0); in VisitNeg()
3610 __ Vneg(OutputVRegister(neg), InputVRegister(neg)); in VisitNeg()
3614 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
/art/test/053-wait-some/
Dexpected.txt1 Caught expected exception on neg arg
/art/test/474-fp-sub-neg/
DAndroid.bp3 name: "art-run-test-474-fp-sub-neg",
Dinfo.txt3 A pair (sub, neg) should not be transforemd to (sub) for
/art/test/640-checker-simd/src/
DSimdFloat.java89 static void neg() { in neg() method in SimdFloat
156 neg(); in main()
DSimdDouble.java89 static void neg() { in neg() method in SimdDouble
157 neg(); in main()
DSimdChar.java89 static void neg() { in neg() method in SimdChar
205 neg(); in main()
DSimdShort.java89 static void neg() { in neg() method in SimdShort
206 neg(); in main()
DSimdInt.java89 static void neg() { in neg() method in SimdInt
254 neg(); in main()
DSimdLong.java89 static void neg() { in neg() method in SimdLong
254 neg(); in main()
DSimdByte.java88 static void neg() { in neg() method in SimdByte
210 neg(); in main()
/art/test/800-smali/smali/
Db_18718277.smali8 neg-int v0, v0
/art/runtime/arch/x86/
Dasm_support_x86.S245 neg REG_VAR(rRef)
252 neg REG_VAR(rRef)
/art/runtime/arch/arm64/
Dmemcmp16_arm64.S114 neg tmp1, tmp1 /* Bits to alignment -64. */
Dasm_support_arm64.S102 neg \rRef, \rRef
109 neg \rRef, \rRef
/art/test/dexdump/
Dall.txt546 000860: 7b10 |0000: neg-int v0, v1
548 000864: 7d10 |0002: neg-long v0, v1
550 000868: 7f10 |0004: neg-float v0, v1
551 00086a: 8010 |0005: neg-double v0, v1
Dbytecodes.txt848 000f2c: 7f22 |0046: neg-float v2, v2
863 000f60: 8044 |0060: neg-double v4, v4
907 000fa4: 7d22 |0004: neg-long v2, v2
1048 001156: 7b20 |0029: neg-int v0, v2
1254 001376: 7d00 |0075: neg-long v0, v0
1327 001490: 7f00 |0102: neg-float v0, v0
1337 0014b6: 8060 |0115: neg-double v0, v6
1524 00163e: 7bda |0035: neg-int v10, v13
1666 001784: 7d00 |0072: neg-long v0, v0
/art/runtime/interpreter/mterp/x86_64/
Darithmetic.S34 neg${suffix} $result
95 neg${suffix} $result
/art/runtime/interpreter/mterp/arm64/
Dmain.S370 neg \rRef, \rRef

12