Home
last modified time | relevance | path

Searched refs:InductionInfo (Results 1 – 5 of 5) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_analysis.h95 struct InductionInfo : public ArenaObject<kArenaAllocInductionVarAnalysis> { struct
96 InductionInfo(InductionClass ic, in InductionInfo() function
98 InductionInfo* a, in InductionInfo()
99 InductionInfo* b, in InductionInfo()
110 InductionInfo* op_a; argument
111 InductionInfo* op_b; argument
120 InductionInfo* CreateInvariantOp(InductionOp op, InductionInfo* a, InductionInfo* b) { in CreateInvariantOp() argument
125 InductionInfo* CreateInvariantFetch(HInstruction* f) { in CreateInvariantFetch()
128 InductionInfo(kInvariant, kFetch, nullptr, nullptr, f, f->GetType()); in CreateInvariantFetch()
131 InductionInfo* CreateTripCount(InductionOp op, in CreateTripCount()
[all …]
Dinduction_var_range.h133 bool IsConstant(HInductionVarAnalysis::InductionInfo* info,
137 bool NeedsTripCount(HInductionVarAnalysis::InductionInfo* info) const;
138 bool IsBodyTripCount(HInductionVarAnalysis::InductionInfo* trip) const;
139 bool IsUnsafeTripCount(HInductionVarAnalysis::InductionInfo* trip) const;
141 Value GetLinear(HInductionVarAnalysis::InductionInfo* info,
142 HInductionVarAnalysis::InductionInfo* trip,
146 HInductionVarAnalysis::InductionInfo* trip,
149 Value GetVal(HInductionVarAnalysis::InductionInfo* info,
150 HInductionVarAnalysis::InductionInfo* trip,
153 Value GetMul(HInductionVarAnalysis::InductionInfo* info1,
[all …]
Dinduction_var_analysis.cc211 InductionInfo* info = nullptr; in ClassifyTrivial()
261 InductionInfo* initial = LookupInfo(loop, phi->InputAt(0)); in ClassifyNonTrivial()
268 InductionInfo* update = TransferPhi(loop, phi, /* input_index */ 1); in ClassifyNonTrivial()
279 InductionInfo* update = nullptr; in ClassifyNonTrivial()
298 InductionInfo* induction = SolvePhi(phi, /* input_index */ 1); in ClassifyNonTrivial()
325 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::RotatePeriodicInduction( in RotatePeriodicInduction()
326 InductionInfo* induction, in RotatePeriodicInduction()
327 InductionInfo* last) { in RotatePeriodicInduction()
340 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferPhi(HLoopInformation* loop, in TransferPhi()
346 InductionInfo* a = LookupInfo(loop, phi->InputAt(input_index)); in TransferPhi()
[all …]
Dinduction_var_range.cc135 HInductionVarAnalysis::InductionInfo* info = induction_analysis_->LookupInfo(loop, instruction); in GetInductionRange()
154 HInductionVarAnalysis::InductionInfo* trip = in GetInductionRange()
227 bool InductionVarRange::IsConstant(HInductionVarAnalysis::InductionInfo* info, in IsConstant()
267 bool InductionVarRange::NeedsTripCount(HInductionVarAnalysis::InductionInfo* info) const { in NeedsTripCount()
278 bool InductionVarRange::IsBodyTripCount(HInductionVarAnalysis::InductionInfo* trip) const { in IsBodyTripCount()
288 bool InductionVarRange::IsUnsafeTripCount(HInductionVarAnalysis::InductionInfo* trip) const { in IsUnsafeTripCount()
298 InductionVarRange::Value InductionVarRange::GetLinear(HInductionVarAnalysis::InductionInfo* info, in GetLinear()
299 HInductionVarAnalysis::InductionInfo* trip, in GetLinear()
307 HInductionVarAnalysis::InductionInfo* trip_expr = trip->op_a; in GetLinear()
315 HInductionVarAnalysis::InductionInfo cancelled_trip( in GetLinear()
[all …]
Dinduction_var_range_test.cc115 HInductionVarAnalysis::InductionInfo* CreateInvariant(char opc, in CreateInvariant()
116 HInductionVarAnalysis::InductionInfo* a, in CreateInvariant()
117 HInductionVarAnalysis::InductionInfo* b) { 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()
159 HInductionVarAnalysis::InductionInfo* CreateLinear(int32_t a, int32_t b) { in CreateLinear()
165 HInductionVarAnalysis::InductionInfo* CreateRange(int32_t lo, int32_t hi) { in CreateRange()
171 HInductionVarAnalysis::InductionInfo* CreateWrapAround( in CreateWrapAround()
173 HInductionVarAnalysis::InductionInfo* info) { in CreateWrapAround()
[all …]