/art/compiler/optimizing/ |
D | constant_folding.cc | 154 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitEqual() 166 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1)); in VisitNotEqual() 178 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitAbove() 190 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1)); in VisitAboveOrEqual() 202 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0)); in VisitBelow() 214 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1)); in VisitBelowOrEqual() 245 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitAnd() 264 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kInt32, in VisitCompare() 336 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitRem() 369 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0)); in VisitSub() [all …]
|
D | bounds_check_elimination.cc | 137 int32_t GetConstant() const { return constant_; } in GetConstant() function in art::ValueBound 414 if (!lower.IsConstant() || lower.GetConstant() == std::numeric_limits<int32_t>::min()) { in Narrow() 430 upper = upper_bound.GetConstant(); in Narrow() 431 } else if (upper_bound.IsRelatedToArrayLength() && upper_bound.GetConstant() <= 0) { in Narrow() 433 upper = max_array_len + upper_bound.GetConstant(); in Narrow() 464 if ((!upper.IsConstant() || upper.GetConstant() == std::numeric_limits<int32_t>::max()) && in Narrow() 473 int32_t constant = range->GetLower().GetConstant(); in Narrow() 645 right_range->GetBound().GetConstant() < 0) { in HandleIfBetweenTwoMonotonicValueRanges() 805 if (lower.GetConstant() == 0 && upper.GetConstant() == 0) { in HandleIf() 849 existing_range->GetLower().GetConstant() > 0) { in VisitBoundsCheck() [all …]
|
D | stack_map_test.cc | 92 ASSERT_EQ(-2, dex_register_map[1].GetConstant()); in TEST() 180 ASSERT_EQ(-2, dex_register_map[1].GetConstant()); in TEST() 350 ASSERT_EQ(-2, map[1].GetConstant()); in TEST() 400 ASSERT_EQ(-2, dex_register_map[1].GetConstant()); in TEST() 444 ASSERT_EQ(-2, dex_registers0[1].GetConstant()); in TEST() 451 ASSERT_EQ(-2, dex_registers1[1].GetConstant()); in TEST() 458 ASSERT_EQ(-2, dex_registers2[1].GetConstant()); in TEST() 593 ASSERT_EQ(4, dex_registers0[1].GetConstant()); in TEST() 609 ASSERT_EQ(20, dex_registers2[1].GetConstant()); in TEST() 620 ASSERT_EQ(0, dex_registers0[1].GetConstant()); in TEST() [all …]
|
D | induction_var_range.cc | 380 *offset = graph->GetConstant(info->op_b->type, off_value); in IsUnitStride() 408 HInstruction* zero = graph->GetConstant(trip->type, 0); in GenerateTripCount() 1063 Insert(block, new (graph->GetAllocator()) HAdd(type, graph->GetConstant(type, sum), c)); in GenerateLastValuePolynomial() 1104 *result = graph->GetConstant(type, 0); in GenerateLastValueGeometric() 1110 e = new (allocator) HMul(type, opa, graph->GetConstant(type, fpow)); in GenerateLastValueGeometric() 1112 e = new (allocator) HDiv(type, opa, graph->GetConstant(type, fpow), kNoDexPc); in GenerateLastValueGeometric() 1197 Insert(block, new (allocator) HAnd(type, t, graph->GetConstant(type, 1))); in GenerateLastValuePeriodic() 1199 Insert(block, new (allocator) HEqual(msk, graph->GetConstant(type, 0), kNoDexPc)); in GenerateLastValuePeriodic() 1307 *result = graph->GetConstant(type, 0); in GenerateCode() 1315 Insert(block, new (allocator) HSub(type, opb, graph->GetConstant(type, 1))); in GenerateCode() [all …]
|
D | loop_optimization.cc | 311 *b = graph->GetConstant(instruction->GetType(), (*c)); in IsAddConst2() 331 *b = graph->GetConstant(instruction->GetType(), -c); in IsSubConst2() 1080 ptc = graph_->GetConstant(induc_type, vector_static_peeling_factor_); in Vectorize() 1090 HInstruction* adjusted_offset = graph_->GetConstant(induc_type, hidden_offset >> shift); in Vectorize() 1094 induc_type, offset, graph_->GetConstant(induc_type, align - 1u))); in Vectorize() 1096 induc_type, graph_->GetConstant(induc_type, align), rem)); in Vectorize() 1098 rem, graph_->GetConstant(induc_type, 0))); in Vectorize() 1100 cond, graph_->GetConstant(induc_type, 0), sub, kNoDexPc)); in Vectorize() 1124 graph_->GetConstant(induc_type, chunk - 1))); in Vectorize() 1127 vector_index_ = graph_->GetConstant(induc_type, 0); in Vectorize() [all …]
|
D | common_arm.h | 170 return Int32ConstantFrom(location.GetConstant()); in Int32ConstantFrom() 174 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
|
D | nodes_x86.h | 58 HConstant* GetConstant() const { in GetConstant() function
|
D | instruction_simplifier_arm64.cc | 109 left = GetGraph()->GetConstant(right->GetType(), 0); in TryMergeIntoShifterOperand()
|
D | code_generator.cc | 84 if (location.GetConstant()->IsIntConstant()) { in CheckType() 86 } else if (location.GetConstant()->IsNullConstant()) { in CheckType() 88 } else if (location.GetConstant()->IsLongConstant()) { in CheckType() 90 } else if (location.GetConstant()->IsFloatConstant()) { in CheckType() 93 return location.GetConstant()->IsDoubleConstant() in CheckType() 1328 DCHECK_EQ(current, location.GetConstant()); in EmitVRegInfo()
|
D | instruction_simplifier_shared.cc | 155 mul->GetBlock()->GetGraph()->GetConstant(type, 0), in TryCombineMultiplyAccumulate()
|
D | code_generator_vector_arm64.cc | 124 __ Fmov(dst.V4S(), src_loc.GetConstant()->AsFloatConstant()->GetValue()); in VisitVecReplicateScalar() 132 __ Fmov(dst.V2D(), src_loc.GetConstant()->AsDoubleConstant()->GetValue()); in VisitVecReplicateScalar() 872 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShl() 906 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShr() 940 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecUShr()
|
D | common_arm64.h | 160 return Int64FromConstant(location.GetConstant()); in Int64FromLocation()
|
D | code_generator_vector_arm_vixl.cc | 660 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShl() 690 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShr() 720 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecUShr()
|
D | locations.h | 110 HConstant* GetConstant() const { in GetConstant() function
|
D | code_generator_vector_x86_64.cc | 983 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShl() 1012 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShr() 1037 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecUShr()
|
D | code_generator_vector_x86.cc | 1000 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShl() 1029 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecShr() 1054 int32_t value = locations->InAt(1).GetConstant()->AsIntConstant()->GetValue(); in VisitVecUShr()
|
D | graph_visualizer.cc | 294 HConstant* constant = location.GetConstant(); in DumpLocation()
|
D | instruction_simplifier.cc | 1389 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd() 2978 HConstant* const3 = block->GetGraph()->GetConstant(type, const3_val); in TrySubtractionChainSimplification()
|
D | nodes.cc | 702 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant() function in art::HGraph
|
/art/runtime/ |
D | dex_register_location.h | 66 int32_t GetConstant() const { in GetConstant() function
|
D | stack.cc | 323 uint32_t result = dex_register_map[vreg].GetConstant(); in GetVRegFromOptimizedCode() 355 *val = location.GetConstant(); in GetVRegFromOptimizedCode()
|
D | quick_exception_handler.cc | 510 value = vreg_map[vreg].GetConstant(); in HandleOptimizingDeoptimization()
|
/art/tools/veridex/ |
D | flow_analysis.h | 68 uint32_t GetConstant() const { in GetConstant() function
|
D | flow_analysis.cc | 154 if (lhs.GetConstant() op rhs.GetConstant()) { \ in GetBranchFlags() 165 if (val.GetConstant() op 0) { /* NOLINT */ \ in GetBranchFlags()
|