Home
last modified time | relevance | path

Searched refs:HLoopInformation (Results 1 – 25 of 31) sorted by relevance

12

/art/compiler/optimizing/
Dinduction_var_analysis.h155 void VisitLoop(HLoopInformation* loop);
156 void VisitNode(HLoopInformation* loop, HInstruction* instruction);
157 uint32_t VisitDescendant(HLoopInformation* loop, HInstruction* instruction);
158 void ClassifyTrivial(HLoopInformation* loop, HInstruction* instruction);
159 void ClassifyNonTrivial(HLoopInformation* loop);
163 InductionInfo* TransferPhi(HLoopInformation* loop,
174 InductionInfo* SolvePhiAllInputs(HLoopInformation* loop,
177 InductionInfo* SolveAddSub(HLoopInformation* loop,
184 InductionInfo* SolveOp(HLoopInformation* loop,
190 InductionInfo* SolveTest(HLoopInformation* loop,
[all …]
Dlinear_order.cc24 static bool InSameLoop(HLoopInformation* first_loop, HLoopInformation* second_loop) { in InSameLoop()
28 static bool IsLoop(HLoopInformation* info) { in IsLoop()
32 static bool IsInnerLoop(HLoopInformation* outer, HLoopInformation* inner) { in IsInnerLoop()
42 HLoopInformation* block_loop = block->GetLoopInformation(); in AddToListForLinearization()
46 HLoopInformation* current_loop = current->GetLoopInformation(); in AddToListForLinearization()
63 HLoopInformation* loop = header->GetLoopInformation(); in IsLinearOrderWellFormed()
Dsuperblock_cloner.h220 HLoopInformation* GetRegionToBeAdjusted() const { in GetRegionToBeAdjusted()
367 HLoopInformation* outer_loop_;
384 LoopClonerHelper(HLoopInformation* info, in LoopClonerHelper()
395 static bool IsLoopClonable(HLoopInformation* loop_info);
485 HLoopInformation* GetRegionToBeAdjusted() const { return cloner_.GetRegionToBeAdjusted(); } in GetRegionToBeAdjusted()
498 HLoopInformation* loop_info_;
510 LoopClonerSimpleHelper(HLoopInformation* info, InductionVarRange* induction_range);
515 HLoopInformation* GetRegionToBeAdjusted() const { return helper_.GetRegionToBeAdjusted(); } in GetRegionToBeAdjusted()
530 HLoopInformation* loop_info,
547 HLoopInformation* FindCommonLoop(HLoopInformation* loop1, HLoopInformation* loop2);
Dloop_analysis.h36 explicit LoopAnalysisInfo(HLoopInformation* loop_info) in LoopAnalysisInfo()
69 HLoopInformation* GetLoopInfo() const { return loop_info_; } in GetLoopInfo()
91 HLoopInformation* loop_info_;
102 static void CalculateLoopBasicProperties(HLoopInformation* loop_info,
107 static int64_t GetLoopTripCount(HLoopInformation* loop_info,
Dsuperblock_cloner_test.cc163 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
242 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
306 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
310 HLoopInformation* new_loop_info = new_header->GetLoopInformation(); in TEST_F()
343 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
380 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
391 HLoopInformation* second_loop_info = second_header->GetLoopInformation(); in TEST_F()
445 HLoopInformation* loop_info = header->GetLoopInformation(); in TEST_F()
490 HLoopInformation* loop2_info_before = loop2_header->GetLoopInformation(); in TEST_F()
491 HLoopInformation* loop3_info_before = loop3_header->GetLoopInformation(); in TEST_F()
[all …]
Dlicm.cc33 HLoopInformation* info = instruction->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
35 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
49 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
67 static void UpdateLoopPhisIn(HEnvironment* environment, HLoopInformation* info) { in UpdateLoopPhisIn()
101 HLoopInformation* loop_info = block->GetLoopInformation(); in Run()
Dloop_optimization.h55 explicit LoopNode(HLoopInformation* lp_info) in LoopNode()
61 HLoopInformation* loop_info;
127 void AddLoop(HLoopInformation* loop_info);
258 bool IsOnlyUsedAfterLoop(HLoopInformation* loop_info,
262 bool IsUsedOutsideLoop(HLoopInformation* loop_info,
264 bool TryReplaceWithLastValue(HLoopInformation* loop_info,
267 bool TryAssignLastValue(HLoopInformation* loop_info,
Dinduction_var_range.h138 void ReVisit(HLoopInformation* loop) { in ReVisit()
159 HLoopInformation* lp = phi->GetBlock()->GetLoopInformation(); // closest enveloping loop in IsClassified()
167 bool IsFinite(HLoopInformation* loop, /*out*/ int64_t* trip_count) const;
172 bool HasKnownTripCount(HLoopInformation* loop, /*out*/ int64_t* trip_count) const;
190 HInstruction* GenerateTripCount(HLoopInformation* loop, HGraph* graph, HBasicBlock* block);
206 bool CheckForFiniteAndConstantProps(HLoopInformation* loop,
221 /*out*/ HLoopInformation** loop,
Dinduction_var_analysis.cc28 static void RotateEntryPhiFirst(HLoopInformation* loop, in RotateEntryPhiFirst()
99 static bool IsGuardedBy(HLoopInformation* loop, in IsGuardedBy()
146 HInstruction* FindFirstLoopHeaderPhiUse(HLoopInformation* loop, HInstruction* instruction) { in FindFirstLoopHeaderPhiUse()
160 bool FixOutsideUse(HLoopInformation* loop, in FixOutsideUse()
200 bool RewriteBreakLoopBody(HLoopInformation* loop, in RewriteBreakLoopBody()
240 induction_(std::less<HLoopInformation*>(), in HInductionVarAnalysis()
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()
341 HLoopInformation* otherLoop = instruction->GetBlock()->GetLoopInformation(); in VisitDescendant()
[all …]
Dloop_analysis.cc25 void LoopAnalysis::CalculateLoopBasicProperties(HLoopInformation* loop_info, in CalculateLoopBasicProperties()
67 int64_t LoopAnalysis::GetLoopTripCount(HLoopInformation* loop_info, in GetLoopTripCount()
316 uint32_t GetUnrollingFactor(HLoopInformation* loop_info, HBasicBlock* header) const;
326 HLoopInformation* loop_info = block->GetLoopInformation(); in GetSIMDUnrollingFactor()
362 uint32_t X86_64LoopHelper::GetUnrollingFactor(HLoopInformation* loop_info, in GetUnrollingFactor()
Dsuperblock_cloner.cc325 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
344 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
355 HLoopInformation* info = block->GetLoopInformation(); in RecalculateBackEdgesInfo()
388 HLoopInformation* cur_loop = block->GetLoopInformation(); in AnalyzeLoopsLocally()
389 HLoopInformation* outer_loop = cur_loop->GetPreHeader()->GetLoopInformation(); in AnalyzeLoopsLocally()
469 HLoopInformation* loop_exit_loop_info = exit->GetLoopInformation(); in FindAndSetLocalAreaForAdjustments()
885 HLoopInformation* common_loop_info = nullptr; in IsFastCase()
888 HLoopInformation* block_loop_info = block->GetLoopInformation(); in IsFastCase()
1070 HLoopInformation* loop_info, in CollectRemappingInfoForPeelUnroll()
1119 HLoopInformation* FindCommonLoop(HLoopInformation* loop1, HLoopInformation* loop2) { in FindCommonLoop()
[all …]
Dside_effects_analysis.h47 void UpdateLoopEffects(HLoopInformation* info, SideEffects effects);
Dnodes.cc539 HLoopInformation* info = successor->GetLoopInformation(); in SplitCriticalEdge()
561 HLoopInformation* info = header->GetLoopInformation(); in OrderLoopHeaderPredecessors()
580 HLoopInformation* loop_info = header->GetLoopInformation(); in FixControlForNewSinglePreheader()
620 HLoopInformation* loop_info = header->GetLoopInformation(); in TransformLoopToSinglePreheaderFormat()
688 HLoopInformation* info = header->GetLoopInformation(); in SimplifyLoop()
795 void HLoopInformation::Dump(std::ostream& os) { in Dump()
909 void HLoopInformation::Add(HBasicBlock* block) { in Add()
913 void HLoopInformation::Remove(HBasicBlock* block) { in Remove()
917 void HLoopInformation::PopulateRecursive(HBasicBlock* block) { in PopulateRecursive()
937 void HLoopInformation::PopulateIrreducibleRecursive(HBasicBlock* block, ArenaBitVector* finalized) { in PopulateIrreducibleRecursive()
[all …]
Dside_effects_analysis.cc84 void SideEffectsAnalysis::UpdateLoopEffects(HLoopInformation* info, SideEffects effects) { in UpdateLoopEffects()
Dinduction_var_range.cc153 static HInstruction* GetLoopControl(HLoopInformation* loop) { in GetLoopControl()
174 HLoopInformation* loop = nullptr; in GetInductionRange()
322 …for (HLoopInformation* lp = instruction->GetBlock()->GetLoopInformation(); // closest enveloping … in Replace()
332 bool InductionVarRange::IsFinite(HLoopInformation* loop, /*out*/ int64_t* trip_count) const { in IsFinite()
337 bool InductionVarRange::HasKnownTripCount(HLoopInformation* loop, in HasKnownTripCount()
348 HLoopInformation* loop = nullptr; in IsUnitStride()
371 HInstruction* InductionVarRange::GenerateTripCount(HLoopInformation* loop, in GenerateTripCount()
400 bool InductionVarRange::CheckForFiniteAndConstantProps(HLoopInformation* loop, in CheckForFiniteAndConstantProps()
445 /*out*/ HLoopInformation** loop, in HasInductionInfo()
450 HLoopInformation* lp = context->GetBlock()->GetLoopInformation(); // closest enveloping loop in HasInductionInfo()
[all …]
Dbounds_check_elimination.cc909 HLoopInformation* loop = bounds_check->GetBlock()->GetLoopInformation(); in VisitBoundsCheck()
1348 HLoopInformation* loop = array_get->GetBlock()->GetLoopInformation(); in VisitArrayGet()
1524 void TransformLoopForDynamicBCE(HLoopInformation* loop, HBoundsCheck* bounds_check) { in TransformLoopForDynamicBCE()
1654 bool DynamicBCESeemsProfitable(HLoopInformation* loop, HBasicBlock* block) { in DynamicBCESeemsProfitable()
1687 bool IsEarlyExitLoop(HLoopInformation* loop) { in IsEarlyExitLoop()
1713 bool CanHandleLength(HLoopInformation* loop, HInstruction* length, bool needs_taken_test) { in CanHandleLength()
1729 bool CanHandleNullCheck(HLoopInformation* loop, HInstruction* check, bool needs_taken_test) { in CanHandleNullCheck()
1756 …bool CanHandleInfiniteLoop(HLoopInformation* loop, HInstruction* index, bool needs_infinite_test) { in CanHandleInfiniteLoop()
1787 HBasicBlock* GetPreHeader(HLoopInformation* loop, HInstruction* instruction) { in GetPreHeader()
1806 void InsertDeoptInLoop(HLoopInformation* loop, in InsertDeoptInLoop()
[all …]
Dloop_optimization.cc73 static bool IsEarlyExit(HLoopInformation* loop_info) { in IsEarlyExit()
429 static void PeelByCount(HLoopInformation* loop_info, in PeelByCount()
565 void HLoopOptimization::AddLoop(HLoopInformation* loop_info) { in AddLoop()
807 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryUnrollingForBranchPenaltyReduction()
822 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryPeelingForLoopInvariantExitsElimination()
878 HLoopInformation* loop_info = analysis_info->GetLoopInfo(); in TryFullUnrolling()
889 HLoopInformation* loop_info = node->loop_info; in TryPeelingAndUnrolling()
1172 HLoopInformation* vloop = vector_header_->GetLoopInformation(); in Vectorize()
2401 HLoopInformation* loop_info = phi->GetBlock()->GetLoopInformation(); in TrySetPhiReduction()
2481 bool HLoopOptimization::IsUsedOutsideLoop(HLoopInformation* loop_info, in IsUsedOutsideLoop()
[all …]
Dfind_loops_test.cc112 HLoopInformation* info = block->GetLoopInformation(); in TestBlock()
314 HLoopInformation* info = graph->GetBlocks()[3]->GetLoopInformation(); in TEST_F()
Dcha_guard_optimization.cc182 HLoopInformation* loop_info = block->GetLoopInformation(); in HoistGuard()
Dnodes.h893 class HLoopInformation : public ArenaObject<kArenaAllocLoopInfo> {
895 HLoopInformation(HBasicBlock* header, HGraph* graph) in HLoopInformation() function
961 void PopulateInnerLoopUpwards(HLoopInformation* inner_loop);
969 bool IsIn(const HLoopInformation& other) const;
1011 DISALLOW_COPY_AND_ASSIGN(HLoopInformation);
1135 HLoopInformation* loop_info = GetLoopInformation(); in IsSingleJump()
1143 loop_information_ = new (graph_->GetAllocator()) HLoopInformation(this, graph_); in AddBackEdge()
1156 loop_information_ = new (graph_->GetAllocator()) HLoopInformation(this, graph_); in AddBackEdgeWhileUpdating()
1362 HLoopInformation* GetLoopInformation() const { in GetLoopInformation()
1369 void SetInLoop(HLoopInformation* info) { in SetInLoop()
[all …]
Dgraph_visualizer.cc714 HLoopInformation* loop_info = (block != nullptr) ? block->GetLoopInformation() : nullptr; in PrintInstruction()
719 HLoopInformation* outer = loop_info->GetPreHeader()->GetLoopInformation(); in PrintInstruction()
Dssa_liveness_analysis.h136 HLoopInformation* GetLoopInformation() const { in GetLoopInformation()
1067 HLoopInformation* current = it.Current(); in AddBackEdgeUses()
Dgraph_checker.cc667 HLoopInformation* loop_information = loop_header->GetLoopInformation(); in HandleLoop()
743 HLoopInformation* outer_info = it.Current(); in HandleLoop()
Dload_store_elimination.cc1502 HLoopInformation* loop_info = block->GetLoopInformation(); in PrepareLoopValue()
1889 HLoopInformation* loop_info = loop_header->GetLoopInformation(); in MayAliasOnBackEdge()
1956 HLoopInformation* loop_info = in TryReplacingLoopPhiPlaceholderWithDefault()
/art/test/478-checker-inline-noreturn/
Dinfo.txt2 computation fails because of incorrect HLoopInformation if we inline

12