Home
last modified time | relevance | path

Searched refs:gates (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dpost_schedule.h53 void ReplaceGateDirectly(std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx);
54 void ScheduleEndBB(std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx);
55 void ScheduleNewBB(std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx);
56 void ScheduleCurrentBB(const std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx);
78 void PrepareToScheduleNewGate(GateRef gate, std::vector<GateRef> &gates);
H A Dpost_schedule.cpp36 PrintGraph("Build extra basic block for scheduled gates", cfg); in Run()
107 void PostSchedule::ReplaceGateDirectly(std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx) in ReplaceGateDirectly() argument
110 bb.insert(bb.begin() + instIdx, gates.begin(), gates.end()); in ReplaceGateDirectly()
111 bb.erase(bb.begin() + instIdx + gates.size()); in ReplaceGateDirectly()
114 void PostSchedule::ScheduleEndBB(std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx) in ScheduleEndBB() argument
118 gates.insert(gates.begin() + 1, bb.begin(), bb.begin() + instIdx); // 1: after state gate in ScheduleEndBB()
120 cfg.insert(cfg.begin() + bbIdx + 1, std::move(gates)); // 1: after current bb in ScheduleEndBB()
123 void PostSchedule::ScheduleNewBB(std::vector<GateRef> &gates, ControlFlowGrap argument
130 ScheduleCurrentBB(const std::vector<GateRef> &gates, ControlFlowGraph &cfg, size_t bbIdx, size_t instIdx) ScheduleCurrentBB() argument
142 PrepareToScheduleNewGate(GateRef gate, std::vector<GateRef> &gates) PrepareToScheduleNewGate() argument
[all...]
H A Dgraph_linearizer.h138 void AddGates(ChunkVector<GateRef>& gates) in AddGates() argument
140 gateList_.insert(gateList_.end(), gates.begin(), gates.end()); in AddGates()
H A Dearly_elimination.h40 void GetGates(std::vector<GateRef>& gates) const;
H A Dearly_elimination.cpp549 void DependInfoNode::GetGates(std::vector<GateRef>& gates) const in GetGates()
556 gates.emplace_back(st.top()); in GetGates()
H A Dgraph_linearizer.cpp743 // 2. schedule all gates from end to start in ScheduleAllocRegion()
912 auto& gates = r->GetGates(); in LinearizeRegions() local
914 bb.insert(bb.end(), gates.begin(), gates.end()); in LinearizeRegions()
H A Dcircuit.h62 void GetAllGates(std::vector<GateRef>& gates) const;
H A Dgate_accessor.h378 void GetAllGates(std::vector<GateRef>& gates) const;
H A Dgate_accessor.cpp983 void GateAccessor::GetAllGates(std::vector<GateRef>& gates) const in GetAllGates()
985 circuit_->GetAllGates(gates); in GetAllGates()

Completed in 12 milliseconds