Home
last modified time | relevance | path

Searched refs:PBQPRAGraph (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp130 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
139 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
156 void apply(PBQPRAGraph &G) override { in apply()
170 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply()
183 typedef DenseMap<IKey, PBQPRAGraph::MatrixPtr> IMatrixCache;
188 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
189 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
203 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
204 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
270 void apply(PBQPRAGraph &G) override { in apply()
[all …]
/external/llvm/include/llvm/CodeGen/
DPBQPRAConstraint.h26 class PBQPRAGraph; variable
35 typedef PBQP::RegAlloc::PBQPRAGraph PBQPRAGraph; typedef
42 virtual void apply(PBQPRAGraph &G) = 0;
53 void apply(PBQPRAGraph &G) override { in apply()
DRegAllocPBQP.h564 class PBQPRAGraph : public PBQP::Graph<RegAllocSolverImpl> {
568 PBQPRAGraph(GraphMetadata Metadata) : BaseT(Metadata) {} in PBQPRAGraph() function
582 inline Solution solve(PBQPRAGraph& G) { in solve()
/external/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp159 bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, in addIntraChainConstraint()
174 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint()
175 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint()
177 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRdAllowed = in addIntraChainConstraint()
179 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRaAllowed = in addIntraChainConstraint()
182 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint()
191 PBQPRAGraph::RawMatrix costs(vRdAllowed->size() + 1, in addIntraChainConstraint()
213 PBQPRAGraph::RawMatrix costs(G.getEdgeCosts(edge)); in addIntraChainConstraint()
243 void A57ChainingConstraint::addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, in addInterChainConstraint()
261 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
[all …]
DAArch64PBQPRegAlloc.h22 void apply(PBQPRAGraph &G) override;
31 bool addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
34 void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);