Searched refs:HInductionVarAnalysis (Results 1 – 13 of 13) sorted by relevance
/art/compiler/optimizing/ |
D | induction_var_range.h | 58 explicit InductionVarRange(HInductionVarAnalysis* induction); 214 bool IsConstant(HInductionVarAnalysis::InductionInfo* info, 222 /*out*/ HInductionVarAnalysis::InductionInfo** info, 223 /*out*/ HInductionVarAnalysis::InductionInfo** trip) const; 225 bool HasFetchInLoop(HInductionVarAnalysis::InductionInfo* info) const; 226 bool NeedsTripCount(HInductionVarAnalysis::InductionInfo* info, 228 bool IsBodyTripCount(HInductionVarAnalysis::InductionInfo* trip) const; 229 bool IsUnsafeTripCount(HInductionVarAnalysis::InductionInfo* trip) const; 230 bool IsWellBehavedTripCount(HInductionVarAnalysis::InductionInfo* trip) const; 232 Value GetLinear(HInductionVarAnalysis::InductionInfo* info, [all …]
|
D | induction_var_range.cc | 184 InductionVarRange::InductionVarRange(HInductionVarAnalysis* induction_analysis) in InductionVarRange() 197 HInductionVarAnalysis::InductionInfo* info = nullptr; in GetInductionRange() 198 HInductionVarAnalysis::InductionInfo* trip = nullptr; in GetInductionRange() 224 if (!min_val->is_known && info->induction_class == HInductionVarAnalysis::kWrapAround) { in GetInductionRange() 371 HInductionVarAnalysis::InductionInfo* info = nullptr; in IsUnitStride() 372 HInductionVarAnalysis::InductionInfo* trip = nullptr; in IsUnitStride() 374 if (info->induction_class == HInductionVarAnalysis::kLinear && in IsUnitStride() 375 !HInductionVarAnalysis::IsNarrowingLinear(info)) { in IsUnitStride() 381 } else if (info->op_b->operation == HInductionVarAnalysis::kFetch) { in IsUnitStride() 396 HInductionVarAnalysis::InductionInfo *trip = in GenerateTripCount() [all …]
|
D | bounds_check_elimination.h | 25 class HInductionVarAnalysis; variable 31 HInductionVarAnalysis* induction_analysis, 43 HInductionVarAnalysis* induction_analysis_;
|
D | induction_var_range_test.cc | 36 iva_(new (GetAllocator()) HInductionVarAnalysis(graph_)), in InductionVarRangeTest() 133 HInductionVarAnalysis::InductionInfo* CreateInvariant(char opc, in CreateInvariant() 134 HInductionVarAnalysis::InductionInfo* a, in CreateInvariant() 135 HInductionVarAnalysis::InductionInfo* b) { in CreateInvariant() 136 HInductionVarAnalysis::InductionOp op; in CreateInvariant() 138 case '+': op = HInductionVarAnalysis::kAdd; break; in CreateInvariant() 139 case '-': op = HInductionVarAnalysis::kSub; break; in CreateInvariant() 140 case 'n': op = HInductionVarAnalysis::kNeg; break; in CreateInvariant() 141 case '*': op = HInductionVarAnalysis::kMul; break; in CreateInvariant() 142 case '/': op = HInductionVarAnalysis::kDiv; break; in CreateInvariant() [all …]
|
D | induction_var_analysis.cc | 230 HInductionVarAnalysis::HInductionVarAnalysis(HGraph* graph, const char* name) in HInductionVarAnalysis() function in art::HInductionVarAnalysis 246 bool HInductionVarAnalysis::Run() { in Run() 259 void HInductionVarAnalysis::VisitLoop(HLoopInformation* loop) { in VisitLoop() 294 void HInductionVarAnalysis::VisitNode(HLoopInformation* loop, HInstruction* instruction) { in VisitNode() 338 uint32_t HInductionVarAnalysis::VisitDescendant(HLoopInformation* loop, HInstruction* instruction) { in VisitDescendant() 356 void HInductionVarAnalysis::ClassifyTrivial(HLoopInformation* loop, HInstruction* instruction) { in ClassifyTrivial() 393 void HInductionVarAnalysis::ClassifyNonTrivial(HLoopInformation* loop) { in ClassifyNonTrivial() 521 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::RotatePeriodicInduction( in RotatePeriodicInduction() 545 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferPhi(HLoopInformation* loop, in TransferPhi() 562 HInductionVarAnalysis::InductionInfo* HInductionVarAnalysis::TransferAddSub(InductionInfo* a, in TransferAddSub() [all …]
|
D | induction_var_analysis.h | 36 class HInductionVarAnalysis : public HOptimization { 38 explicit HInductionVarAnalysis(HGraph* graph, const char* name = kInductionPassName); 283 DISALLOW_COPY_AND_ASSIGN(HInductionVarAnalysis);
|
D | optimization.cc | 72 return HInductionVarAnalysis::kInductionPassName; in OptimizationPassName() 192 HInductionVarAnalysis* most_recent_induction = nullptr; in ConstructOptimizations() 212 opt = most_recent_induction = new (allocator) HInductionVarAnalysis(graph, pass_name); in ConstructOptimizations()
|
D | loop_optimization_test.cc | 31 iva_(new (GetAllocator()) HInductionVarAnalysis(graph_)), in LoopOptimizationTest() 105 HInductionVarAnalysis* iva_;
|
D | induction_var_analysis_test.cc | 171 return HInductionVarAnalysis::InductionToString( in GetInductionInfo() 184 return HInductionVarAnalysis::InductionEqual( in HaveSameInduction() 191 return HInductionVarAnalysis::IsNarrowingLinear( in IsNarrowingLinear() 198 iva_ = new (GetAllocator()) HInductionVarAnalysis(graph_); in PerformInductionVarAnalysis() 204 HInductionVarAnalysis* iva_;
|
D | loop_optimization.h | 42 HInductionVarAnalysis* induction_analysis,
|
D | bounds_check_elimination_test.cc | 53 HInductionVarAnalysis induction(graph_); in RunBCE()
|
D | bounds_check_elimination.cc | 512 HInductionVarAnalysis* induction_analysis) in BCEVisitor()
|
D | loop_optimization.cc | 462 HInductionVarAnalysis* induction_analysis, in HLoopOptimization()
|