Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp176 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
194 void apply(PBQPRAGraph &G) override { in apply()
225 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, 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()
439 void apply(PBQPRAGraph &G) override { in apply()
506 PBQPRAGraph::RawMatrix &CostMat, in addVirtRegCoalesce()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp174 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()
261 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
271 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRdAllowed = in addInterChainConstraint()
278 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint()
[all …]
H A DAArch64PBQPRegAlloc.h24 void apply(PBQPRAGraph &G) override;
33 bool addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
36 void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DPBQPRAConstraint.h29 class PBQPRAGraph; variable
34 using PBQPRAGraph = PBQP::RegAlloc::PBQPRAGraph; variable
41 virtual void apply(PBQPRAGraph &G) = 0;
53 void apply(PBQPRAGraph &G) override { in apply()
H A DRegAllocPBQP.h501 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()