Searched refs:analysis_info (Results 1 – 4 of 4) sorted by relevance
90 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()
154 const LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in GetScalarUnrollingFactor()166 virtual bool IsFullUnrollingBeneficial(LoopAnalysisInfo* analysis_info ATTRIBUTE_UNUSED) const { in IsFullUnrollingBeneficial()
150 bool TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info,156 bool TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info,163 bool TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code = true);
793 bool HLoopOptimization::TryUnrollingForBranchPenaltyReduction(LoopAnalysisInfo* analysis_info, in TryUnrollingForBranchPenaltyReduction() argument795 if (analysis_info->GetNumberOfExits() > 1) { in TryUnrollingForBranchPenaltyReduction()799 uint32_t unrolling_factor = arch_loop_helper_->GetScalarUnrollingFactor(analysis_info); in TryUnrollingForBranchPenaltyReduction()809 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryUnrollingForBranchPenaltyReduction()822 bool HLoopOptimization::TryPeelingForLoopInvariantExitsElimination(LoopAnalysisInfo* analysis_info, in TryPeelingForLoopInvariantExitsElimination() argument824 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryPeelingForLoopInvariantExitsElimination()829 if (analysis_info->GetNumberOfInvariantExits() == 0) { in TryPeelingForLoopInvariantExitsElimination()851 bool HLoopOptimization::TryFullUnrolling(LoopAnalysisInfo* analysis_info, bool generate_code) { in TryFullUnrolling() argument853 int64_t trip_count = analysis_info->GetTripCount(); in TryFullUnrolling()856 !arch_loop_helper_->IsFullUnrollingBeneficial(analysis_info)) { in TryFullUnrolling()[all …]