Home
last modified time | relevance | path

Searched refs:IsConstant (Results 1 – 25 of 55) sorted by relevance

123

/art/compiler/optimizing/
Dscheduler_arm.cc108 if (rhs->IsConstant()) { in VisitRor()
134 if (!rhs->IsConstant()) { in HandleShiftLatencies()
140 if (!rhs->IsConstant()) { in HandleShiftLatencies()
317 if (index->IsConstant()) { in VisitArrayGet()
345 if (index->IsConstant()) { in VisitArrayGet()
359 if (index->IsConstant()) { in VisitArrayGet()
369 if (index->IsConstant()) { in VisitArrayGet()
379 if (index->IsConstant()) { in VisitArrayGet()
414 if (index->IsConstant()) { in VisitArraySet()
428 if (index->IsConstant()) { in VisitArraySet()
[all …]
Dx86_memory_gen.cc47 if (array->IsConstant() || (array->IsNullCheck() && array->InputAt(0)->IsConstant())) { in VisitBoundsCheck()
Dlocations.cc53 return instruction->IsConstant() in RegisterOrConstant()
81 return instruction->IsConstant() in ByteRegisterOrConstant()
87 return instruction->IsConstant() in FpuRegisterOrConstant()
Dconstant_folding.cc126 if (check_input->IsConstant() && !check_input->AsConstant()->IsArithmeticZero()) { in VisitDivZeroCheck()
136 if (left->IsConstant() && left->AsConstant()->IsArithmeticZero()) { in VisitShift()
171 if (instruction->GetLeft()->IsConstant() && in VisitAbove()
183 if (instruction->GetRight()->IsConstant() && in VisitAboveOrEqual()
195 if (instruction->GetRight()->IsConstant() && in VisitBelow()
207 if (instruction->GetLeft()->IsConstant() && in VisitBelowOrEqual()
293 if (instruction->GetLeft()->IsConstant() && in VisitRem()
Dinduction_var_range.cc368 IsConstant(trip->op_a, kExact, tc); in IsFinite()
385 if (IsConstant(info->op_a, kExact, &stride_value) && stride_value == 1) { in IsUnitStride()
387 if (IsConstant(info->op_b, kExact, &off_value)) { in IsUnitStride()
429 bool InductionVarRange::IsConstant(HInductionVarAnalysis::InductionInfo* info, in IsConstant() function in art::InductionVarRange
489 return (!HasFetchInLoop(lower) || range.IsConstant(lower, kAtLeast, &not_used)) && in IsWellBehavedTripCount()
490 (!HasFetchInLoop(upper) || range.IsConstant(upper, kAtLeast, &not_used)); in IsWellBehavedTripCount()
510 return IsConstant(info->op_a, kExact, stride_value); in NeedsTripCount()
554 if (IsConstant(info->op_a, kExact, &stride_value)) { in GetLinear()
600 if (IsConstant(info->op_a->op_a, kExact, &a) && CanLongValueFitIntoInt(a) && a >= 0 && in GetPolynomial()
601 IsConstant(info->op_a->op_b, kExact, &b) && CanLongValueFitIntoInt(b) && b >= 0) { in GetPolynomial()
[all …]
Dinstruction_simplifier_arm.cc207 if (instruction->InputAt(1)->IsConstant()) { in VisitShl()
213 if (instruction->InputAt(1)->IsConstant()) { in VisitShr()
233 if (instruction->InputAt(1)->IsConstant()) { in VisitUShr()
Dinstruction_simplifier_arm64.cc176 if (instruction->InputAt(1)->IsConstant()) { in VisitShl()
182 if (instruction->InputAt(1)->IsConstant()) { in VisitShr()
202 if (instruction->InputAt(1)->IsConstant()) { in VisitUShr()
Dinstruction_simplifier_shared.cc54 if (input_binop->GetRight()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns()
62 } else if (input_binop->GetLeft()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns()
236 if (index->IsConstant() || in TryExtractArrayAccessAddress()
237 (index->IsBoundsCheck() && index->AsBoundsCheck()->GetIndex()->IsConstant())) { in TryExtractArrayAccessAddress()
352 if (index->IsConstant()) { in TryExtractVecArrayAccessAddress()
Dscheduler_arm64.cc91 if (instr->GetRight()->IsConstant()) { in VisitDiv()
159 if (instruction->GetRight()->IsConstant()) { in VisitRem()
317 if (!index->IsConstant()) { in HandleVecAddress()
Dparallel_move_resolver.cc46 if (move.IsEliminated() || move.GetSource().IsConstant()) { in EmitNativeCode()
61 if (!move.IsEliminated() && !move.GetSource().IsConstant()) { in EmitNativeCode()
70 DCHECK(move->GetSource().IsConstant()); in EmitNativeCode()
318 if (!move.IsEliminated() && !move.GetSource().IsConstant()) { in EmitNativeCode()
Dbounds_check_elimination.cc145 bool IsConstant() const { in IsConstant() function in art::ValueBound
216 return bound1.IsConstant() ? bound1 : bound2; in NarrowLowerBound()
252 if (IsConstant() || (IsRelatedToArrayLength() && new_constant <= 0)) { in Add()
267 if (IsConstant() || IsRelatedToArrayLength()) { in Add()
304 bool IsConstantValueRange() { return lower_.IsConstant() && upper_.IsConstant(); } in IsConstantValueRange()
413 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) { in Narrow()
428 if (upper_bound.IsConstant()) { in Narrow()
463 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow()
471 if (range->GetLower().IsConstant()) { in Narrow()
642 left_range->GetBound().IsConstant() && in HandleIfBetweenTwoMonotonicValueRanges()
[all …]
Dintrinsics_x86_64.cc977 if (pos.IsConstant()) { in CheckPosition()
982 if (length.IsConstant()) { in CheckPosition()
997 if (length.IsConstant()) { in CheckPosition()
1022 if (length.IsConstant()) { in CheckPosition()
1066 if (!length.IsConstant()) { in VisitSystemArrayCopyChar()
1078 if (length.IsConstant()) { in VisitSystemArrayCopyChar()
1091 if (src_pos.IsConstant()) { in VisitSystemArrayCopyChar()
1098 if (dest_pos.IsConstant()) { in VisitSystemArrayCopyChar()
1142 if (src_pos.IsConstant()) { in GenSystemArrayCopyAddresses()
1149 if (dst_pos.IsConstant()) { in GenSystemArrayCopyAddresses()
[all …]
Dcode_generator_x86_64.cc1362 } else if (source.IsConstant()) { in Move()
1379 } else if (source.IsConstant()) { in Move()
1400 } else if (source.IsConstant()) { in Move()
1417 } else if (source.IsConstant()) { in Move()
1529 } else if (right.IsConstant()) { in GenerateCompareTest()
1543 } else if (right.IsConstant()) { in GenerateCompareTest()
1766 if (select->InputAt(1)->IsConstant()) { in VisitSelect()
1904 if (rhs.IsConstant()) { in HandleCondition()
1917 if (rhs.IsConstant()) { in HandleCondition()
2076 if (right.IsConstant()) { in VisitCompare()
[all …]
Dinstruction_simplifier.cc261 if (shift_amount->IsConstant()) { in VisitShift()
306 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
344 if (ushr->GetRight()->IsConstant() && shl->GetRight()->IsConstant()) { in TryReplaceWithRotate()
1062 if ((input_other->IsUShr() || input_other->IsShr()) && input_other->InputAt(1)->IsConstant()) { in VisitAnd()
1205 if (condition->GetLeft()->IsConstant() && !condition->GetRight()->IsConstant()) { in VisitCondition()
1230 if (!left->IsCompare() || !right->IsConstant() || right->AsIntConstant()->GetValue() != 0) { in VisitCondition()
1587 if (left->IsConstant()) { in VisitSub()
2151 if (cond->IsConstant()) { in VisitDeoptimize()
2184 if (instruction->InstructionTypeEquals(left) && right->IsConstant()) { in TryHandleAssociativeAndCommutativeOperation()
2187 } else if (left->IsConstant() && instruction->InstructionTypeEquals(right)) { in TryHandleAssociativeAndCommutativeOperation()
[all …]
Dcode_generator_mips64.cc1260 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1297 } else if (source.IsConstant()) { in MoveLocation()
1400 } else if (source.IsConstant()) { in MoveLocation()
1436 DCHECK(!loc1.IsConstant()); in SwapLocations()
1437 DCHECK(!loc2.IsConstant()); in SwapLocations()
1846 if (right->IsConstant()) { in HandleBinaryOp()
1890 bool use_imm = rhs_location.IsConstant(); in HandleBinaryOp()
1997 bool use_imm = rhs_location.IsConstant(); in HandleShift()
2146 if (index.IsConstant()) { in VisitArrayGet()
2159 if (index.IsConstant()) { in VisitArrayGet()
[all …]
Dcommon_arm64.h146 if (input->IsConstant() && input->AsConstant()->IsZeroBitPattern()) { in InputCPURegisterOrZeroRegAt()
287 if (constant->IsConstant() in ARM64EncodableConstantOrRegister()
356 return instruction->IsConstant() && instruction->AsConstant()->IsZeroBitPattern(); in IsConstantZeroBitPattern()
Dintrinsics_x86.cc128 if (src_pos.IsConstant()) { in EmitNativeCode()
151 if (dest_pos.IsConstant()) { in EmitNativeCode()
1200 if (pos.IsConstant()) { in CheckPosition()
1205 if (length.IsConstant()) { in CheckPosition()
1220 if (length.IsConstant()) { in CheckPosition()
1245 if (length.IsConstant()) { in CheckPosition()
1289 if (!length.IsConstant()) { in VisitSystemArrayCopyChar()
1295 if (length.IsConstant()) { in VisitSystemArrayCopyChar()
1314 if (srcPos.IsConstant()) { in VisitSystemArrayCopyChar()
1321 if (destPos.IsConstant()) { in VisitSystemArrayCopyChar()
[all …]
Dcode_generator_vector_arm64.cc52 if (input->IsConstant() && in VisitVecReplicateScalar()
75 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
84 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
92 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
100 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
108 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
116 if (src_loc.IsConstant()) { in VisitVecReplicateScalar()
921 if (index.IsConstant()) { in VecAddress()
Dcode_generator_mips.cc1168 DCHECK(!loc1.IsConstant()); in EmitSwap()
1169 DCHECK(!loc2.IsConstant()); in EmitSwap()
1466 if (source.IsConstant()) { in MoveLocation()
2013 if (right->IsConstant()) { in HandleBinaryOp()
2064 bool use_imm = rhs_location.IsConstant(); in HandleBinaryOp()
2107 bool use_imm = rhs_location.IsConstant(); in HandleBinaryOp()
2298 bool use_imm = rhs_location.IsConstant(); in HandleShift()
2574 if (index.IsConstant()) { in VisitArrayGet()
2587 if (index.IsConstant()) { in VisitArrayGet()
2600 if (index.IsConstant()) { in VisitArrayGet()
[all …]
Dcode_generator_arm_vixl.cc1755 if (rhs_loc.IsConstant()) { in GenerateVcmp()
1832 DCHECK(right.IsConstant()); in GenerateLongTestConstant()
2008 ret = condition->GetLocations()->InAt(1).IsConstant() in GenerateTest()
2029 if (locations->InAt(1).IsConstant()) { in CanGenerateTest()
2104 if (right.IsConstant()) { in GenerateEqualLong()
2195 if (right.IsConstant()) { in GenerateLongComparesAndJumps()
2241 if (right.IsConstant()) { in GenerateConditionLong()
2337 if (right.IsConstant()) { in GenerateConditionIntegralOrNonPrimitive()
2380 if (right.IsConstant()) { in GenerateConditionIntegralOrNonPrimitive()
2431 if (constant->IsConstant() && CanEncodeConstantAs8BitImmediate(constant->AsConstant())) { in Arm8BitEncodableConstantOrRegister()
[all …]
Dlocations.h101 bool IsConstant() const { in IsConstant() function
111 DCHECK(IsConstant()); in GetConstant()
297 return IsConstant() ? kConstant : KindField::Decode(value_); in GetKind()
Ddead_code_elimination.cc126 if (!left->IsConstant() || !right->IsConstant()) { in Evaluate()
/art/runtime/verifier/
Dreg_type.h85 bool IsConstant() const { in IsConstant() function
137 return IsChar() || IsInteger() || IsFloat() || IsConstant() || IsByte() || in IsCategory1Types()
154 return IsInteger() || IsConstant() || IsByte() || IsShort() || IsChar() || in IsIntegralTypes()
161 bool IsFloatTypes() const { return IsFloat() || IsConstant(); } in IsFloatTypes()
745 return IsConstant() && ConstantValue() >= 0 && in IsConstantChar()
749 return IsConstant() && in IsConstantByte()
754 return IsConstant() && in IsConstantShort()
Dreg_type.cc602 } else if (IsConstant() && incoming_type.IsConstant()) { in Merge()
689 DCHECK(!IsConstant() || !incoming_type.IsConstant()); in Merge()
817 if (IsConstant() || IsConstantLo() || IsConstantHi()) { in CheckInvariants()
Dreg_type-inl.h59 if (!IsConstant()) { in IsConstantBoolean()

123