Searched defs:add (Results 1 - 12 of 12) sorted by relevance

/art/compiler/optimizing/
H A Dlive_ranges_test.cc302 * | 18: add
309 * We want to make sure the phi at 10 has a lifetime hole after the add at 20.
349 // Test for the add instruction.
350 HAdd* add = liveness.GetInstructionFromSsaIndex(2)->AsAdd(); local
351 interval = add->GetLiveInterval();
378 * 16: add 22: add
386 * We want to make sure the constant0 has a lifetime hole after the 16: add.
427 // Test for the first add.
428 HAdd* add local
[all...]
H A Dpc_relative_fixups_x86.cc44 void VisitAdd(HAdd* add) OVERRIDE {
45 BinaryFP(add); variable
185 // We can't add a pointer to the constant area if we already have a current
H A Dinduction_var_analysis_test.cc256 HInstruction *add = InsertInstruction( local
268 EXPECT_STREQ("((1) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str());
288 HInstruction *add = InsertInstruction( local
290 HInstruction* store1 = InsertArrayStore(add, 0);
292 new (&allocator_) HSub(Primitive::kPrimInt, add, constant1_), 0);
428 HInstruction *add = InsertInstruction( local
443 GetInductionInfo(add, 0).c_str());
523 HInstruction *add = InsertInstruction( local
535 EXPECT_STREQ("periodic(((1) + (100)), (100)):PrimInt", GetInductionInfo(add, 0).c_str());
H A Dbounds_check_elimination_test.cc190 HInstruction* add = new (&allocator_) HAdd(Primitive::kPrimInt, parameter2, constant_max_int); local
193 HInstruction* cmp2 = new (&allocator_) HGreaterThanOrEqual(add, array_length);
195 block2->AddInstruction(add);
204 HBoundsCheck(add, array_length, 0);
415 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_increment); local
420 loop_body->AddInstruction(add);
422 phi->AddInput(add);
525 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_minus_1); local
528 HInstruction* bounds_check = new (allocator) HBoundsCheck(add, array_length, 0);
532 loop_body->AddInstruction(add);
640 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_increment); local
745 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_1); local
819 HAdd* add = new (&allocator_) HAdd(Primitive::kPrimInt, array_length, constant_minus_1); local
[all...]
H A Dinstruction_simplifier.cc297 // add up to the register size.
1236 HAdd* add = new (allocator) HAdd(type, input_other, shl); local
1239 block->ReplaceAndRemoveInstructionWith(instruction, add);
1420 HAdd* add = new(GetGraph()->GetArena()) HAdd(type, left, right->AsNeg()->GetInput()); local
1421 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, add);
1436 HAdd* add = new(GetGraph()->GetArena()) HAdd(type, left->AsNeg()->GetInput(), right); local
1437 instruction->GetBlock()->InsertInstructionBefore(add, instruction);
1438 HNeg* neg = new (GetGraph()->GetArena()) HNeg(instruction->GetType(), add);
H A Dcode_generator_arm.cc2454 void LocationsBuilderARM::VisitAdd(HAdd* add) { argument
2456 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
2457 switch (add->GetResultType()) {
2460 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
2481 LOG(FATAL) << "Unexpected add type " << add->GetResultType();
2485 void InstructionCodeGeneratorARM::VisitAdd(HAdd* add) { argument
2486 LocationSummary* locations = add->GetLocations();
2490 switch (add->GetResultType()) {
2493 __ add(ou
[all...]
H A Dcode_generator_x86.cc2099 // zero; to take it into account, add 1 to the most significant
2717 void LocationsBuilderX86::VisitAdd(HAdd* add) { argument
2719 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
2720 switch (add->GetResultType()) {
2723 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
2738 if (add->InputAt(1)->IsX86LoadFromConstantTable()) {
2739 DCHECK(add->InputAt(1)->IsEmittedAtUseSite());
2740 } else if (add->InputAt(1)->IsConstant()) {
2750 LOG(FATAL) << "Unexpected add type " << add
2755 VisitAdd(HAdd* add) argument
[all...]
H A Dcode_generator_x86_64.cc2864 void LocationsBuilderX86_64::VisitAdd(HAdd* add) { argument
2866 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
2867 switch (add->GetResultType()) {
2870 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
2878 locations->SetInAt(1, Location::RegisterOrInt32Constant(add->InputAt(1)));
2892 LOG(FATAL) << "Unexpected add type " << add->GetResultType();
2896 void InstructionCodeGeneratorX86_64::VisitAdd(HAdd* add) { argument
2897 LocationSummary* locations = add->GetLocations();
2902 switch (add
[all...]
/art/tools/ahat/src/
H A DSite.java95 public Site add(int stackId, int stackDepth, Iterator<StackFrame> path, Instance inst) { method in class:Site
96 mObjects.add(inst);
110 mObjectsInfos.add(info);
124 return child.add(stackId, stackDepth + 1, path, inst);
/art/test/530-checker-loops2/src/
H A DMain.java435 /// CHECK-START: int[] Main.add() BCE (before)
438 /// CHECK-START: int[] Main.add() BCE (after)
441 private static int[] add() { method in class:Main
972 int[] a1 = add();
/art/compiler/utils/arm/
H A Dassembler_arm32.cc87 void Arm32Assembler::add(Register rd, Register rn, const ShifterOperand& so, function in class:art::arm::Arm32Assembler
1357 // Sign-extend, left-shift by 2, then add 8.
1406 // We prefer to select the shorter code sequence rather than selecting add for
1411 add(rd, rn, shifter_op, cond, set_cc);
1418 add(rd, rn, ShifterOperand(IP), cond, set_cc);
1428 add(rd, rn, ShifterOperand(IP), cond, set_cc);
1475 add(IP, IP, ShifterOperand(base), cond);
1515 add(IP, IP, ShifterOperand(base), cond);
1533 add(IP, IP, ShifterOperand(base), cond);
1553 add(I
[all...]
H A Dassembler_thumb2.cc106 // We don't add the padding here, that's done only after adjusting the Fixup sizes.
168 // If we need to add padding before literals, this may just push some out of range,
354 // Move imm10 from bits 12-21 to bits 16-25 and add J1 and J2.
566 void Thumb2Assembler::add(Register rd, Register rn, const ShifterOperand& so, function in class:art::arm::Thumb2Assembler
1940 // If it isn't a multiple of 4, we need to add a 2-byte padding before the literal pool.
3500 // We prefer to select the shorter code sequence rather than selecting add for
3505 add(rd, rn, shifter_op, cond, set_cc);
3514 add(rd, rn, ShifterOperand(temp), cond, set_cc);
3527 add(rd, rn, ShifterOperand(temp), cond, set_cc);
3640 add(tem
[all...]

Completed in 629 milliseconds