Lines Matching refs:PBQPRAGraph

165   void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
174 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
192 void apply(PBQPRAGraph &G) override { in apply()
206 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply()
218 using IMatrixCache = DenseMap<IKey, PBQPRAGraph::MatrixPtr>;
223 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
224 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
238 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
239 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
304 void apply(PBQPRAGraph &G) override { in apply()
396 bool createInterferenceEdge(PBQPRAGraph &G, in createInterferenceEdge()
397 PBQPRAGraph::NodeId NId, PBQPRAGraph::NodeId MId, in createInterferenceEdge()
412 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
428 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge()
437 void apply(PBQPRAGraph &G) override { in apply()
459 PBQPRAGraph::NodeId NId = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
461 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed = in apply()
469 PBQPRAGraph::RawVector NewCosts(G.getNodeCosts(NId)); in apply()
474 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply()
475 PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
476 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed1 = in apply()
478 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed2 = in apply()
481 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
483 PBQPRAGraph::RawMatrix Costs(Allowed1->size() + 1, in apply()
492 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply()
503 PBQPRAGraph::RawMatrix &CostMat, in addVirtRegCoalesce()
504 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed1, in addVirtRegCoalesce()
505 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed2, in addVirtRegCoalesce()
590 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph()
674 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph()
682 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()
716 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAGraph &G, in mapPBQPToRegAlloc()
853 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI)); in runOnMachineFunction()
889 static Printable PrintNodeInfo(PBQP::RegAlloc::PBQPRAGraph::NodeId NId, in PrintNodeInfo()
890 const PBQP::RegAlloc::PBQPRAGraph &G) { in PrintNodeInfo()
901 LLVM_DUMP_METHOD void PBQP::RegAlloc::PBQPRAGraph::dump(raw_ostream &OS) const { in dump()
922 LLVM_DUMP_METHOD void PBQP::RegAlloc::PBQPRAGraph::dump() const { in dump()
927 void PBQP::RegAlloc::PBQPRAGraph::printDot(raw_ostream &OS) const { in printDot()