/art/compiler/optimizing/ |
D | x86_memory_gen.cc | 47 if (array->IsConstant() || (array->IsNullCheck() && array->InputAt(0)->IsConstant())) { in VisitBoundsCheck()
|
D | scheduler_arm.cc | 111 if (rhs->IsConstant()) { in VisitRor() 137 if (!rhs->IsConstant()) { in HandleShiftLatencies() 143 if (!rhs->IsConstant()) { in HandleShiftLatencies() 307 condition->InputAt(1)->IsConstant() in HandleGenerateTest() 323 if (right->IsConstant()) { in CanGenerateTest() 384 if (right->IsConstant()) { in HandleGenerateConditionLong() 442 if (right->IsConstant()) { in HandleGenerateConditionIntegralOrNonPrimitive() 647 if (index->IsConstant()) { in VisitArrayGet() 675 if (index->IsConstant()) { in VisitArrayGet() 689 if (index->IsConstant()) { in VisitArrayGet() [all …]
|
D | locations.cc | 59 return instruction->IsConstant() in RegisterOrConstant() 87 return instruction->IsConstant() in ByteRegisterOrConstant() 93 return instruction->IsConstant() in FpuRegisterOrConstant()
|
D | constant_folding.cc | 127 if (check_input->IsConstant() && !check_input->AsConstant()->IsArithmeticZero()) { in VisitDivZeroCheck() 137 if (left->IsConstant() && left->AsConstant()->IsArithmeticZero()) { in VisitShift() 172 if (instruction->GetLeft()->IsConstant() && in VisitAbove() 184 if (instruction->GetRight()->IsConstant() && in VisitAboveOrEqual() 196 if (instruction->GetRight()->IsConstant() && in VisitBelow() 208 if (instruction->GetLeft()->IsConstant() && in VisitBelowOrEqual() 314 if (instruction->GetLeft()->IsConstant() && in VisitRem()
|
D | induction_var_range.cc | 355 if (IsConstant(info->op_a, kExact, &stride_value) && stride_value == 1) { in IsUnitStride() 357 if (IsConstant(info->op_b, kExact, &off_value)) { in IsUnitStride() 406 *is_constant = IsConstant(trip->op_a, kExact, trip_count); in CheckForFiniteAndConstantProps() 412 bool InductionVarRange::IsConstant(HInductionVarAnalysis::InductionInfo* info, in IsConstant() function in art::InductionVarRange 472 return (!HasFetchInLoop(lower) || range.IsConstant(lower, kAtLeast, ¬_used)) && in IsWellBehavedTripCount() 473 (!HasFetchInLoop(upper) || range.IsConstant(upper, kAtLeast, ¬_used)); in IsWellBehavedTripCount() 493 return IsConstant(info->op_a, kExact, stride_value); in NeedsTripCount() 537 if (IsConstant(info->op_a, kExact, &stride_value)) { in GetLinear() 583 if (IsConstant(info->op_a->op_a, kExact, &a) && CanLongValueFitIntoInt(a) && a >= 0 && in GetPolynomial() 584 IsConstant(info->op_a->op_b, kExact, &b) && CanLongValueFitIntoInt(b) && b >= 0) { in GetPolynomial() [all …]
|
D | instruction_simplifier_shared.cc | 54 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() 285 if (index->IsConstant()) { in TryExtractVecArrayAccessAddress()
|
D | instruction_simplifier_arm.cc | 262 if (instruction->InputAt(1)->IsConstant()) { in VisitShl() 268 if (instruction->InputAt(1)->IsConstant()) { in VisitShr() 276 if (shl->InputAt(1)->IsConstant() && TryReplaceSubSubWithSubAdd(instruction)) { in VisitSub() 297 if (instruction->InputAt(1)->IsConstant()) { in VisitUShr()
|
D | instruction_simplifier_arm64.cc | 233 if (instruction->InputAt(1)->IsConstant()) { in VisitShl() 239 if (instruction->InputAt(1)->IsConstant()) { in VisitShr() 247 if (shl->InputAt(1)->IsConstant() && TryReplaceSubSubWithSubAdd(instruction)) { in VisitSub() 268 if (instruction->InputAt(1)->IsConstant()) { in VisitUShr()
|
D | scheduler_arm64.cc | 93 if (instr->GetRight()->IsConstant()) { in VisitDiv() 161 if (instruction->GetRight()->IsConstant()) { in VisitRem() 323 if (!index->IsConstant()) { in HandleVecAddress()
|
D | bounds_check_elimination.cc | 146 bool IsConstant() const { in IsConstant() function in art::ValueBound 217 return bound1.IsConstant() ? bound1 : bound2; in NarrowLowerBound() 253 if (IsConstant() || (IsRelatedToArrayLength() && new_constant <= 0)) { in Add() 268 if (IsConstant() || IsRelatedToArrayLength()) { in Add() 305 bool IsConstantValueRange() const { return lower_.IsConstant() && upper_.IsConstant(); } in IsConstantValueRange() 414 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) { in Narrow() 429 if (upper_bound.IsConstant()) { in Narrow() 464 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow() 472 if (range->GetLower().IsConstant()) { in Narrow() 642 left_range->GetBound().IsConstant() && in HandleIfBetweenTwoMonotonicValueRanges() [all …]
|
D | parallel_move_resolver.cc | 46 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()
|
D | intrinsics_x86_64.cc | 616 if (pos.IsConstant()) { in CheckPosition() 621 if (length.IsConstant()) { in CheckPosition() 636 if (length.IsConstant()) { in CheckPosition() 661 if (length.IsConstant()) { in CheckPosition() 705 if (!length.IsConstant()) { in VisitSystemArrayCopyChar() 717 if (length.IsConstant()) { in VisitSystemArrayCopyChar() 730 if (src_pos.IsConstant()) { in VisitSystemArrayCopyChar() 737 if (dest_pos.IsConstant()) { in VisitSystemArrayCopyChar() 781 if (src_pos.IsConstant()) { in GenSystemArrayCopyAddresses() 788 if (dst_pos.IsConstant()) { in GenSystemArrayCopyAddresses() [all …]
|
D | intrinsics_x86.cc | 119 if (src_pos.IsConstant()) { in EmitNativeCode() 142 if (dest_pos.IsConstant()) { in EmitNativeCode() 522 if (invoke->InputAt(0)->IsConstant()) { in GenLowestOneBit() 821 if (pos.IsConstant()) { in CheckPosition() 826 if (length.IsConstant()) { in CheckPosition() 841 if (length.IsConstant()) { in CheckPosition() 866 if (length.IsConstant()) { in CheckPosition() 910 if (!length.IsConstant()) { in VisitSystemArrayCopyChar() 916 if (length.IsConstant()) { in VisitSystemArrayCopyChar() 935 if (srcPos.IsConstant()) { in VisitSystemArrayCopyChar() [all …]
|
D | code_generator_x86_64.cc | 1552 } else if (source.IsConstant()) { in Move() 1569 } else if (source.IsConstant()) { in Move() 1590 } else if (source.IsConstant()) { in Move() 1607 } else if (source.IsConstant()) { in Move() 1724 } else if (right.IsConstant()) { in GenerateCompareTest() 1738 } else if (right.IsConstant()) { in GenerateCompareTest() 1961 if (select->InputAt(1)->IsConstant()) { in VisitSelect() 2109 if (rhs.IsConstant()) { in HandleCondition() 2122 if (rhs.IsConstant()) { in HandleCondition() 2283 if (right.IsConstant()) { in VisitCompare() [all …]
|
D | common_arm64.h | 151 if (input->IsConstant() && input->AsConstant()->IsZeroBitPattern()) { in InputCPURegisterOrZeroRegAt() 302 if (constant->IsConstant() in ARM64EncodableConstantOrRegister() 371 return instruction->IsConstant() && instruction->AsConstant()->IsZeroBitPattern(); in IsConstantZeroBitPattern()
|
D | instruction_simplifier.cc | 351 if (shift_amount->IsConstant()) { in VisitShift() 414 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther() 453 if (ushr->GetRight()->IsConstant() && shl->GetRight()->IsConstant()) { in TryReplaceWithRotate() 1411 if ((input_other->IsUShr() || input_other->IsShr()) && input_other->InputAt(1)->IsConstant()) { in VisitAnd() 1575 if (condition->GetLeft()->IsConstant() && !condition->GetRight()->IsConstant()) { in VisitCondition() 1601 if (!left->IsCompare() || !right->IsConstant() || right->AsIntConstant()->GetValue() != 0) { in VisitCondition() 1740 if (divisor->IsConstant()) { in TryToReuseDiv() 2023 if (left->IsConstant()) { in VisitSub() 2757 if (cond->IsConstant()) { in VisitDeoptimize() 2790 if (instruction->GetKind() == left->GetKind() && right->IsConstant()) { in TryHandleAssociativeAndCommutativeOperation() [all …]
|
D | locations.h | 101 bool IsConstant() const { in IsConstant() function 111 DCHECK(IsConstant()); in GetConstant() 310 return IsConstant() ? kConstant : KindField::Decode(value_); in GetKind()
|
D | register_allocation_resolver.cc | 348 } else if (!expected_location.IsConstant()) { in ConnectSiblings() 414 (instruction->IsConstant() || instruction->IsCurrentMethod()); in IsMaterializableEntryBlockInstructionOfGraphWithIrreducibleLoop() 465 if (defined_by->IsConstant()) { in ConnectSplitSiblings() 516 && !source.IsConstant()) { in AddMove()
|
D | code_generator_arm_vixl.cc | 1245 if (rhs_loc.IsConstant()) { in GenerateVcmp() 1322 DCHECK(right.IsConstant()); in GenerateLongTestConstant() 1509 ret = condition->GetLocations()->InAt(1).IsConstant() in GenerateTest() 1566 if (right.IsConstant()) { in GenerateEqualLong() 1618 if (right.IsConstant()) { in GenerateConditionLong() 1690 if (right.IsConstant()) { in GenerateConditionIntegralOrNonPrimitive() 1733 if (right.IsConstant()) { in GenerateConditionIntegralOrNonPrimitive() 1784 if (constant->IsConstant() && CanEncodeConstantAs8BitImmediate(constant->AsConstant())) { in Arm8BitEncodableConstantOrRegister() 1802 if (src.IsConstant()) { in CanGenerateConditionalMove() 2851 if (!locations->InAt(1).IsConstant()) { in VisitSelect() [all …]
|
D | code_generator_x86.cc | 1358 } else if (source.IsConstant()) { in Move32() 1422 } else if (source.IsConstant()) { in Move64() 1449 if (dst_type == DataType::Type::kInt64 && !src.IsConstant() && !src.IsFpuRegister()) { in MoveLocation() 1579 if (right.IsConstant()) { in GenerateLongComparesAndJumps() 1876 if (select->InputAt(1)->IsConstant()) { in VisitSelect() 2002 } else if (cond->InputAt(1)->IsConstant()) { in HandleCondition() 2651 Location input_location = input->IsConstant() in VisitTypeConversion() 2932 DCHECK(in.IsConstant()); in VisitTypeConversion() 3152 } else if (add->InputAt(1)->IsConstant()) { in VisitAdd() 3184 } else if (second.IsConstant()) { in VisitAdd() [all …]
|
D | ssa_phi_elimination.cc | 223 if (irreducible_loop_phi_in_cycle && !candidate->IsConstant()) { in Run()
|
/art/tools/veridex/ |
D | flow_analysis.h | 69 CHECK(IsConstant()); in GetConstant() 75 bool IsConstant() const { return source_ == RegisterSource::kConstant; } in IsConstant() function
|
/art/runtime/verifier/ |
D | reg_type.h | 85 bool IsConstant() const { in IsConstant() function 141 return IsChar() || IsInteger() || IsFloat() || IsConstant() || IsByte() || in IsCategory1Types() 158 return IsInteger() || IsConstant() || IsByte() || IsShort() || IsChar() || in IsIntegralTypes() 165 bool IsFloatTypes() const { return IsFloat() || IsConstant(); } in IsFloatTypes() 741 return IsConstant() && ConstantValue() >= 0 && in IsConstantChar() 745 return IsConstant() && in IsConstantByte() 750 return IsConstant() && in IsConstantShort()
|
D | reg_type-inl.h | 62 if (!IsConstant()) { in IsConstantBoolean()
|
D | reg_type.cc | 765 } else if (IsConstant() && incoming_type.IsConstant()) { in Merge() 852 DCHECK(!IsConstant() || !incoming_type.IsConstant()); in Merge() 931 if (IsConstant() || IsConstantLo() || IsConstantHi()) { in CheckInvariants()
|