Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dpc_relative_fixups_x86.cc132 void VisitNeg(HNeg* neg) OVERRIDE { in VisitNeg() argument
133 if (Primitive::IsFloatingPointType(neg->GetType())) { in VisitNeg()
135 HX86ComputeBaseMethodAddress* method_address = GetPCRelativeBasePointer(neg); in VisitNeg()
137 HBasicBlock* block = neg->GetBlock(); in VisitNeg()
139 neg->GetType(), in VisitNeg()
140 neg->InputAt(0), in VisitNeg()
142 neg->GetDexPc()); in VisitNeg()
143 block->ReplaceAndRemoveInstructionWith(neg, x86_fp_neg); in VisitNeg()
Dinstruction_simplifier.cc189 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop() local
190 binop->GetBlock()->InsertInstructionBefore(neg, binop->GetNext()); in TryMoveNegOnInputsAfterBinop()
191 binop->ReplaceWithExceptInReplacementAtIndex(neg, 0); in TryMoveNegOnInputsAfterBinop()
391 HNeg* neg = neg_is_left ? shl->GetRight()->AsNeg() : ushr->GetRight()->AsNeg(); in TryReplaceWithRotateRegisterNegPattern() local
393 if (neg->InputAt(0) == (neg_is_left ? ushr->GetRight() : shl->GetRight())) { in TryReplaceWithRotateRegisterNegPattern()
974 HNeg* neg = left_is_neg ? left->AsNeg() : right->AsNeg(); in VisitAdd() local
975 if ((left_is_neg ^ right_is_neg) && neg->HasOnlyOneNonEnvironmentUse()) { in VisitAdd()
986 HSub* sub = new(GetGraph()->GetArena()) HSub(instruction->GetType(), other, neg->GetInput()); in VisitAdd()
989 neg->GetBlock()->RemoveInstruction(neg); in VisitAdd()
1349 HNeg* neg = new (allocator) HNeg(type, input_other); in VisitMul() local
[all …]
Dinduction_var_analysis_test.cc296 HInstruction* neg = InsertInstruction( in TEST_F() local
304 EXPECT_STREQ("(( - (1)) * i + (0)):PrimInt", GetInductionInfo(neg, 0).c_str()); in TEST_F()
475 HInstruction* neg = InsertInstruction( in TEST_F() local
494 GetInductionInfo(neg, 0).c_str()); in TEST_F()
577 HInstruction* neg = InsertInstruction( in TEST_F() local
592 GetInductionInfo(neg, 0).c_str()); in TEST_F()
616 HInstruction* neg = InsertInstruction( in TEST_F() local
631 EXPECT_STREQ("", GetInductionInfo(neg, 0).c_str()); in TEST_F()
695 HInstruction* neg = InsertInstruction( in TEST_F() local
710 …EXPECT_STREQ("wrap(( - ((100) - (1))), ( - (((100) % (7)) - (1)))):PrimInt", GetInductionInfo(neg,… in TEST_F()
Dcode_generator_arm64.cc5216 void LocationsBuilderARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument
5218 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg()
5219 switch (neg->GetResultType()) { in VisitNeg()
5222 locations->SetInAt(0, ARM64EncodableConstantOrRegister(neg->InputAt(0), neg)); in VisitNeg()
5233 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
5237 void InstructionCodeGeneratorARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument
5238 switch (neg->GetResultType()) { in VisitNeg()
5241 __ Neg(OutputRegister(neg), InputOperandAt(neg, 0)); in VisitNeg()
5246 __ Fneg(OutputFPRegister(neg), InputFPRegisterAt(neg, 0)); in VisitNeg()
5250 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
Dcode_generator_x86.cc2286 void LocationsBuilderX86::VisitNeg(HNeg* neg) { in VisitNeg() argument
2288 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg()
2289 switch (neg->GetResultType()) { in VisitNeg()
2310 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
2314 void InstructionCodeGeneratorX86::VisitNeg(HNeg* neg) { in VisitNeg() argument
2315 LocationSummary* locations = neg->GetLocations(); in VisitNeg()
2318 switch (neg->GetResultType()) { in VisitNeg()
2363 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
2367 void LocationsBuilderX86::VisitX86FPNeg(HX86FPNeg* neg) { in VisitX86FPNeg() argument
2369 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitX86FPNeg()
[all …]
/art/runtime/arch/arm64/
Dasm_support_arm64.S61 neg \rRef, \rRef
68 neg \rRef, \rRef
Dmemcmp16_arm64.S114 neg tmp1, tmp1 /* Bits to alignment -64. */
/art/runtime/interpreter/mterp/mips64/
Dop_neg_float.S2 neg.s f0, f0
Dop_neg_double.S2 neg.d f0, f0
/art/test/053-wait-some/
Dexpected.txt1 Caught expected exception on neg arg
/art/test/640-checker-float-simd/src/
DMain.java99 static void neg() { in neg() method in Main
170 neg(); in main()
/art/test/640-checker-double-simd/src/
DMain.java99 static void neg() { in neg() method in Main
168 neg(); in main()
/art/test/640-checker-int-simd/src/
DMain.java97 static void neg() { in neg() method in Main
208 neg(); in main()
/art/test/640-checker-long-simd/src/
DMain.java95 static void neg() { in neg() method in Main
206 neg(); in main()
/art/test/474-fp-sub-neg/
Dinfo.txt3 A pair (sub, neg) should not be transforemd to (sub) for
/art/test/640-checker-short-simd/src/
DMain.java97 static void neg() { in neg() method in Main
219 neg(); in main()
/art/test/640-checker-char-simd/src/
DMain.java97 static void neg() { in neg() method in Main
218 neg(); in main()
/art/test/640-checker-byte-simd/src/
DMain.java97 static void neg() { in neg() method in Main
224 neg(); in main()
/art/runtime/interpreter/mterp/x86_64/
Dbindiv.S32 neg${suffix} $result
Dbindiv2addr.S33 neg${suffix} $result
/art/test/800-smali/smali/
Db_18718277.smali8 neg-int v0, v0
/art/runtime/arch/x86/
Dasm_support_x86.S181 neg REG_VAR(rRef)
188 neg REG_VAR(rRef)
/art/runtime/interpreter/mterp/mips/
Dop_float_to_long.S41 neg.s fa1, fa1
Dop_double_to_long.S44 neg.d fa1, fa1
/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

12