Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinduction_var_analysis_test.cc115 increment_[d] = new (GetAllocator()) HAdd(DataType::Type::kInt32, basic_[d], constant1_); in BuildLoopNest()
116 loop_body_[d]->AddInstruction(increment_[d]); in BuildLoopNest()
120 basic_[d]->AddInput(increment_[d]); in BuildLoopNest()
149 loop_body_[d]->InsertInstructionBefore(instruction, increment_[d]); in InsertInstruction()
223 HInstruction* increment_[10]; member in art::InductionVarAnalysisTest
265 EXPECT_STREQ("((1) * i + (1)):Int32", GetInductionInfo(increment_[0], 0).c_str()); in TEST_F()
268 EXPECT_FALSE(HaveSameInduction(store->InputAt(1), increment_[0])); in TEST_F()
1075 EXPECT_STREQ("((1) * i + (1)):Int32", GetInductionInfo(increment_[d], d).c_str()); in TEST_F()
1098 EXPECT_STREQ("((1) * i + (1)):Int32", GetInductionInfo(increment_[0], 0).c_str()); in TEST_F()
1220 new (GetAllocator()) HTypeConversion(DataType::Type::kInt8, increment_[0], kNoDexPc); in TEST_F()
[all …]
Dinduction_var_range_test.cc112 increment_ = in BuildLoop()
114 loop_body_->AddInstruction(increment_); // i += s in BuildLoop()
115 phi->AddInput(increment_); in BuildLoop()
316 HInstruction* increment_; member in art::InductionVarRangeTest
772 range_.GetInductionRange(increment_, phi, x_, &v1, &v2, &needs_finite_test); in TEST_F()
776 range_.GetInductionRange(increment_, increment_, x_, &v1, &v2, &needs_finite_test); in TEST_F()
782 EXPECT_TRUE(range_.CanGenerateRange(increment_, phi, &needs_finite_test, &needs_taken_test)); in TEST_F()
824 range_.GetInductionRange(increment_, phi, x_, &v1, &v2, &needs_finite_test); in TEST_F()
828 range_.GetInductionRange(increment_, increment_, x_, &v1, &v2, &needs_finite_test); in TEST_F()
834 EXPECT_TRUE(range_.CanGenerateRange(increment_, phi, &needs_finite_test, &needs_taken_test)); in TEST_F()
[all …]
Dbounds_check_elimination.cc379 increment_(increment), in MonotonicValueRange()
384 int32_t GetIncrement() const { return increment_; } in GetIncrement()
411 if (increment_ > 0) { in Narrow()
450 ((int64_t)upper - (int64_t)initial_constant) / increment_ * increment_; in Narrow()
453 if (last_num_in_sequence <= (std::numeric_limits<int32_t>::max() - increment_)) { in Narrow()
461 DCHECK_NE(increment_, 0); in Narrow()
474 if (constant >= (std::numeric_limits<int32_t>::min() - increment_)) { in Narrow()
487 const int32_t increment_; // Increment for each loop iteration. member in art::MonotonicValueRange