Searched refs:PBQPRAGraph (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocPBQP.cpp | 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | PBQPRAConstraint.h | 28 class PBQPRAGraph; variable 33 using PBQPRAGraph = PBQP::RegAlloc::PBQPRAGraph; variable 40 virtual void apply(PBQPRAGraph &G) = 0; 52 void apply(PBQPRAGraph &G) override { in apply()
|
H A D | RegAllocPBQP.h | 501 class PBQPRAGraph : public PBQP::Graph<RegAllocSolverImpl> { 506 PBQPRAGraph(GraphMetadata Metadata) : BaseT(std::move(Metadata)) {} in PBQPRAGraph() function 520 inline Solution solve(PBQPRAGraph& G) { in solve()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64PBQPRegAlloc.cpp | 153 bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, in addIntraChainConstraint() 168 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint() 169 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint() 171 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRdAllowed = in addIntraChainConstraint() 173 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRaAllowed = in addIntraChainConstraint() 176 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 185 PBQPRAGraph::RawMatrix costs(vRdAllowed->size() + 1, in addIntraChainConstraint() 207 PBQPRAGraph::RawMatrix costs(G.getEdgeCosts(edge)); in addIntraChainConstraint() 237 void A57ChainingConstraint::addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, in addInterChainConstraint() 255 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint() [all …]
|
H A D | AArch64PBQPRegAlloc.h | 23 void apply(PBQPRAGraph &G) override; 32 bool addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra); 35 void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
|