Searched refs:IsConstant (Results 1 - 25 of 39) sorted by relevance

12

/art/compiler/optimizing/
H A Dlocations.cc46 return instruction->IsConstant()
74 return instruction->IsConstant()
80 return instruction->IsConstant()
H A Dconstant_folding.cc123 if (check_input->IsConstant() && !check_input->AsConstant()->IsArithmeticZero()) {
133 if (left->IsConstant() && left->AsConstant()->IsArithmeticZero()) {
144 if (instruction->GetLeft()->IsConstant() &&
156 if (instruction->GetRight()->IsConstant() &&
168 if (instruction->GetRight()->IsConstant() &&
180 if (instruction->GetLeft()->IsConstant() &&
266 if (instruction->GetLeft()->IsConstant() &&
H A Dinstruction_simplifier_arm64.cc43 if (index->IsConstant() ||
44 (index->IsBoundsCheck() && index->AsBoundsCheck()->GetIndex()->IsConstant())) {
218 if (instruction->InputAt(1)->IsConstant()) {
224 if (instruction->InputAt(1)->IsConstant()) {
244 if (instruction->InputAt(1)->IsConstant()) {
H A Dinstruction_simplifier_shared.cc52 if (input_binop->GetRight()->IsConstant() &&
60 } else if (input_binop->GetLeft()->IsConstant() &&
H A Dparallel_move_resolver.cc46 if (move.IsEliminated() || move.GetSource().IsConstant()) {
61 if (!move.IsEliminated() && !move.GetSource().IsConstant()) {
70 DCHECK(move->GetSource().IsConstant());
318 if (!move.IsEliminated() && !move.GetSource().IsConstant()) {
H A Dcode_generator_x86_64.cc1135 } else if (source.IsConstant()) {
1152 } else if (source.IsConstant()) {
1173 } else if (source.IsConstant()) {
1190 } else if (source.IsConstant()) {
1298 if (right.IsConstant()) {
1314 if (right.IsConstant()) {
1327 } else if (right.IsConstant()) {
1341 } else if (right.IsConstant()) {
1478 } else if (rhs.IsConstant()) {
1557 if (select->InputAt(1)->IsConstant()) {
[all...]
H A Dbounds_check_elimination.cc145 bool IsConstant() const { function in class:art::ValueBound
231 return bound1.IsConstant() ? bound1 : bound2;
267 if (IsConstant() || (IsRelatedToArrayLength() && new_constant <= 0)) {
282 if (IsConstant() || IsRelatedToArrayLength()) {
319 bool IsConstantValueRange() { return lower_.IsConstant() && upper_.IsConstant(); }
428 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) {
443 if (upper_bound.IsConstant()) {
478 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) &&
486 if (range->GetLower().IsConstant()) {
[all...]
H A Dlocations.h94 bool IsConstant() const { function in class:art::Location
104 DCHECK(IsConstant());
278 return IsConstant() ? kConstant : KindField::Decode(value_);
H A Dintrinsics_x86_64.cc987 if (pos.IsConstant()) {
992 if (length.IsConstant()) {
1008 if (length.IsConstant()) {
1033 if (length.IsConstant()) {
1077 if (!length.IsConstant()) {
1089 if (length.IsConstant()) {
1102 if (src_pos.IsConstant()) {
1109 if (dest_pos.IsConstant()) {
1158 if (src_pos.IsConstant()) {
1160 if (dest_pos.IsConstant()) {
[all...]
H A Dinduction_var_range.h121 * Enum used in IsConstant() request.
133 bool IsConstant(HInductionVarAnalysis::InductionInfo* info,
H A Dcode_generator_x86.cc1011 } else if (source.IsConstant()) {
1074 } else if (source.IsConstant()) {
1105 if (dst_type == Primitive::kPrimLong && !src.IsConstant() && !src.IsFpuRegister()) {
1231 if (right.IsConstant()) {
1436 } else if (rhs.IsConstant()) {
1518 if (select->InputAt(1)->IsConstant()) {
1536 if (rhs.IsConstant()) {
1646 } else if (cond->InputAt(1)->IsConstant()) {
2185 Location input_location = input->IsConstant()
2466 DCHECK(in.IsConstant());
[all...]
H A Dcode_generator_mips64.cc646 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr;
678 } else if (source.IsConstant()) {
759 } else if (source.IsConstant()) {
795 DCHECK(!loc1.IsConstant());
796 DCHECK(!loc2.IsConstant());
1028 if (right->IsConstant()) {
1072 bool use_imm = rhs_location.IsConstant();
1179 bool use_imm = rhs_location.IsConstant();
1296 if (index.IsConstant()) {
1310 if (index.IsConstant()) {
[all...]
H A Dinstruction_simplifier.cc258 sub->GetLeft()->IsConstant() &&
295 if (ushr->GetRight()->IsConstant() && shl->GetRight()->IsConstant()) {
965 if ((input_other->IsUShr() || input_other->IsShr()) && input_other->InputAt(1)->IsConstant()) {
1042 if (condition->GetLeft()->IsConstant() && !condition->GetRight()->IsConstant()) {
1067 if (!left->IsCompare() || !right->IsConstant() || right->AsIntConstant()->GetValue() != 0) {
1392 if (left->IsConstant()) {
1738 if (cond->IsConstant()) {
H A Dintrinsics_arm.cc1320 if (pos.IsConstant()) {
1326 if (length.IsConstant()) {
1340 if (length.IsConstant()) {
1363 if (length.IsConstant()) {
1402 if (src_pos.IsConstant()) {
1404 if (dest_pos.IsConstant()) {
1430 if (dest_pos.IsConstant()) {
1453 if (!length.IsConstant() &&
1557 if (src_pos.IsConstant()) {
1565 if (dest_pos.IsConstant()) {
[all...]
H A Dcode_generator_mips.cc531 DCHECK(!loc1.IsConstant());
532 DCHECK(!loc2.IsConstant());
812 if (src.IsConstant()) {
1145 if (right->IsConstant()) {
1196 bool use_imm = rhs_location.IsConstant();
1239 bool use_imm = rhs_location.IsConstant();
1430 bool use_imm = rhs_location.IsConstant();
1674 if (index.IsConstant()) {
1688 if (index.IsConstant()) {
1702 if (index.IsConstant()) {
[all...]
H A Dcode_generator_arm.cc1310 if (right.IsConstant()) {
1448 DCHECK(right.IsConstant());
1584 DCHECK(right.IsConstant());
2267 DCHECK(in.IsConstant());
2703 DCHECK(second.IsConstant());
2727 DCHECK(second.IsConstant());
2761 DCHECK(second.IsConstant());
2802 DCHECK(second.IsConstant());
2822 } else if (div->GetResultType() == Primitive::kPrimInt && div->InputAt(1)->IsConstant()) {
2834 if (div->InputAt(1)->IsConstant()) {
[all...]
H A Dssa_phi_elimination.cc213 if (irreducible_loop_phi_in_cycle && !candidate->IsConstant()) {
H A Dintrinsics_x86.cc1135 if (pos.IsConstant()) {
1205 if (!length.IsConstant()) {
1211 if (length.IsConstant()) {
1230 if (srcPos.IsConstant()) {
1237 if (destPos.IsConstant()) {
1636 srcBegin.IsConstant() ? srcBegin.GetConstant()->AsIntConstant()->GetValue() : 0;
1649 if (srcBegin.IsConstant()) {
1664 if (srcBegin.IsConstant()) {
1759 if (value_loc.IsConstant()) {
1767 if (value_loc.IsConstant()) {
[all...]
H A Dintrinsics_arm64.cc1773 if (pos.IsConstant()) {
1827 if (src_pos.IsConstant()) {
1835 if (dst_pos.IsConstant()) {
1843 if (copy_length.IsConstant()) {
1874 if (!length.IsConstant()) {
2022 if (src_pos.IsConstant()) {
2024 if (dest_pos.IsConstant()) {
2067 if (!length.IsConstant() &&
H A Dinduction_var_range_test.cc222 return range_.IsConstant(info, InductionVarRange::kExact, value);
226 return range_.IsConstant(info, InductionVarRange::kAtMost, value);
230 return range_.IsConstant(info, InductionVarRange::kAtLeast, value);
261 TEST_F(InductionVarRangeTest, IsConstant) {
H A Dinduction_var_range.cc227 bool InductionVarRange::IsConstant(HInductionVarAnalysis::InductionInfo* info, function in class:art::InductionVarRange
310 if (IsConstant(info->op_a, kExact, &stride_value)) {
758 if (IsConstant(info->op_a, kExact, &stride_value)) {
H A Dcode_generator_arm64.cc1173 DCHECK(constant.IsConstant());
1198 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr;
1219 } else if (source.IsConstant()) {
1257 } else if (source.IsConstant()) {
1977 accumulator->IsConstant() &&
2017 if (accum_instr->IsConstant() && accum_instr->AsConstant()->IsArithmeticZero()) {
2074 if (index.IsConstant()) {
2105 if (index.IsConstant()) {
2165 if (index.IsConstant()) {
2203 if (index.IsConstant()) {
[all...]
/art/runtime/verifier/
H A Dreg_type.h82 bool IsConstant() const { function in class:art::verifier::RegType
134 return IsChar() || IsInteger() || IsFloat() || IsConstant() || IsByte() ||
151 return IsInteger() || IsConstant() || IsByte() || IsShort() || IsChar() ||
158 bool IsFloatTypes() const { return IsFloat() || IsConstant(); }
603 return IsConstant() && ConstantValue() >= 0 &&
607 return IsConstant() &&
612 return IsConstant() &&
H A Dreg_type-inl.h57 if (!IsConstant()) {
H A Dreg_type.cc594 } else if (IsConstant() && incoming_type.IsConstant()) {
681 DCHECK(!IsConstant() || !incoming_type.IsConstant());
770 if (IsConstant() || IsConstantLo() || IsConstantHi()) {

Completed in 189 milliseconds

12