Home
last modified time | relevance | path

Searched refs:LoopInfo (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dloop_analysis.h25 struct LoopInfo { struct
26 LoopInfo(Chunk* chunk, GateRef head) in LoopInfo() function
41 void CollectLoopBody(LoopInfo* loopInfo); argument
44 void PrintLoop(LoopInfo* loopInfo);
45 const ChunkVector<LoopInfo*>& GetLoopTree() const in GetLoopTree()
51 void UpdateLoopInfo(LoopInfo* loopInfo, GateRef gate, size_t dep);
55 LoopInfo* loopInfo, GateRef cur);
60 ChunkVector<LoopInfo*> loopInfos_;
Dframe_states.h151 struct LoopInfo { struct
156 LoopInfo* parentInfo {nullptr};
227 LoopInfo& GetLoopInfo(const BytecodeRegion &bb);
228 LoopInfo& GetLoopInfo(BytecodeRegion &bb);
229 LoopInfo* GetLoopInfoByLoopBody(const BytecodeRegion &bb);
261 ChunkVector<LoopInfo> loops_;
Dloop_analysis.cpp23 void LoopAnalysis::PrintLoop(LoopInfo* loopInfo) in PrintLoop()
47 auto loopInfo = chunk_->New<LoopInfo>(chunk_, gate); in Run()
54 LoopInfo* loopInfo, GateRef cur) in CollectUseGate()
95 void LoopAnalysis::CollectLoopBody(LoopInfo* loopInfo) in CollectLoopBody()
117 void LoopAnalysis::UpdateLoopInfo(LoopInfo* loopInfo, GateRef gate, size_t dep) in UpdateLoopInfo()
Dloop_peeling.h31 const std::string& name, Chunk* chunk, LoopInfo* loopInfo) in LoopPeeling()
60 LoopInfo* loopInfo_{nullptr};
Dgraph_linearizer.h253 struct LoopInfo { struct
257 LoopInfo* outer {nullptr};
438 LoopInfo* GetLoopInfo(GateRegion *region) in GetLoopInfo()
465 ChunkVector<LoopInfo> loops_;
Dframe_states.cpp682 FrameStateBuilder::LoopInfo& FrameStateBuilder::GetLoopInfo(const BytecodeRegion &bb) in GetLoopInfo()
688 FrameStateBuilder::LoopInfo& FrameStateBuilder::GetLoopInfo(BytecodeRegion &bb) in GetLoopInfo()
694 FrameStateBuilder::LoopInfo* FrameStateBuilder::GetLoopInfoByLoopBody(const BytecodeRegion &bb) in GetLoopInfoByLoopBody()
811 void CountLoopBody(FrameStateBuilder::LoopInfo& loopInfo, size_t bbId) in CountLoopBody()
822 void PropagateLoopBody(FrameStateBuilder::LoopInfo& loopInfo) in PropagateLoopBody()
837 …void InitLoopInfo(FrameStateBuilder::LoopInfo& loopInfo, BytecodeRegion& loopHeader, size_t backId) in InitLoopInfo()
861 frameBuilder_->loops_.resize(numLoops_, FrameStateBuilder::LoopInfo()); in ComputeLoopInfo()
883 void InsertEmptyBytecodeRegion(FrameStateBuilder::LoopInfo& loopInfo, in InsertEmptyBytecodeRegion()
949 FrameStateBuilder::LoopInfo* EnterInnerLoop(FrameStateBuilder::LoopInfo* loopInfo, size_t bbId) in EnterInnerLoop()
966 FrameStateBuilder::LoopInfo* loopInfo = nullptr; in ComputeLoopTree()
[all …]
Dgraph_linearizer.cpp362 void PrintLoop(GraphLinearizer::LoopInfo& loopInfo) in PrintLoop()
391 linearizer_->loops_.resize(numLoops_, GraphLinearizer::LoopInfo()); in ComputeLoopInfo()
413 void PropagateLoopBody(GraphLinearizer::LoopInfo& loopInfo) in PropagateLoopBody()
468 GraphLinearizer::LoopInfo *loopInfo = nullptr; in ComputeLoopTree()
511 void AddLoopExit(GateRegion* succ, GraphLinearizer::LoopInfo *loopInfo) in AddLoopExit()
519 GraphLinearizer::LoopInfo *EnterInnerLoop(GateRegion* succ, GraphLinearizer::LoopInfo *loopInfo) in EnterInnerLoop()
723 bool CheckRegionDomLoopExist(GateRegion* region, GraphLinearizer::LoopInfo* loopInfo) in CheckRegionDomLoopExist()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dchecks_elimination.h39 using LoopInfo = std::tuple<CountableLoopInfo, Inst *, Inst *, Inst *, ConditionCode, bool, bool>; variable
147 bool TryInsertDeoptimization(LoopInfo loopInfo, Inst *lenArray, int64_t maxAdd, int64_t minAdd,
156 …void ProcessingGroupBoundsCheck(GroupedBoundsChecks *indexBoundschecks, LoopInfo loopInfo, Inst *l…
170 std::optional<LoopInfo> FindLoopInfo(Loop *loop);
Dchecks_elimination.cpp854 std::optional<LoopInfo> ChecksElimination::FindLoopInfo(Loop *loop) in FindLoopInfo()
1003 bool ChecksElimination::TryInsertDeoptimization(LoopInfo loopInfo, Inst *lenArray, int64_t maxAdd, … in TryInsertDeoptimization()
1094 void ChecksElimination::ProcessingGroupBoundsCheck(GroupedBoundsChecks *indexBoundschecks, LoopInfo in ProcessingGroupBoundsCheck()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dloop_optimization_test.cpp110 ecmascript::kungfu::LoopInfo beforeOpt(&chunk, loopBegin); in HWTEST_F_L0()
111 ecmascript::kungfu::LoopInfo afterOpt(&chunk, loopBegin); in HWTEST_F_L0()