Home
last modified time | relevance | path

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

12

/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.h230 HInstruction* right, in HVecBinaryOperation() argument
242 SetRawInputAt(1, right); in HVecBinaryOperation()
513 HInstruction* right, in HVecAdd() argument
517 : HVecBinaryOperation(kVecAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecAdd()
519 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecAdd()
537 HInstruction* right, in HVecSaturationAdd() argument
542 kVecSaturationAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecSaturationAdd()
544 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecSaturationAdd()
563 HInstruction* right, in HVecHalvingAdd() argument
569 kVecHalvingAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecHalvingAdd()
[all …]
Dinstruction_simplifier_arm64.cc102 HInstruction* right; in TryMergeIntoShifterOperand() local
105 right = use->InputAt(1); in TryMergeIntoShifterOperand()
108 right = use->AsNeg()->InputAt(0); in TryMergeIntoShifterOperand()
109 left = GetGraph()->GetConstant(right->GetType(), 0); in TryMergeIntoShifterOperand()
111 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
113 if (left == right) { in TryMergeIntoShifterOperand()
122 if (bitfield_op == right) { in TryMergeIntoShifterOperand()
126 other_input = right; in TryMergeIntoShifterOperand()
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.cc216 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring() local
220 if (((left->IsNot() && right->IsNot()) || in TryDeMorganNegationFactoring()
221 (left->IsBooleanNot() && right->IsBooleanNot())) && in TryDeMorganNegationFactoring()
223 right->HasOnlyOneNonEnvironmentUse()) { in TryDeMorganNegationFactoring()
232 HInstruction* src_right = right->InputAt(0); in TryDeMorganNegationFactoring()
237 right->ReplaceWith(src_right); in TryDeMorganNegationFactoring()
239 right->GetBlock()->RemoveInstruction(right); in TryDeMorganNegationFactoring()
449 HInstruction* right = op->GetRight(); in TryReplaceWithRotate() local
451 if ((left->IsUShr() && right->IsShl()) || (left->IsShl() && right->IsUShr())) { in TryReplaceWithRotate()
452 HUShr* ushr = left->IsUShr() ? left->AsUShr() : right->AsUShr(); in TryReplaceWithRotate()
[all …]
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_arm.cc96 HInstruction* right = use->InputAt(1); in TryMergeIntoShifterOperand() local
97 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
99 if (left == right) { in TryMergeIntoShifterOperand()
108 if (bitfield_op == right) { in TryMergeIntoShifterOperand()
112 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()
Dcode_generator_vector_arm64.cc1071 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1080 __ Mla(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1082 __ Mls(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1089 __ Mla(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1091 __ Mls(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1097 __ Mla(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1099 __ Mls(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1154 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
1170 __ Sabal(acc.V8H(), left.V8B(), right.V8B()); in VisitVecSADAccumulate()
1171 __ 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);
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 …]
Dcode_generator_vector_mips64.cc1040 VectorRegister right = VectorRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1046 __ MaddvB(acc, left, right); in VisitVecMultiplyAccumulate()
1048 __ MsubvB(acc, left, right); in VisitVecMultiplyAccumulate()
1055 __ MaddvH(acc, left, right); in VisitVecMultiplyAccumulate()
1057 __ MsubvH(acc, left, right); in VisitVecMultiplyAccumulate()
1063 __ MaddvW(acc, left, right); in VisitVecMultiplyAccumulate()
1065 __ MsubvW(acc, left, right); in VisitVecMultiplyAccumulate()
1071 __ MaddvD(acc, left, right); in VisitVecMultiplyAccumulate()
1073 __ MsubvD(acc, left, right); in VisitVecMultiplyAccumulate()
1113 VectorRegister right = VectorRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
[all …]
Dcode_generator_vector_mips.cc1042 VectorRegister right = VectorRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1048 __ MaddvB(acc, left, right); in VisitVecMultiplyAccumulate()
1050 __ MsubvB(acc, left, right); in VisitVecMultiplyAccumulate()
1057 __ MaddvH(acc, left, right); in VisitVecMultiplyAccumulate()
1059 __ MsubvH(acc, left, right); in VisitVecMultiplyAccumulate()
1065 __ MaddvW(acc, left, right); in VisitVecMultiplyAccumulate()
1067 __ MsubvW(acc, left, right); in VisitVecMultiplyAccumulate()
1073 __ MaddvD(acc, left, right); in VisitVecMultiplyAccumulate()
1075 __ MsubvD(acc, left, right); in VisitVecMultiplyAccumulate()
1115 VectorRegister right = VectorRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
[all …]
Dssa_builder.cc41 HInstruction* right = equality_instr->InputAt(1); in FixNullConstantType() local
45 (right->GetType() == DataType::Type::kInt32)) { in FixNullConstantType()
46 int_operand = right; in FixNullConstantType()
47 } else if ((right->GetType() == DataType::Type::kReference) && in FixNullConstantType()
60 equality_instr->ReplaceInput(graph_->GetNullConstant(), int_operand == right ? 1 : 0); in FixNullConstantType()
/art/test/550-checker-multiply-accumulate/src/
DMain.java82 public static int $opt$noinline$mulAdd(int acc, int left, int right) { in $opt$noinline$mulAdd() argument
84 return acc + left * right; in $opt$noinline$mulAdd()
124 public static long $opt$noinline$mulSub(long acc, long left, long right) { in $opt$noinline$mulSub() argument
126 return acc - left * right; in $opt$noinline$mulSub()
176 public static int $opt$noinline$multipleUses1(int acc, int left, int right) { in $opt$noinline$multipleUses1() argument
178 int temp = left * right; in $opt$noinline$multipleUses1()
234 public static long $opt$noinline$multipleUses2(long acc, long left, long right) { in $opt$noinline$multipleUses2() argument
236 long temp = left * right; in $opt$noinline$multipleUses2()
375 public static int $opt$noinline$mulNeg(int left, int right) { in $opt$noinline$mulNeg() argument
377 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.h399 size_t right = left; in AllocLargeInRange() local
400 DCHECK_LT(right, left + num_regs_in_large_region) in AllocLargeInRange()
402 while (right < left + num_regs_in_large_region) { in AllocLargeInRange()
403 if (regions_[right].IsFree()) { in AllocLargeInRange()
404 ++right; in AllocLargeInRange()
406 DCHECK_LE(right, num_regions_); in AllocLargeInRange()
414 DCHECK_EQ(left + num_regs_in_large_region, right); in AllocLargeInRange()
431 for (size_t p = left + 1; p < right; ++p) { in AllocLargeInRange()
454 *next_region = right; in AllocLargeInRange()
459 left = right + 1; in AllocLargeInRange()
/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/535-deopt-and-inlining/
Dinfo.txt2 stack visitor uses the right ArtMethod when deopting.
/art/test/661-classloader-allocator/
Dinfo.txt2 be (re-)allocated with the right class loader allocator,
/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]
/art/test/142-classloader2/smali/
DMyPathClassLoader.smali2 # We need to use smali right now to subclass a libcore class, see b/24304298.
/art/runtime/verifier/
Dreg_type_cache.cc384 const RegType& right, in FromUnresolvedMerge() argument
410 if (right.IsUnresolvedMergedReference()) { in FromUnresolvedMerge()
411 const UnresolvedMergedType& right_merge = *down_cast<const UnresolvedMergedType*>(&right); in FromUnresolvedMerge()
415 right_unresolved_is_array = right.IsArrayTypes(); in FromUnresolvedMerge()
416 } else if (right.IsUnresolvedTypes()) { in FromUnresolvedMerge()
417 types.SetBit(right.GetId()); in FromUnresolvedMerge()
419 right_unresolved_is_array = right.IsArrayTypes(); in FromUnresolvedMerge()
421 right_resolved = &right; in FromUnresolvedMerge()
446 (!right_unresolved_is_array && right_resolved != &right) || in FromUnresolvedMerge()

12