Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dloop_analysis.h29 class LoopAnalysisInfo : public ValueObject {
36 explicit LoopAnalysisInfo(HLoopInformation* loop_info) in LoopAnalysisInfo() function
103 LoopAnalysisInfo* analysis_results,
150 LoopAnalysisInfo* loop_analysis_info ATTRIBUTE_UNUSED) const { return true; } in IsLoopNonBeneficialForScalarOpts()
156 const LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in GetScalarUnrollingFactor()
157 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
168 virtual bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in IsFullUnrollingBeneficial()
179 return LoopAnalysisInfo::kNoUnrollingFactor; in GetSIMDUnrollingFactor()
Dloop_analysis.cc26 LoopAnalysisInfo* analysis_results, in CalculateLoopBasicProperties()
71 trip_count = LoopAnalysisInfo::kUnknownTripCount; in GetLoopTripCount()
92 bool IsLoopNonBeneficialForScalarOpts(LoopAnalysisInfo* analysis_info) const override { in IsLoopNonBeneficialForScalarOpts()
99 uint32_t GetScalarUnrollingFactor(const LoopAnalysisInfo* analysis_info) const override { in GetScalarUnrollingFactor()
102 if (trip_count == LoopAnalysisInfo::kUnknownTripCount) { in GetScalarUnrollingFactor()
103 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
107 return LoopAnalysisInfo::kNoUnrollingFactor; in GetScalarUnrollingFactor()
115 bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info) const override { in IsFullUnrollingBeneficial()
118 DCHECK_NE(trip_count, LoopAnalysisInfo::kUnknownTripCount); in IsFullUnrollingBeneficial()
124 bool IsLoopTooBig(LoopAnalysisInfo* loop_analysis_info, in IsLoopTooBig()
[all …]
Dloop_optimization.h167 bool TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info,
173 bool TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info,
180 bool TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code = true);
Dloop_optimization.cc834 bool HLoopOptimization::TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info, in TryUnrollingForBranchPenaltyReduction()
841 if (unrolling_factor == LoopAnalysisInfo::kNoUnrollingFactor) { in TryUnrollingForBranchPenaltyReduction()
863 bool HLoopOptimization::TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info, in TryPeelingForLoopInvariantExitsElimination()
892 bool HLoopOptimization::TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code) { in TryFullUnrolling()
896 trip_count == LoopAnalysisInfo::kUnknownTripCount || in TryFullUnrolling()
934 LoopAnalysisInfo analysis_info(loop_info); in TryPeelingAndUnrolling()
1201 LoopAnalysisInfo::kNoUnrollingFactor); in Vectorize()
1229 LoopAnalysisInfo::kNoUnrollingFactor); in Vectorize()