Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/
Dframe_states.h29 struct BytecodeRegion;
131 void MergeIntoSuccessor(const BytecodeRegion &bb, const BytecodeRegion &bbNext);
132 void AdvanceToNextBB(const BytecodeRegion &bb);
133 void InitEntryBB(const BytecodeRegion &bb);
158 ChunkVector<BytecodeRegion*>* loopExits {nullptr};
213 GateRef MergeValue(const BytecodeRegion &bb,
215 void NewMerge(const BytecodeRegion &bbNext);
216 void MergeStateDepend(const BytecodeRegion &bb, const BytecodeRegion &bbNext);
217 void CopyLiveoutValues(const BytecodeRegion &bbNext, FrameContext* dest, FrameContext* src);
218 void SaveCurrentContext(const BytecodeRegion &bb);
[all …]
Dbytecode_circuit_builder.h160 struct BytecodeRegion { struct
164 ChunkVector<BytecodeRegion *> preds; // List of predessesor blocks argument
165 ChunkVector<BytecodeRegion *> succs; // List of successors blocks argument
166 ChunkVector<BytecodeRegion *> trys; // List of trys blocks argument
167 ChunkVector<BytecodeRegion *> catches; // List of catches blocks argument
175 BytecodeRegion(Chunk* chunk) : preds(chunk), succs(chunk), in BytecodeRegion() argument
184 bool operator <(const BytecodeRegion &target) const argument
192 … std::sort(catches.begin(), catches.end(), [](BytecodeRegion *first, BytecodeRegion *second) { in SortCatches() argument
198 void EraseThisBlock(ChunkVector<BytecodeRegion *> &blocks) in EraseThisBlock() argument
212 using BytecodeGraph = ChunkVector<BytecodeRegion*>; argument
[all …]
Dframe_states.cpp381 void FrameStateBuilder::InitEntryBB(const BytecodeRegion &bb) in InitEntryBB()
411 void FrameStateBuilder::NewMerge(const BytecodeRegion &bbNext) in NewMerge()
433 void FrameStateBuilder::MergeStateDepend(const BytecodeRegion &bb, const BytecodeRegion &bbNext) in MergeStateDepend()
457 GateRef FrameStateBuilder::MergeValue(const BytecodeRegion &bb, in MergeValue()
486 void FrameStateBuilder::MergeAssignment(const BytecodeRegion &bbNext) in MergeAssignment()
519 void FrameStateBuilder::CopyLiveoutValues(const BytecodeRegion &bbNext, in CopyLiveoutValues()
551 void FrameStateBuilder::SaveCurrentContext(const BytecodeRegion &bb) in SaveCurrentContext()
560 void FrameStateBuilder::NewLoopExit(const BytecodeRegion &bbNext, BitSet *loopAssignment) in NewLoopExit()
589 void FrameStateBuilder::TryInsertLoopExit(const BytecodeRegion &bb, const BytecodeRegion &bbNext) in TryInsertLoopExit()
616 void FrameStateBuilder::AdvanceToNextBB(const BytecodeRegion &bb) in AdvanceToNextBB()
[all …]
Dbytecode_circuit_builder.cpp145 BytecodeRegion &entryBlock = RegionAt(0); in BuildEntryBlock()
146 BytecodeRegion &nextBlock = RegionAt(1); in BuildEntryBlock()
162 graph_[i] = circuit_->chunk()->New<BytecodeRegion>(circuit_->chunk()); in BuildRegions()
271 void BytecodeCircuitBuilder::RemoveUnusedPredsInfo(BytecodeRegion& bb) in RemoveUnusedPredsInfo()
284 void BytecodeCircuitBuilder::ClearUnreachableRegion(ChunkVector<BytecodeRegion*>& pendingList) in ClearUnreachableRegion()
328 ChunkVector<BytecodeRegion*> pendingList(circuit_->chunk()); in RemoveUnreachableRegion()
347 ChunkVector<BytecodeRegion *> newSuccs(circuit_->chunk()); in UpdateCFG()
513 void BytecodeCircuitBuilder::MergeThrowGate(BytecodeRegion &bb, uint32_t bcIndex) in MergeThrowGate()
534 void BytecodeCircuitBuilder::MergeExceptionGete(BytecodeRegion &bb, in MergeExceptionGete()
553 void BytecodeCircuitBuilder::NewJSGate(BytecodeRegion &bb) in NewJSGate()
[all …]