Searched refs:BytecodeRegion (Results 1 – 4 of 4) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | frame_states.h | 28 struct BytecodeRegion; 118 bool MergeIntoPredBB(BytecodeRegion *bb, BytecodeRegion *predBb); 119 size_t LoopExitCount(BytecodeRegion *bb, BytecodeRegion *bbNext); 156 FrameStateInfo *GetFrameInfoBefore(BytecodeRegion &bb, uint32_t bcId); 158 GateRef GetPreBBInput(BytecodeRegion *bb, BytecodeRegion *predBb, GateRef gate); 159 GateRef GetPhiComponent(BytecodeRegion *bb, BytecodeRegion *predBb, GateRef phi); 160 void BuildFrameState(BytecodeRegion& bb, const BytecodeInfo &bytecodeInfo, size_t index); 161 void BuildStateSplitAfter(size_t index, BytecodeRegion& bb); 162 void BuildStateSplitBefore(BytecodeRegion& bb, size_t index); 163 bool ShouldInsertFrameStateBefore(BytecodeRegion& bb, size_t index); [all …]
|
| D | bytecode_circuit_builder.h | 159 struct BytecodeRegion { struct 163 std::vector<BytecodeRegion *> preds {}; // List of predessesor blocks 164 std::vector<BytecodeRegion *> succs {}; // List of successors blocks 165 std::vector<BytecodeRegion *> trys {}; // List of trys blocks 166 std::vector<BytecodeRegion *> catchs {}; // List of catches blocks 167 std::vector<BytecodeRegion *> immDomBlocks {}; // List of dominated blocks 168 BytecodeRegion *iDominator {nullptr}; // Block that dominates the current block 169 std::vector<BytecodeRegion *> domFrontiers {}; // List of dominace frontiers 198 bool operator <(const BytecodeRegion &target) const argument 206 … std::sort(catchs.begin(), catchs.end(), [](BytecodeRegion *first, BytecodeRegion *second) { in SortCatches() argument [all …]
|
| D | frame_states.cpp | 168 GateRef FrameStateBuilder::GetPreBBInput(BytecodeRegion *bb, BytecodeRegion *predBb, GateRef gate) in GetPreBBInput() 176 GateRef FrameStateBuilder::GetPhiComponent(BytecodeRegion *bb, BytecodeRegion *predBb, GateRef phi) in GetPhiComponent() 225 bool FrameStateBuilder::MergeIntoPredBB(BytecodeRegion *bb, BytecodeRegion *predBb) in MergeIntoPredBB() 409 void FrameStateBuilder::BuildStateSplitAfter(size_t index, BytecodeRegion& bb) in BuildStateSplitAfter() 425 size_t FrameStateBuilder::GetNearestNextIndex(size_t index, BytecodeRegion& bb) const in GetNearestNextIndex() 436 void FrameStateBuilder::BuildStateSplitBefore(BytecodeRegion& bb, size_t index) in BuildStateSplitBefore() 451 bool FrameStateBuilder::ShouldInsertFrameStateBefore(BytecodeRegion& bb, size_t index) in ShouldInsertFrameStateBefore() 478 void FrameStateBuilder::BuildFrameState(BytecodeRegion& bb, in BuildFrameState() 505 void FrameStateBuilder::BuildCallFrameState(size_t index, BytecodeRegion& bb) in BuildCallFrameState() 536 FrameStateInfo *FrameStateBuilder::GetFrameInfoBefore(BytecodeRegion &bb, uint32_t bcId) in GetFrameInfoBefore() [all …]
|
| D | bytecode_circuit_builder.cpp | 143 BytecodeRegion &entryBlock = graph_[0]; in BuildEntryBlock() 144 BytecodeRegion &nextBlock = graph_[1]; in BuildEntryBlock() 355 std::vector<std::set<BytecodeRegion *>> domFrontiers(immDom.size()); in ComputeDomFrontiers() 382 std::vector<BytecodeRegion *> newPreds; in RemoveDeadRegions() 490 std::vector<BytecodeRegion *> newSuccs; in UpdateCFG() 553 bool BytecodeCircuitBuilder::ShouldBeDead(BytecodeRegion &curBlock) in ShouldBeDead() 642 void BytecodeCircuitBuilder::NewLoopBegin(BytecodeRegion &bb, GateRef &state, GateRef &depend) in NewLoopBegin() 670 void BytecodeCircuitBuilder::TryInsertLoopExit(BytecodeRegion &bb, BytecodeRegion &bbNext, in TryInsertLoopExit() 679 void BytecodeCircuitBuilder::BuildBlockCircuitHead(BytecodeRegion &bb, GateRef &state, GateRef &dep… in BuildBlockCircuitHead() 733 void BytecodeCircuitBuilder::SetLoopBlockPred(BytecodeRegion &bb, BytecodeRegion &bbNext, in SetLoopBlockPred() [all …]
|