/art/compiler/optimizing/ |
D | instruction_simplifier.cc | 128 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop() local 129 binop->GetBlock()->InsertInstructionBefore(neg, binop->GetNext()); in TryMoveNegOnInputsAfterBinop() 130 binop->ReplaceWithExceptInReplacementAtIndex(neg, 0); in TryMoveNegOnInputsAfterBinop() 338 HNeg* neg = left_is_neg ? left->AsNeg() : right->AsNeg(); in VisitAdd() local 339 if ((left_is_neg ^ right_is_neg) && neg->HasOnlyOneNonEnvironmentUse()) { in VisitAdd() 350 HSub* sub = new(GetGraph()->GetArena()) HSub(instruction->GetType(), other, neg->GetInput()); in VisitAdd() 353 neg->GetBlock()->RemoveInstruction(neg); in VisitAdd() 465 HNeg* neg = new (allocator) HNeg(type, input_other); in VisitMul() local 466 block->ReplaceAndRemoveInstructionWith(instruction, neg); in VisitMul() 646 HNeg* neg = new (allocator) HNeg(type, right); in VisitSub() local [all …]
|
D | code_generator_arm64.cc | 2243 void LocationsBuilderARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument 2245 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg() 2246 switch (neg->GetResultType()) { in VisitNeg() 2249 locations->SetInAt(0, ARM64EncodableConstantOrRegister(neg->InputAt(0), neg)); in VisitNeg() 2260 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg() 2264 void InstructionCodeGeneratorARM64::VisitNeg(HNeg* neg) { in VisitNeg() argument 2265 switch (neg->GetResultType()) { in VisitNeg() 2268 __ Neg(OutputRegister(neg), InputOperandAt(neg, 0)); in VisitNeg() 2273 __ Fneg(OutputFPRegister(neg), InputFPRegisterAt(neg, 0)); in VisitNeg() 2277 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
|
D | code_generator_arm.cc | 1379 void LocationsBuilderARM::VisitNeg(HNeg* neg) { in VisitNeg() argument 1381 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg() 1382 switch (neg->GetResultType()) { in VisitNeg() 1401 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg() 1405 void InstructionCodeGeneratorARM::VisitNeg(HNeg* neg) { in VisitNeg() argument 1406 LocationSummary* locations = neg->GetLocations(); in VisitNeg() 1409 switch (neg->GetResultType()) { in VisitNeg() 1448 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
|
D | code_generator_x86.cc | 1338 void LocationsBuilderX86::VisitNeg(HNeg* neg) { in VisitNeg() argument 1340 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg() 1341 switch (neg->GetResultType()) { in VisitNeg() 1362 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg() 1366 void InstructionCodeGeneratorX86::VisitNeg(HNeg* neg) { in VisitNeg() argument 1367 LocationSummary* locations = neg->GetLocations(); in VisitNeg() 1370 switch (neg->GetResultType()) { in VisitNeg() 1415 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
|
D | code_generator_x86_64.cc | 1447 void LocationsBuilderX86_64::VisitNeg(HNeg* neg) { in VisitNeg() argument 1449 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg() 1450 switch (neg->GetResultType()) { in VisitNeg() 1465 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg() 1469 void InstructionCodeGeneratorX86_64::VisitNeg(HNeg* neg) { in VisitNeg() argument 1470 LocationSummary* locations = neg->GetLocations(); in VisitNeg() 1473 switch (neg->GetResultType()) { in VisitNeg() 1509 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
|
D | code_generator_mips64.cc | 2641 void LocationsBuilderMIPS64::VisitNeg(HNeg* neg) { in VisitNeg() argument 2643 new (GetGraph()->GetArena()) LocationSummary(neg, LocationSummary::kNoCall); in VisitNeg() 2644 switch (neg->GetResultType()) { in VisitNeg() 2658 LOG(FATAL) << "Unexpected neg type " << neg->GetResultType(); in VisitNeg()
|
/art/test/053-wait-some/ |
D | expected.txt | 1 Caught expected exception on neg arg
|
/art/test/474-fp-sub-neg/ |
D | info.txt | 3 A pair (sub, neg) should not be transforemd to (sub) for
|
/art/compiler/dex/quick/arm/ |
D | utility_arm.cc | 514 bool neg = (value < 0); in OpRegRegImm() local 515 int32_t abs_value = (neg) ? -value : value; in OpRegRegImm() 550 opcode = (neg) ? kThumbSubRRI3 : kThumbAddRRI3; in OpRegRegImm() 552 opcode = (neg) ? kThumbAddRRI3 : kThumbSubRRI3; in OpRegRegImm() 565 opcode = (neg) ? kThumb2SubRRI12 : kThumb2AddRRI12; in OpRegRegImm() 567 opcode = (neg) ? kThumb2AddRRI12 : kThumb2SubRRI12; in OpRegRegImm() 657 bool neg = (value < 0); in OpRegImm() local 658 int32_t abs_value = (neg) ? -value : value; in OpRegImm() 663 if (!neg && (r_dest_src1 == rs_r13sp) && (value <= 508)) { /* sp */ in OpRegImm() 667 opcode = (neg) ? kThumbSubRI8 : kThumbAddRI8; in OpRegImm() [all …]
|
/art/test/800-smali/smali/ |
D | b_18718277.smali | 8 neg-int v0, v0
|
/art/compiler/dex/quick/arm64/ |
D | utility_arm64.cc | 811 bool neg = (value < 0); in OpRegRegImm64() local 812 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegRegImm64() 839 neg = !neg; in OpRegRegImm64() 844 opcode = (neg) ? kA64Add4RRdT : kA64Sub4RRdT; in OpRegRegImm64() 847 opcode = (neg) ? kA64Add4RRdT : kA64Sub4RRdT; in OpRegRegImm64() 944 bool neg = (value < 0); in OpRegImm64() local 945 uint64_t abs_value = (neg & !(value == LLONG_MIN)) ? -value : value; in OpRegImm64() 960 if (neg) { in OpRegImm64() 998 if (UNLIKELY(neg)) in OpRegImm64()
|
/art/runtime/arch/arm64/ |
D | memcmp16_arm64.S | 114 neg tmp1, tmp1 /* Bits to alignment -64. */
|