Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 56) sorted by relevance

123

/art/compiler/optimizing/
Dinstruction_simplifier_x86_shared.cc32 HInstruction* right = instruction->GetRight(); in TryCombineAndNot() local
36 if (left->IsNot() ^ right->IsNot()) { in TryCombineAndNot()
38 HInstruction* other_ins = (left_is_not ? right : left); in TryCombineAndNot()
39 HNot* not_ins = (left_is_not ? left : right)->AsNot(); in TryCombineAndNot()
70 HInstruction* right = instruction->GetRight(); in TryGenerateResetLeastSetBit() local
71 if (AreLeastSetBitInputs(left, right)) { in TryGenerateResetLeastSetBit()
73 other = right; in TryGenerateResetLeastSetBit()
74 } else if (AreLeastSetBitInputs(right, left)) { in TryGenerateResetLeastSetBit()
75 candidate = right; in TryGenerateResetLeastSetBit()
101 HInstruction* right = instruction->GetRight(); in TryGenerateMaskUptoLeastSetBit() local
[all …]
Dnodes_vector.h298 HInstruction* right, in HVecBinaryOperation() argument
310 SetRawInputAt(1, right); in HVecBinaryOperation()
581 HInstruction* right, in HVecAdd() argument
585 : HVecBinaryOperation(kVecAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecAdd()
587 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecAdd()
605 HInstruction* right, in HVecSaturationAdd() argument
610 kVecSaturationAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecSaturationAdd()
612 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecSaturationAdd()
631 HInstruction* right, in HVecHalvingAdd() argument
637 kVecHalvingAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecHalvingAdd()
[all …]
Dinstruction_simplifier_shared.cc176 HInstruction* right = mul->GetRight(); in TryCombineMultiplyAccumulate() local
177 if ((right->IsAdd() || right->IsSub()) && in TryCombineMultiplyAccumulate()
178 TrySimpleMultiplyAccumulatePatterns(mul, right->AsBinaryOperation(), left)) { in TryCombineMultiplyAccumulate()
182 TrySimpleMultiplyAccumulatePatterns(mul, left->AsBinaryOperation(), right)) { in TryCombineMultiplyAccumulate()
192 HInstruction* right = op->GetRight(); in TryMergeNegatedInput() local
196 if (left->IsNot() ^ right->IsNot()) { in TryMergeNegatedInput()
197 HInstruction* hnot = (left->IsNot() ? left : right); in TryMergeNegatedInput()
198 HInstruction* hother = (left->IsNot() ? right : left); in TryMergeNegatedInput()
Dinstruction_simplifier_shared.h55 HInstruction* right = sub->GetRight(); in IsSubRightSubLeftShl() local
56 return right->IsSub() && right->AsSub()->GetLeft()->IsShl();; in IsSubRightSubLeftShl()
Dinstruction_simplifier_arm64.cc104 HInstruction* right; in TryMergeIntoShifterOperand() local
107 right = use->InputAt(1); in TryMergeIntoShifterOperand()
110 right = use->AsNeg()->InputAt(0); in TryMergeIntoShifterOperand()
111 left = GetGraph()->GetConstant(right->GetType(), 0); in TryMergeIntoShifterOperand()
113 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
115 if (left == right) { in TryMergeIntoShifterOperand()
124 if (bitfield_op == right) { in TryMergeIntoShifterOperand()
128 other_input = right; in TryMergeIntoShifterOperand()
Dbounds_check_elimination.cc52 static bool WouldAddOverflowOrUnderflow(int32_t left, int32_t right) { in WouldAddOverflowOrUnderflow() argument
53 if (right == 0) { in WouldAddOverflowOrUnderflow()
56 if ((right > 0) && (left <= (std::numeric_limits<int32_t>::max() - right))) { in WouldAddOverflowOrUnderflow()
60 if ((right < 0) && (left >= (std::numeric_limits<int32_t>::min() - right))) { in WouldAddOverflowOrUnderflow()
76 HInstruction* right = bin_op->GetRight(); in IsAddOrSubAConstant() local
77 if (right->IsIntConstant()) { in IsAddOrSubAConstant()
78 int32_t v = right->AsIntConstant()->GetValue(); in IsAddOrSubAConstant()
101 int32_t right; in AsValueBound() local
102 if (IsAddOrSubAConstant(instruction, &left, &right)) { in AsValueBound()
103 return ValueBound(left, right); in AsValueBound()
[all …]
Dinstruction_simplifier.cc225 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring() local
229 if (((left->IsNot() && right->IsNot()) || in TryDeMorganNegationFactoring()
230 (left->IsBooleanNot() && right->IsBooleanNot())) && in TryDeMorganNegationFactoring()
232 right->HasOnlyOneNonEnvironmentUse()) { in TryDeMorganNegationFactoring()
241 HInstruction* src_right = right->InputAt(0); in TryDeMorganNegationFactoring()
246 right->ReplaceWith(src_right); in TryDeMorganNegationFactoring()
248 right->GetBlock()->RemoveInstruction(right); in TryDeMorganNegationFactoring()
463 HInstruction* right = op->GetRight(); in TryReplaceWithRotate() local
465 if ((left->IsUShr() && right->IsShl()) || (left->IsShl() && right->IsUShr())) { in TryReplaceWithRotate()
466 HUShr* ushr = left->IsUShr() ? left->AsUShr() : right->AsUShr(); in TryReplaceWithRotate()
[all …]
Dinstruction_simplifier_arm.cc98 HInstruction* right = use->InputAt(1); in TryMergeIntoShifterOperand() local
99 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
101 if (left == right) { in TryMergeIntoShifterOperand()
110 if (bitfield_op == right) { in TryMergeIntoShifterOperand()
114 other_input = right; in TryMergeIntoShifterOperand()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() argument
126 if (left == right && !DataType::IsFloatingPointType(left->GetType())) { in Evaluate()
131 if (!left->IsConstant() || !right->IsConstant()) { in Evaluate()
136 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate()
138 return condition->Evaluate(left->AsNullConstant(), right->AsNullConstant()); in Evaluate()
140 return condition->Evaluate(left->AsLongConstant(), right->AsLongConstant()); in Evaluate()
142 return condition->Evaluate(left->AsFloatConstant(), right->AsFloatConstant()); in Evaluate()
145 return condition->Evaluate(left->AsDoubleConstant(), right->AsDoubleConstant()); in Evaluate()
Dload_store_elimination_test.cc156 HBasicBlock* right = AddNewBlock(); in CreateDiamondShapedCFG() local
160 upper->AddSuccessor(right); in CreateDiamondShapedCFG()
162 right->AddSuccessor(return_block_); in CreateDiamondShapedCFG()
170 right->AddInstruction(new (GetAllocator()) HGoto()); in CreateDiamondShapedCFG()
172 return std::make_tuple(upper, left, right, return_block_); in CreateDiamondShapedCFG()
731 HBasicBlock* right; in TEST_F() local
733 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
743 HInstruction* vstore3 = AddVecStore(right, array_, i_add1_, vdata); in TEST_F()
772 HBasicBlock* right; in TEST_F() local
774 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
[all …]
Dcode_generator_vector_arm64_neon.cc1100 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1109 __ Mla(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1111 __ Mls(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1118 __ Mla(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1120 __ Mls(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1126 __ Mla(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1128 __ Mls(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1183 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
1199 __ Sabal(acc.V8H(), left.V8B(), right.V8B()); in VisitVecSADAccumulate()
1200 __ Sabal2(acc.V8H(), left.V16B(), right.V16B()); in VisitVecSADAccumulate()
[all …]
Dnodes_shared.h70 HInstruction* right,
75 right, in HBinaryOperation() argument
199 HInstruction* right,
212 SetRawInputAt(1, right);
Dload_store_analysis_test.cc856 HBasicBlock* right = blks.Get("right"); in TEST_F() local
909 right->AddInstruction(write_right); in TEST_F()
910 right->AddInstruction(goto_right); in TEST_F()
965 HBasicBlock* right = blks.Get("right"); in TEST_F() local
1018 right->AddInstruction(write_right); in TEST_F()
1019 right->AddInstruction(goto_right); in TEST_F()
1075 HBasicBlock* right = blks.Get("right"); in TEST_F() local
1141 right->AddInstruction(write_right); in TEST_F()
1142 right->AddInstruction(goto_right); in TEST_F()
1200 HBasicBlock* right = blks.Get("right"); in TEST_F() local
[all …]
Dscheduler_arm.cc211 HInstruction* right = condition->InputAt(1); in HandleGenerateLongTestConstant() local
213 int64_t value = Uint64ConstantFrom(right); in HandleGenerateLongTestConstant()
321 HInstruction* right = condition->InputAt(1); in CanGenerateTest() local
323 if (right->IsConstant()) { in CanGenerateTest()
325 const uint64_t value = Uint64ConstantFrom(right); in CanGenerateTest()
382 HInstruction* right = cond->InputAt(1); in HandleGenerateConditionLong() local
384 if (right->IsConstant()) { in HandleGenerateConditionLong()
386 if (Uint64ConstantFrom(right) == 0) { in HandleGenerateConditionLong()
439 HInstruction* right = cond->InputAt(1); in HandleGenerateConditionIntegralOrNonPrimitive() local
442 if (right->IsConstant()) { in HandleGenerateConditionIntegralOrNonPrimitive()
[all …]
/art/test/550-checker-multiply-accumulate/src/
DMain.java79 public static int $opt$noinline$mulAdd(int acc, int left, int right) { in $opt$noinline$mulAdd() argument
80 return acc + left * right; in $opt$noinline$mulAdd()
120 public static long $opt$noinline$mulSub(long acc, long left, long right) { in $opt$noinline$mulSub() argument
121 return acc - left * right; in $opt$noinline$mulSub()
171 public static int $opt$noinline$multipleUses1(int acc, int left, int right) { in $opt$noinline$multipleUses1() argument
172 int temp = left * right; in $opt$noinline$multipleUses1()
228 public static long $opt$noinline$multipleUses2(long acc, long left, long right) { in $opt$noinline$multipleUses2() argument
229 long temp = left * right; in $opt$noinline$multipleUses2()
366 public static int $opt$noinline$mulNeg(int left, int right) { in $opt$noinline$mulNeg() argument
367 return - (left * right); in $opt$noinline$mulNeg()
[all …]
/art/tools/ahat/src/test-dump/
DDumpedStuff.java87 gcPathArray[2].right.left = gcPathArray[2].left.right; in DumpedStuff()
92 public ObjectTree right; field in DumpedStuff.ObjectTree
94 public ObjectTree(ObjectTree left, ObjectTree right) { in ObjectTree() argument
96 this.right = right; in ObjectTree()
/art/tools/ahat/etc/
Dstyle.css30 * Most of the columns show numbers of bytes. Numbers should be right aligned.
35 padding-right: 4px;
40 padding-right: 8px;
/art/runtime/gc/space/
Dregion_space-inl.h394 size_t right = left; in AllocLargeInRange() local
395 DCHECK_LT(right, left + num_regs_in_large_region) in AllocLargeInRange()
397 while (right < left + num_regs_in_large_region) { in AllocLargeInRange()
398 if (regions_[right].IsFree()) { in AllocLargeInRange()
399 ++right; in AllocLargeInRange()
401 DCHECK_LE(right, num_regions_); in AllocLargeInRange()
409 DCHECK_EQ(left + num_regs_in_large_region, right); in AllocLargeInRange()
426 for (size_t p = left + 1; p < right; ++p) { in AllocLargeInRange()
449 *next_region = right; in AllocLargeInRange()
454 left = right + 1; in AllocLargeInRange()
/art/test/730-checker-inlining-super/
Dinfo.txt1 Test that an invoke-virtual devirtualized by the compiler uses the right bss
/art/test/535-deopt-and-inlining/
Dinfo.txt2 stack visitor uses the right ArtMethod when deopting.
/art/test/974-verify-interface-super/
Dinfo.txt1 Test that we do the right thing with invoke-super on interfaces when there are
/art/test/661-classloader-allocator/
Dinfo.txt2 be (re-)allocated with the right class loader allocator,
/art/test/721-osr/
Dinfo.txt2 right dex register value in the presence of equivalent phis.
/art/test/543-env-long-ref/
Dinfo.txt2 the right dex register in debuggable when a new value
/art/cmdline/detail/
Dcmdline_parser_detail.h55 static std::true_type EqualityOperatorTest(const TL& left, const TR& right,
56 … std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3]

123