Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dloop_analysis.cc90 bool IsLoopNonBeneficialForScalarOpts(LoopAnalysisInfo* analysis_info) const override { in IsLoopNonBeneficialForScalarOpts()
91 return analysis_info->HasLongTypeInstructions() || in IsLoopNonBeneficialForScalarOpts()
92 IsLoopTooBig(analysis_info, in IsLoopNonBeneficialForScalarOpts()
97 uint32_t GetScalarUnrollingFactor(const LoopAnalysisInfo* analysis_info) const override { in GetScalarUnrollingFactor()
98 int64_t trip_count = analysis_info->GetTripCount(); in GetScalarUnrollingFactor()
113 bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info) const override { in IsFullUnrollingBeneficial()
114 int64_t trip_count = analysis_info->GetTripCount(); in IsFullUnrollingBeneficial()
117 size_t instr_num = analysis_info->GetNumberOfInstructions(); in IsFullUnrollingBeneficial()
Dloop_analysis.h154 const LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in GetScalarUnrollingFactor()
166 virtual bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in IsFullUnrollingBeneficial()
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() argument
792 if (analysis_info->GetNumberOfExits() > 1) { in TryUnrollingForBranchPenaltyReduction()
796 uint32_t unrolling_factor = arch_loop_helper_->GetScalarUnrollingFactor(analysis_info); in TryUnrollingForBranchPenaltyReduction()
806 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryUnrollingForBranchPenaltyReduction()
819 bool HLoopOptimization::TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info, in TryPeelingForLoopInvariantExitsElimination() argument
821 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryPeelingForLoopInvariantExitsElimination()
826 if (analysis_info->GetNumberOfInvariantExits() == 0) { in TryPeelingForLoopInvariantExitsElimination()
848 bool HLoopOptimization::TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code) { in TryFullUnrolling() argument
850 int64_t trip_count = analysis_info->GetTripCount(); in TryFullUnrolling()
853 !arch_loop_helper_->IsFullUnrollingBeneficial(analysis_info)) { in TryFullUnrolling()
[all …]