Home
last modified time | relevance | path

Searched refs:increment_ (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_analysis_test.cc100 increment_[d] = new (&allocator_) HAdd(Primitive::kPrimInt, basic_[d], constant1_); in BuildLoopNest()
101 loop_body_[d]->AddInstruction(increment_[d]); in BuildLoopNest()
105 basic_[d]->AddInput(increment_[d]); in BuildLoopNest()
134 loop_body_[d]->InsertInstructionBefore(instruction, increment_[d]); in InsertInstruction()
194 HInstruction* increment_[10]; member in art::InductionVarAnalysisTest
236 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[0], 0).c_str()); in TEST_F()
239 EXPECT_FALSE(HaveSameInduction(store->InputAt(1), increment_[0])); in TEST_F()
580 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[d], d).c_str()); in TEST_F()
604 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[0], 0).c_str()); in TEST_F()
622 HInstruction* conv = new(&allocator_) HTypeConversion(Primitive::kPrimByte, increment_[0], -1); in TEST_F()
[all …]
Dinduction_var_range_test.cc100 increment_ = new (&allocator_) HAdd(Primitive::kPrimInt, phi, graph_->GetIntConstant(stride)); in BuildLoop()
101 loop_body->AddInstruction(increment_); // i += s in BuildLoop()
102 phi->AddInput(increment_); in BuildLoop()
252 HInstruction* increment_; member in art::InductionVarRangeTest
580 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
585 range_.GetInductionRange(increment_, increment_, &v1, &v2, &needs_finite_test); in TEST_F()
607 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
612 range_.GetInductionRange(increment_, increment_, &v1, &v2, &needs_finite_test); in TEST_F()
635 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); in TEST_F()
640 range_.GetInductionRange(increment_, increment_, &v1, &v2, &needs_finite_test); in TEST_F()
[all …]
Dbounds_check_elimination.cc393 increment_(increment), in MonotonicValueRange()
398 int32_t GetIncrement() const { return increment_; } in GetIncrement()
425 if (increment_ > 0) { in Narrow()
464 ((int64_t)upper - (int64_t)initial_constant) / increment_ * increment_; in Narrow()
467 if (last_num_in_sequence <= (std::numeric_limits<int32_t>::max() - increment_)) { in Narrow()
475 DCHECK_NE(increment_, 0); in Narrow()
488 if (constant >= (std::numeric_limits<int32_t>::min() - increment_)) { in Narrow()
501 const int32_t increment_; // Increment for each loop iteration. member in art::MonotonicValueRange