Lines Matching refs:HInductionVarAnalysis

37         iva_(new (&allocator_) HInductionVarAnalysis(graph_)),  in InductionVarRangeTest()
115 HInductionVarAnalysis::InductionInfo* CreateInvariant(char opc, in CreateInvariant()
116 HInductionVarAnalysis::InductionInfo* a, in CreateInvariant()
117 HInductionVarAnalysis::InductionInfo* b) { in CreateInvariant()
118 HInductionVarAnalysis::InductionOp op; in CreateInvariant()
120 case '+': op = HInductionVarAnalysis::kAdd; break; in CreateInvariant()
121 case '-': op = HInductionVarAnalysis::kSub; break; in CreateInvariant()
122 case 'n': op = HInductionVarAnalysis::kNeg; break; in CreateInvariant()
123 case '*': op = HInductionVarAnalysis::kMul; break; in CreateInvariant()
124 case '/': op = HInductionVarAnalysis::kDiv; break; in CreateInvariant()
125 default: op = HInductionVarAnalysis::kNop; break; in CreateInvariant()
131 HInductionVarAnalysis::InductionInfo* CreateFetch(HInstruction* fetch) { in CreateFetch()
136 HInductionVarAnalysis::InductionInfo* CreateConst(int32_t c) { in CreateConst()
141 HInductionVarAnalysis::InductionInfo* CreateTripCount(int32_t tc, bool in_loop, bool safe) { in CreateTripCount()
145 HInductionVarAnalysis::kTripCountInLoop, CreateConst(tc), nullptr, type); in CreateTripCount()
148 HInductionVarAnalysis::kTripCountInLoopUnsafe, CreateConst(tc), nullptr, type); in CreateTripCount()
151 HInductionVarAnalysis::kTripCountInBody, CreateConst(tc), nullptr, type); in CreateTripCount()
154 HInductionVarAnalysis::kTripCountInBodyUnsafe, CreateConst(tc), nullptr, type); in CreateTripCount()
159 HInductionVarAnalysis::InductionInfo* CreateLinear(int32_t a, int32_t b) { in CreateLinear()
161 HInductionVarAnalysis::kLinear, CreateConst(a), CreateConst(b), Primitive::kPrimInt); in CreateLinear()
165 HInductionVarAnalysis::InductionInfo* CreateRange(int32_t lo, int32_t hi) { in CreateRange()
167 HInductionVarAnalysis::kPeriodic, CreateConst(lo), CreateConst(hi), Primitive::kPrimInt); in CreateRange()
171 HInductionVarAnalysis::InductionInfo* CreateWrapAround( in CreateWrapAround()
173 HInductionVarAnalysis::InductionInfo* info) { in CreateWrapAround()
175 HInductionVarAnalysis::kWrapAround, CreateConst(initial), info, Primitive::kPrimInt); in CreateWrapAround()
179 HInductionVarAnalysis::InductionInfo* CreateWrapAround(int32_t initial, int32_t lo, int32_t hi) { in CreateWrapAround()
187 bool NeedsTripCount(HInductionVarAnalysis::InductionInfo* info) { in NeedsTripCount()
191 bool IsBodyTripCount(HInductionVarAnalysis::InductionInfo* trip) { in IsBodyTripCount()
195 bool IsUnsafeTripCount(HInductionVarAnalysis::InductionInfo* trip) { in IsUnsafeTripCount()
199 Value GetMin(HInductionVarAnalysis::InductionInfo* info, in GetMin()
200 HInductionVarAnalysis::InductionInfo* induc) { in GetMin()
204 Value GetMax(HInductionVarAnalysis::InductionInfo* info, in GetMax()
205 HInductionVarAnalysis::InductionInfo* induc) { in GetMax()
209 Value GetMul(HInductionVarAnalysis::InductionInfo* info1, in GetMul()
210 HInductionVarAnalysis::InductionInfo* info2, in GetMul()
215 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv()
216 HInductionVarAnalysis::InductionInfo* info2, in GetDiv()
221 bool IsExact(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { in IsExact()
225 bool IsAtMost(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { in IsAtMost()
229 bool IsAtLeast(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { in IsAtLeast()
247 HInductionVarAnalysis* iva_;