Searched refs:HInductionVarAnalysis (Results 1 – 10 of 10) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_range.h | 57 explicit InductionVarRange(HInductionVarAnalysis* induction); 133 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, [all …]
|
D | induction_var_range.cc | 121 InductionVarRange::InductionVarRange(HInductionVarAnalysis* induction_analysis) in InductionVarRange() 135 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() 233 if (info->induction_class == HInductionVarAnalysis::kInvariant && in IsConstant() 234 info->operation == HInductionVarAnalysis::kFetch) { in IsConstant() 267 bool InductionVarRange::NeedsTripCount(HInductionVarAnalysis::InductionInfo* info) const { in NeedsTripCount() 269 if (info->induction_class == HInductionVarAnalysis::kLinear) { in NeedsTripCount() 271 } else if (info->induction_class == HInductionVarAnalysis::kWrapAround) { in NeedsTripCount() 278 bool InductionVarRange::IsBodyTripCount(HInductionVarAnalysis::InductionInfo* trip) const { in IsBodyTripCount() [all …]
|
D | induction_var_analysis.cc | 86 HInductionVarAnalysis::HInductionVarAnalysis(HGraph* graph) in HInductionVarAnalysis() function in art::HInductionVarAnalysis 99 void HInductionVarAnalysis::Run() { in Run() 113 void HInductionVarAnalysis::VisitLoop(HLoopInformation* loop) { in VisitLoop() 148 void HInductionVarAnalysis::VisitNode(HLoopInformation* loop, HInstruction* instruction) { in VisitNode() 192 uint32_t HInductionVarAnalysis::VisitDescendant(HLoopInformation* loop, HInstruction* instruction) { in VisitDescendant() 210 void HInductionVarAnalysis::ClassifyTrivial(HLoopInformation* loop, HInstruction* instruction) { in ClassifyTrivial() 244 void HInductionVarAnalysis::ClassifyNonTrivial(HLoopInformation* loop) { in ClassifyNonTrivial() 325 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::RotatePeriodicInduction( in RotatePeriodicInduction() 340 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferPhi(HLoopInformation* loop, in TransferPhi() 356 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferAddSub(InductionInfo* a, in TransferAddSub() [all …]
|
D | bounds_check_elimination.h | 25 class HInductionVarAnalysis; variable 31 HInductionVarAnalysis* induction_analysis) in BoundsCheckElimination() 42 HInductionVarAnalysis* induction_analysis_;
|
D | induction_var_range_test.cc | 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() [all …]
|
D | induction_var_analysis.h | 36 class HInductionVarAnalysis : public HOptimization { 38 explicit HInductionVarAnalysis(HGraph* graph); 237 DISALLOW_COPY_AND_ASSIGN(HInductionVarAnalysis);
|
D | induction_var_analysis_test.cc | 156 return HInductionVarAnalysis::InductionToString( in GetInductionInfo() 162 return HInductionVarAnalysis::InductionEqual( in HaveSameInduction() 170 iva_ = new (&allocator_) HInductionVarAnalysis(graph_); in PerformInductionVarAnalysis() 178 HInductionVarAnalysis* iva_;
|
D | optimizing_compiler.cc | 522 HInductionVarAnalysis* induction = new (arena) HInductionVarAnalysis(graph); in RunOptimizations()
|
D | bounds_check_elimination_test.cc | 53 HInductionVarAnalysis induction(graph_); in RunBCE()
|
D | bounds_check_elimination.cc | 526 HInductionVarAnalysis* induction_analysis) in BCEVisitor()
|