Searched refs:PBQPRAGraph (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegAllocPBQP.cpp | 162 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller); 171 bool mapPBQPToRegAlloc(const PBQPRAGraph &G, 189 void apply(PBQPRAGraph &G) override { in apply() 203 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply() 215 using IMatrixCache = DenseMap<IKey, PBQPRAGraph::MatrixPtr>; 220 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs() 221 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs() 235 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs() 236 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs() 301 void apply(PBQPRAGraph &G) override { in apply() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | PBQPRAConstraint.h | 29 class PBQPRAGraph; variable 34 using PBQPRAGraph = PBQP::RegAlloc::PBQPRAGraph; variable 41 virtual void apply(PBQPRAGraph &G) = 0; 58 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 | 151 bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, in addIntraChainConstraint() 166 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint() 167 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint() 169 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRdAllowed = in addIntraChainConstraint() 171 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRaAllowed = in addIntraChainConstraint() 174 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint() 183 PBQPRAGraph::RawMatrix costs(vRdAllowed->size() + 1, in addIntraChainConstraint() 205 PBQPRAGraph::RawMatrix costs(G.getEdgeCosts(edge)); in addIntraChainConstraint() 235 void A57ChainingConstraint::addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, in addInterChainConstraint() 253 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);
|