Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 40) sorted by relevance

12

/art/compiler/optimizing/
Dinstruction_simplifier_x86_shared.cc31 HInstruction* left = instruction->GetLeft(); in TryCombineAndNot() local
36 if (left->IsNot() ^ right->IsNot()) { in TryCombineAndNot()
37 bool left_is_not = left->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()
69 HInstruction* left = instruction->GetLeft(); in TryGenerateResetLeastSetBit() local
71 if (AreLeastSetBitInputs(left, right)) { in TryGenerateResetLeastSetBit()
72 candidate = left; in TryGenerateResetLeastSetBit()
74 } else if (AreLeastSetBitInputs(right, left)) { in TryGenerateResetLeastSetBit()
76 other = left; in TryGenerateResetLeastSetBit()
[all …]
Dnodes_vector.h288 HInstruction* left, in HVecBinaryOperation() argument
300 SetRawInputAt(0, left); in HVecBinaryOperation()
571 HInstruction* left, in HVecAdd() argument
576 : HVecBinaryOperation(kVecAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecAdd()
577 DCHECK(HasConsistentPackedTypes(left, packed_type)); in HVecAdd()
595 HInstruction* left, in HVecSaturationAdd() argument
601 kVecSaturationAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecSaturationAdd()
602 DCHECK(HasConsistentPackedTypes(left, packed_type)); in HVecSaturationAdd()
621 HInstruction* left, in HVecHalvingAdd() argument
628 kVecHalvingAdd, allocator, left, right, packed_type, vector_length, dex_pc) { in HVecHalvingAdd()
[all …]
Dinstruction_simplifier_shared.cc175 HInstruction* left = mul->GetLeft(); in TryCombineMultiplyAccumulate() local
178 TrySimpleMultiplyAccumulatePatterns(mul, right->AsBinaryOperation(), left)) { in TryCombineMultiplyAccumulate()
181 if ((left->IsAdd() || left->IsSub()) && in TryCombineMultiplyAccumulate()
182 TrySimpleMultiplyAccumulatePatterns(mul, left->AsBinaryOperation(), right)) { in TryCombineMultiplyAccumulate()
191 HInstruction* left = op->GetLeft(); 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()
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()
135 if (left->IsIntConstant()) { in Evaluate()
136 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate()
137 } else if (left->IsNullConstant()) { in Evaluate()
138 return condition->Evaluate(left->AsNullConstant(), right->AsNullConstant()); in Evaluate()
139 } else if (left->IsLongConstant()) { in Evaluate()
140 return condition->Evaluate(left->AsLongConstant(), right->AsLongConstant()); in Evaluate()
141 } else if (left->IsFloatConstant()) { in Evaluate()
[all …]
Dconstant_folding.cc136 HInstruction* left = instruction->GetLeft(); in VisitShift() local
137 if (left->IsConstant() && left->AsConstant()->IsArithmeticZero()) { in VisitShift()
142 instruction->ReplaceWith(left); in VisitShift()
231 HInstruction* left = instruction->GetLeft(); in VisitAnd() local
234 if (left->IsNot() ^ right->IsNot()) { in VisitAnd()
240 HInstruction* hnot = (left->IsNot() ? left : right); in VisitAnd()
241 HInstruction* hother = (left->IsNot() ? right : left); in VisitAnd()
Dbounds_check_elimination.cc52 static bool WouldAddOverflowOrUnderflow(int32_t left, int32_t right) { in WouldAddOverflowOrUnderflow() argument
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()
75 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant() local
81 instruction = left; in IsAddOrSubAConstant()
82 left_so_far = left; in IsAddOrSubAConstant()
100 HInstruction *left; in AsValueBound() local
102 if (IsAddOrSubAConstant(instruction, &left, &right)) { in AsValueBound()
103 return ValueBound(left, right); in AsValueBound()
122 HInstruction *left; in DetectValueBoundFromValue() local
[all …]
Dinstruction_simplifier.cc222 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring() local
227 if (((left->IsNot() && right->IsNot()) || in TryDeMorganNegationFactoring()
228 (left->IsBooleanNot() && right->IsBooleanNot())) && in TryDeMorganNegationFactoring()
229 left->HasOnlyOneNonEnvironmentUse() && in TryDeMorganNegationFactoring()
238 HInstruction* src_left = left->InputAt(0); in TryDeMorganNegationFactoring()
243 left->ReplaceWith(src_left); in TryDeMorganNegationFactoring()
245 left->GetBlock()->RemoveInstruction(left); in TryDeMorganNegationFactoring()
256 if (left->IsBooleanNot()) { in TryDeMorganNegationFactoring()
444 HInstruction* left = op->GetLeft(); in TryReplaceWithRotate() local
447 if ((left->IsUShr() && right->IsShl()) || (left->IsShl() && right->IsUShr())) { in TryReplaceWithRotate()
[all …]
Dinstruction_simplifier_arm64.cc103 HInstruction* left; in TryMergeIntoShifterOperand() local
106 left = use->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()
125 other_input = left; in TryMergeIntoShifterOperand()
Dnodes_shared.h69 HInstruction* left,
74 left, in HBinaryOperation() argument
198 HInstruction* left,
211 SetRawInputAt(0, left);
Dcode_generator_vector_arm64_sve.cc1068 VRegister left = VRegisterFrom(locations->InAt(1)); 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()
1151 VRegister left = VRegisterFrom(locations->InAt(1)); 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.cc1068 VRegister left = VRegisterFrom(locations->InAt(1)); 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()
1151 VRegister left = VRegisterFrom(locations->InAt(1)); in VisitVecSADAccumulate() local
1168 __ Sabal(acc.V8H(), left.V8B(), right.V8B()); in VisitVecSADAccumulate()
1169 __ Sabal2(acc.V8H(), left.V16B(), right.V16B()); in VisitVecSADAccumulate()
[all …]
Dinstruction_simplifier_arm.cc97 HInstruction* left = use->InputAt(0); in TryMergeIntoShifterOperand() local
99 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
101 if (left == right) { in TryMergeIntoShifterOperand()
111 other_input = left; in TryMergeIntoShifterOperand()
Dload_store_elimination_test.cc120 HBasicBlock* left = AddNewBlock(); in CreateDiamondShapedCFG() local
124 upper->AddSuccessor(left); in CreateDiamondShapedCFG()
126 left->AddSuccessor(return_block_); in CreateDiamondShapedCFG()
134 left->AddInstruction(new (GetAllocator()) HGoto()); in CreateDiamondShapedCFG()
137 return std::make_tuple(upper, left, right, return_block_); in CreateDiamondShapedCFG()
511 HBasicBlock* left; in TEST_F() local
514 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
521 HInstruction* vstore2 = AddVecStore(left, array_, i_, vdata); in TEST_F()
552 HBasicBlock* left; in TEST_F() local
555 std::tie(upper, left, right, down) = CreateDiamondShapedCFG(); in TEST_F()
[all …]
Dnodes_x86.h134 HInstruction* left,
137 : HBinaryOperation(kX86AndNot, result_type, left, right, SideEffects::None(), dex_pc) { in HBinaryOperation() argument
Dssa_builder.cc40 HInstruction* left = equality_instr->InputAt(0); in FixNullConstantType() local
44 if ((left->GetType() == DataType::Type::kReference) && in FixNullConstantType()
48 (left->GetType() == DataType::Type::kInt32)) { in FixNullConstantType()
49 int_operand = left; in FixNullConstantType()
/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/main/com/android/ahat/
DSizeTable.java44 static void table(Doc doc, Column left, boolean showDiff, Column... columns) { in table() argument
46 cols.add(left); in table()
62 static void row(Doc doc, DocString left, Size size, Size base, DocString... values) { in row() argument
64 vals.add(left); in row()
/art/tools/ahat/src/test-dump/
DDumpedStuff.java87 gcPathArray[2].right.left = gcPathArray[2].left.right; in DumpedStuff()
91 public ObjectTree left; field in DumpedStuff.ObjectTree
94 public ObjectTree(ObjectTree left, ObjectTree right) { in ObjectTree() argument
95 this.left = left; in ObjectTree()
/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]
59 static std::false_type EqualityOperatorTest(const TL& left, const T& ... args);
/art/tools/ahat/etc/
Dstyle.css34 padding-left: 4px;
39 padding-left: 8px;
/art/runtime/gc/space/
Dregion_space-inl.h391 size_t left = begin; in AllocLargeInRange() local
392 while (left + num_regs_in_large_region - 1 < end) { in AllocLargeInRange()
394 size_t right = left; in AllocLargeInRange()
395 DCHECK_LT(right, left + num_regs_in_large_region) in AllocLargeInRange()
397 while (right < left + num_regs_in_large_region) { in AllocLargeInRange()
409 DCHECK_EQ(left + num_regs_in_large_region, right); in AllocLargeInRange()
410 Region* first_reg = &regions_[left]; in AllocLargeInRange()
426 for (size_t p = left + 1; p < right; ++p) { in AllocLargeInRange()
454 left = right + 1; in AllocLargeInRange()
/art/runtime/verifier/
Dreg_type_cache.cc394 const RegType& RegTypeCache::FromUnresolvedMerge(const RegType& left, in FromUnresolvedMerge() argument
402 if (left.IsUnresolvedMergedReference()) { in FromUnresolvedMerge()
403 const UnresolvedMergedType& left_merge = *down_cast<const UnresolvedMergedType*>(&left); in FromUnresolvedMerge()
407 left_unresolved_is_array = left.IsArrayTypes(); in FromUnresolvedMerge()
408 } else if (left.IsUnresolvedTypes()) { in FromUnresolvedMerge()
410 types.SetBit(left.GetId()); in FromUnresolvedMerge()
412 left_unresolved_is_array = left.IsArrayTypes(); in FromUnresolvedMerge()
415 left_resolved = &left; in FromUnresolvedMerge()
456 if ((!left_unresolved_is_array && left_resolved != &left) || in FromUnresolvedMerge()
/art/libartbase/base/
Dbit_vector.cc308 uint32_t left = storage_size_ - size; in Copy() local
310 if (left > 0) { in Copy()
311 memset(storage_ + size, 0, kWordBytes * left); in Copy()
Dstl_util.h163 ZipLeftIter(IterLeft left, IterRight right) : left_iter_(left), right_iter_(right) {} in ZipLeftIter() argument
Dbit_utils.h349 template <typename T, bool left>
352 int unsigned_right_shift = left ? (-distance & mask) : (distance & mask); in Rot()
353 int signed_left_shift = left ? (distance & mask) : (-distance & mask); in Rot()

12