Lines Matching refs:PBQPRAGraph

129   void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
138 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
155 void apply(PBQPRAGraph &G) override { in apply()
169 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply()
182 typedef DenseMap<IKey, PBQPRAGraph::MatrixPtr> IMatrixCache;
187 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
188 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
202 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
203 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
269 void apply(PBQPRAGraph &G) override { in apply()
361 bool createInterferenceEdge(PBQPRAGraph &G, in createInterferenceEdge()
362 PBQPRAGraph::NodeId NId, PBQPRAGraph::NodeId MId, in createInterferenceEdge()
378 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
394 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge()
404 void apply(PBQPRAGraph &G) override { in apply()
428 PBQPRAGraph::NodeId NId = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
430 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed = in apply()
438 PBQPRAGraph::RawVector NewCosts(G.getNodeCosts(NId)); in apply()
443 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply()
444 PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
445 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed1 = in apply()
447 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed2 = in apply()
450 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
452 PBQPRAGraph::RawMatrix Costs(Allowed1->size() + 1, in apply()
461 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply()
473 PBQPRAGraph::RawMatrix &CostMat, in addVirtRegCoalesce()
474 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed1, in addVirtRegCoalesce()
475 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed2, in addVirtRegCoalesce()
553 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph()
611 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph()
619 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()
654 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAGraph &G, in mapPBQPToRegAlloc()
774 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI)); in runOnMachineFunction()
812 typedef PBQP::RegAlloc::PBQPRAGraph Graph;
813 typedef PBQP::RegAlloc::PBQPRAGraph::NodeId NodeId;
836 void PBQP::RegAlloc::PBQPRAGraph::dump(raw_ostream &OS) const { in dump()
857 void PBQP::RegAlloc::PBQPRAGraph::dump() const { dump(dbgs()); } in dump()
859 void PBQP::RegAlloc::PBQPRAGraph::printDot(raw_ostream &OS) const { in printDot()