Home
last modified time | relevance | path

Searched refs:LoopAnalysisInfo (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dloop_analysis.h28 class LoopAnalysisInfo : public ValueObject {
35 explicit LoopAnalysisInfo(HLoopInformation* loop_info) in LoopAnalysisInfo() function
102 LoopAnalysisInfo* analysis_results,
148 LoopAnalysisInfo* loop_analysis_info ATTRIBUTE_UNUSED) const { return true; } in IsLoopNonBeneficialForScalarOpts()
154 const LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in GetScalarUnrollingFactor()
155 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
166 virtual bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in IsFullUnrollingBeneficial()
177 return LoopAnalysisInfo::kNoUnrollingFactor; in GetSIMDUnrollingFactor()
Dloop_analysis.cc25 LoopAnalysisInfo* analysis_results, in CalculateLoopBasicProperties()
70 trip_count = LoopAnalysisInfo::kUnknownTripCount; in GetLoopTripCount()
90 bool IsLoopNonBeneficialForScalarOpts(LoopAnalysisInfo* analysis_info) const override { in IsLoopNonBeneficialForScalarOpts()
97 uint32_t GetScalarUnrollingFactor(const LoopAnalysisInfo* analysis_info) const override { in GetScalarUnrollingFactor()
100 if (trip_count == LoopAnalysisInfo::kUnknownTripCount) { in GetScalarUnrollingFactor()
101 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
105 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
113 bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info) const override { in IsFullUnrollingBeneficial()
116 DCHECK_NE(trip_count, LoopAnalysisInfo::kUnknownTripCount); in IsFullUnrollingBeneficial()
122 bool IsLoopTooBig(LoopAnalysisInfo* loop_analysis_info, in IsLoopTooBig()
[all …]
Dloop_optimization.h150 bool TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info,
156 bool TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info,
163 bool TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code = true);
Dloop_optimization.cc790 bool HLoopOptimization::TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info, in TryUnrollingForBranchPenaltyReduction()
797 if (unrolling_factor == LoopAnalysisInfo::kNoUnrollingFactor) { in TryUnrollingForBranchPenaltyReduction()
819 bool HLoopOptimization::TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info, in TryPeelingForLoopInvariantExitsElimination()
848 bool HLoopOptimization::TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code) { in TryFullUnrolling()
852 trip_count == LoopAnalysisInfo::kUnknownTripCount || in TryFullUnrolling()
896 LoopAnalysisInfo analysis_info(loop_info); in TryPeelingAndUnrolling()
1156 LoopAnalysisInfo::kNoUnrollingFactor); in Vectorize()
1183 LoopAnalysisInfo::kNoUnrollingFactor); in Vectorize()