Lines Matching refs:PBQPRAGraph

167   void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
176 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
194 void apply(PBQPRAGraph &G) override { in apply()
208 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply()
220 using IMatrixCache = DenseMap<IKey, PBQPRAGraph::MatrixPtr>;
225 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
226 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
240 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
241 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
306 void apply(PBQPRAGraph &G) override { in apply()
398 bool createInterferenceEdge(PBQPRAGraph &G, in createInterferenceEdge()
399 PBQPRAGraph::NodeId NId, PBQPRAGraph::NodeId MId, in createInterferenceEdge()
414 PBQPRAGraph::RawMatrix M(NRegs.size() + 1, MRegs.size() + 1, 0); in createInterferenceEdge()
430 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge()
439 void apply(PBQPRAGraph &G) override { in apply()
462 PBQPRAGraph::NodeId NId = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
464 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed = in apply()
472 PBQPRAGraph::RawVector NewCosts(G.getNodeCosts(NId)); in apply()
477 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply()
478 PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg); in apply()
479 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed1 = in apply()
481 const PBQPRAGraph::NodeMetadata::AllowedRegVector *Allowed2 = in apply()
484 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
486 PBQPRAGraph::RawMatrix Costs(Allowed1->size() + 1, in apply()
495 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply()
506 PBQPRAGraph::RawMatrix &CostMat, in addVirtRegCoalesce()
507 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed1, in addVirtRegCoalesce()
508 const PBQPRAGraph::NodeMetadata::AllowedRegVector &Allowed2, in addVirtRegCoalesce()
578 void RegAllocPBQP::initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, in initializeGraph()
661 PBQPRAGraph::RawVector NodeCosts(VRegAllowed.size() + 1, 0); in initializeGraph()
669 PBQPRAGraph::NodeId NId = G.addNode(std::move(NodeCosts)); in initializeGraph()
704 bool RegAllocPBQP::mapPBQPToRegAlloc(const PBQPRAGraph &G, in mapPBQPToRegAlloc()
841 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI)); in runOnMachineFunction()
877 static Printable PrintNodeInfo(PBQP::RegAlloc::PBQPRAGraph::NodeId NId, in PrintNodeInfo()
878 const PBQP::RegAlloc::PBQPRAGraph &G) { in PrintNodeInfo()
889 LLVM_DUMP_METHOD void PBQP::RegAlloc::PBQPRAGraph::dump(raw_ostream &OS) const { in dump()
910 LLVM_DUMP_METHOD void PBQP::RegAlloc::PBQPRAGraph::dump() const { in dump()
915 void PBQP::RegAlloc::PBQPRAGraph::printDot(raw_ostream &OS) const { in printDot()