Searched defs:add (Results 1 - 25 of 25) 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
203 // We can't add a pointer to the constant area if we already have a current
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);
638 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_increment); local
743 HInstruction* add = new (allocator) HAdd(Primitive::kPrimInt, phi, constant_1); local
817 HAdd* add = new (&allocator_) HAdd(Primitive::kPrimInt, array_length, constant_minus_1); local
[all...]
H A Dinduction_var_analysis_test.cc288 HInstruction* add = InsertInstruction( local
300 EXPECT_STREQ("((1) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str());
320 HInstruction* add = InsertInstruction( local
322 HInstruction* store1 = InsertArrayStore(add, 0);
324 new (&allocator_) HSub(Primitive::kPrimInt, add, constant1_), 0);
442 HInstruction* add = InsertInstruction( local
445 new (&allocator_) HAdd(Primitive::kPrimInt, add, k_header), 0);
452 EXPECT_STREQ("((2) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str());
471 HInstruction* add = InsertInstruction( local
490 GetInductionInfo(add,
612 HInstruction* add = InsertInstruction( local
691 HInstruction* add = InsertInstruction( local
782 HInstruction* add = InsertInstruction( local
1013 HInstruction* add = InsertInstruction( local
1122 HInstruction* add = InsertInstruction( local
1149 HInstruction* add = InsertInstruction( local
1177 HInstruction* add = InsertInstruction( local
1201 HInstruction* add = InsertInstruction( local
[all...]
H A Dinstruction_simplifier.cc331 // add up to the register size.
1401 HAdd* add = new (allocator) HAdd(type, input_other, shl); local
1404 block->ReplaceAndRemoveInstructionWith(instruction, add);
1600 HAdd* add = new(GetGraph()->GetArena()) HAdd(type, left, right->AsNeg()->GetInput()); local
1601 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, add);
1616 HAdd* add = new(GetGraph()->GetArena()) HAdd(type, left->AsNeg()->GetInput(), right); local
1617 instruction->GetBlock()->InsertInstructionBefore(add, instruction);
1618 HNeg* neg = new (GetGraph()->GetArena()) HNeg(instruction->GetType(), add);
H A Dintrinsics_mips64.cc894 Mips64Label add; local
969 __ Bc(&add);
990 __ Bind(&add);
H A Dintrinsics_mips.cc547 // If in_lo is zero, then we counted the number of trailing zeroes in in_hi so we must add the
699 // the high word. This means that we can add the subtotals for the
2556 MipsLabel add; local
2625 __ B(&add);
2641 __ Bind(&add);
H A Dcode_generator_arm.cc113 __ add(IP, SP, ShifterOperand(stack_offset));
152 __ add(IP, SP, ShifterOperand(stack_offset));
428 __ add(temp, temp, ShifterOperand(PC));
506 __ add(temp, temp, ShifterOperand(PC));
856 __ add(obj_, obj_, ShifterOperand(temp_, LSR, 32));
977 __ add(obj_, obj_, ShifterOperand(temp1_, LSR, 32));
1035 __ add(tmp_ptr, base, ShifterOperand(offset));
1410 __ add(out, first, second);
3778 void LocationsBuilderARM::VisitAdd(HAdd* add) { argument
3780 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummar
3809 VisitAdd(HAdd* add) argument
[all...]
H A Dcode_generator_arm_vixl.cc3820 void LocationsBuilderARMVIXL::VisitAdd(HAdd* add) { argument
3822 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
3823 switch (add->GetResultType()) {
3826 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
3833 locations->SetInAt(1, ArmEncodableConstantOrRegister(add->InputAt(1), ADD));
3847 LOG(FATAL) << "Unexpected add type " << add->GetResultType();
3851 void InstructionCodeGeneratorARMVIXL::VisitAdd(HAdd* add) { argument
3852 LocationSummary* locations = add->GetLocations();
3857 switch (add
[all...]
H A Dcode_generator_x86.cc2331 // zero; to take it into account, add 1 to the most significant
2947 void LocationsBuilderX86::VisitAdd(HAdd* add) { argument
2949 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
2950 switch (add->GetResultType()) {
2953 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
2968 if (add->InputAt(1)->IsX86LoadFromConstantTable()) {
2969 DCHECK(add->InputAt(1)->IsEmittedAtUseSite());
2970 } else if (add->InputAt(1)->IsConstant()) {
2980 LOG(FATAL) << "Unexpected add type " << add
2985 VisitAdd(HAdd* add) argument
[all...]
H A Dcode_generator_x86_64.cc3057 void LocationsBuilderX86_64::VisitAdd(HAdd* add) { argument
3059 new (GetGraph()->GetArena()) LocationSummary(add, LocationSummary::kNoCall);
3060 switch (add->GetResultType()) {
3063 locations->SetInAt(1, Location::RegisterOrConstant(add->InputAt(1)));
3071 locations->SetInAt(1, Location::RegisterOrInt32Constant(add->InputAt(1)));
3085 LOG(FATAL) << "Unexpected add type " << add->GetResultType();
3089 void InstructionCodeGeneratorX86_64::VisitAdd(HAdd* add) { argument
3090 LocationSummary* locations = add->GetLocations();
3095 switch (add
[all...]
/art/test/640-checker-double-simd/src/
H A DMain.java29 /// CHECK-START: void Main.add(double) loop_optimization (before)
34 /// CHECK-START-ARM64: void Main.add(double) loop_optimization (after)
39 static void add(double x) { method in class:Main
152 add(2.0);
154 expectEquals(i + 2, a[i], "add");
/art/test/640-checker-float-simd/src/
H A DMain.java29 /// CHECK-START: void Main.add(float) loop_optimization (before)
34 /// CHECK-START-ARM64: void Main.add(float) loop_optimization (after)
39 static void add(float x) { method in class:Main
154 add(2.0f);
156 expectEquals(i + 2, a[i], "add");
/art/test/640-checker-byte-simd/src/
H A DMain.java28 /// CHECK-START: void Main.add(int) loop_optimization (before)
33 /// CHECK-START-ARM64: void Main.add(int) loop_optimization (after)
38 static void add(int x) { method in class:Main
207 add(2);
209 expectEquals((byte)(i + 2), a[i], "add");
/art/test/640-checker-char-simd/src/
H A DMain.java28 /// CHECK-START: void Main.add(int) loop_optimization (before)
33 /// CHECK-START-ARM64: void Main.add(int) loop_optimization (after)
38 static void add(int x) { method in class:Main
202 add(2);
204 expectEquals(i + 2, a[i], "add");
/art/test/640-checker-int-simd/src/
H A DMain.java28 /// CHECK-START: void Main.add(int) loop_optimization (before)
33 /// CHECK-START-ARM64: void Main.add(int) loop_optimization (after)
38 static void add(int x) { method in class:Main
192 add(2);
194 expectEquals(i + 2, a[i], "add");
/art/test/640-checker-long-simd/src/
H A DMain.java28 /// CHECK-START: void Main.add(long) loop_optimization (before)
33 /// CHECK-START-ARM64: void Main.add(long) loop_optimization (after)
38 static void add(long x) { method in class:Main
190 add(2L);
192 expectEquals(i + 2, a[i], "add");
/art/test/640-checker-short-simd/src/
H A DMain.java28 /// CHECK-START: void Main.add(int) loop_optimization (before)
33 /// CHECK-START-ARM64: void Main.add(int) loop_optimization (after)
38 static void add(int x) { method in class:Main
187 static void add() { method in class:Main
203 add(2);
205 expectEquals(i + 2, a[i], "add");
224 add();
/art/test/952-invoke-custom/generator/
H A DTestLinkerMethodMinimalArguments.java43 name = "add",
46 private static int add(int a, int b) { method in class:TestLinkerMethodMinimalArguments
48 System.out.println("Throwing ArithmeticException in add()");
49 throw new ArithmeticException("add");
75 assertEquals(x + y, add(x, y));
H A DTestLinkerMethodMultipleArgumentTypes.java45 name = "add",
48 private static int add(int a, int b) { method in class:TestLinkerMethodMultipleArgumentTypes
78 assertEquals(x + y, add(x, y));
/art/tools/ahat/src/heapdump/
H A DSite.java124 Site add(StackFrame[] frames, int depth, AhatInstance inst) { method in class:Site
125 return add(this, frames, depth, inst);
128 private static Site add(Site site, StackFrame[] frames, int depth, AhatInstance inst) { method in class:Site
130 site.mObjects.add(inst);
164 site.mChildren.add(child);
202 mObjectsInfos.add(info);
281 site.mObjects.add(placeholder);
/art/test/530-checker-loops2/src/
H A DMain.java536 /// CHECK-START: int[] Main.add() BCE (before)
539 /// CHECK-START: int[] Main.add() BCE (after)
542 private static int[] add() { method in class:Main
1145 int[] a1 = add();
/art/test/913-heaps/src/art/
H A DTest913.java257 extensionTestHolder.add(a);
268 extensionTestHolder.add(o);
359 tmpStorage.add(a);
360 v.add("0@0", "1@1000"); // tmpStorage[0] --(array-element)--> a.
389 v.add("1001@0", "1000@0"); // B.class --(superclass)--> A.class.
392 v.add("1002@0", "1001@0"); // C.class --(superclass)--> B.class.
393 v.add("1002@0", "2001@0"); // C.class --(interface)--> I2.class.
398 v.add("2001@0", "2000@0"); // I2.class --(interface)--> I1.class.
406 v.add(aInstStr, aClassStr); // A -->(class) --> A.class.
412 v.add(a2InstSt
550 public void add(String referrer, String referree) { method in class:Test913.Verifier
[all...]
/art/test/956-methodhandles/src/
H A DMain.java222 public String add(int x, int y) { method in class:Main.BarImpl
285 BarImpl.class, "add", MethodType.methodType(String.class, int.class, int.class));
288 BarImpl.class, "add", MethodType.methodType(String.class, Integer.class, int.class));
/art/compiler/utils/arm/
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.
3360 add(IP, SP, ShifterOperand(stack_offset));
3373 add(lowest_reg, SP, ShifterOperand(stack_offset));
3637 // We prefer to select the shorter code sequence rather than selecting add for
3642 add(rd, rn, shifter_op, cond, set_cc);
3651 add(r
[all...]

Completed in 3180 milliseconds