Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 51) 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.h289 HInstruction* right, in HVecBinaryOperation() argument
301 SetRawInputAt(1, right); in HVecBinaryOperation()
572 HInstruction* right, in HVecAdd() argument
576 : HVecBinaryOperation(kVecAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecAdd()
578 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecAdd()
596 HInstruction* right, in HVecSaturationAdd() argument
601 kVecSaturationAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecSaturationAdd()
603 DCHECK(HasConsistentPackedTypes(right, packed_type)); in HVecSaturationAdd()
622 HInstruction* right, in HVecHalvingAdd() argument
628 kVecHalvingAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecHalvingAdd()
[all …]
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()
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()
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.cc223 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring() local
227 if (((left->IsNot() && right->IsNot()) || in TryDeMorganNegationFactoring()
228 (left->IsBooleanNot() && right->IsBooleanNot())) && in TryDeMorganNegationFactoring()
230 right->HasOnlyOneNonEnvironmentUse()) { in TryDeMorganNegationFactoring()
239 HInstruction* src_right = right->InputAt(0); in TryDeMorganNegationFactoring()
244 right->ReplaceWith(src_right); in TryDeMorganNegationFactoring()
246 right->GetBlock()->RemoveInstruction(right); in TryDeMorganNegationFactoring()
445 HInstruction* right = op->GetRight(); in TryReplaceWithRotate() local
447 if ((left->IsUShr() && right->IsShl()) || (left->IsShl() && right->IsUShr())) { in TryReplaceWithRotate()
448 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()
Dnodes_shared.h70 HInstruction* right,
75 right, in HBinaryOperation() argument
199 HInstruction* right,
212 SetRawInputAt(1, right);
Dcode_generator_vector_arm64_sve.cc1069 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1078 __ Mla(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1080 __ Mls(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1087 __ Mla(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1089 __ Mls(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1095 __ Mla(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1097 __ Mls(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1152 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
1168 __ Sabal(acc.V8H(), left.V8B(), right.V8B()); in VisitVecSADAccumulate()
1169 __ Sabal2(acc.V8H(), left.V16B(), right.V16B()); in VisitVecSADAccumulate()
[all …]
Dcode_generator_vector_arm64_neon.cc1069 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecMultiplyAccumulate() local
1078 __ Mla(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1080 __ Mls(acc.V16B(), left.V16B(), right.V16B()); in VisitVecMultiplyAccumulate()
1087 __ Mla(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1089 __ Mls(acc.V8H(), left.V8H(), right.V8H()); in VisitVecMultiplyAccumulate()
1095 __ Mla(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1097 __ Mls(acc.V4S(), left.V4S(), right.V4S()); in VisitVecMultiplyAccumulate()
1152 VRegister right = VRegisterFrom(locations->InAt(2)); in VisitVecSADAccumulate() local
1168 __ Sabal(acc.V8H(), left.V8B(), right.V8B()); in VisitVecSADAccumulate()
1169 __ Sabal2(acc.V8H(), left.V16B(), right.V16B()); in VisitVecSADAccumulate()
[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 …]
Dload_store_elimination_test.cc121 HBasicBlock* right = AddNewBlock(); in CreateDiamondShapedCFG() local
125 upper->AddSuccessor(right); in CreateDiamondShapedCFG()
127 right->AddSuccessor(return_block_); in CreateDiamondShapedCFG()
135 right->AddInstruction(new (GetAllocator()) HGoto()); in CreateDiamondShapedCFG()
137 return std::make_tuple(upper, left, right, return_block_); in CreateDiamondShapedCFG()
512 HBasicBlock* right; in TEST_F() local
514 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
524 HInstruction* vstore3 = AddVecStore(right, array_, i_add1_, vdata); in TEST_F()
553 HBasicBlock* right; in TEST_F() local
555 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
[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/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/721-osr/
Dinfo.txt2 right dex register value in the presence of equivalent phis.
/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/test/142-classloader2/smali/
DMyPathClassLoader.smali2 # We need to use smali right now to subclass a libcore class, see b/24304298.
/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