Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp166 void initializeGraph(PBQPRAGraph &G, VirtRegMap &VRM, Spiller &VRegSpiller);
175 bool mapPBQPToRegAlloc(const PBQPRAGraph &G,
193 void apply(PBQPRAGraph &G) override { in apply()
207 PBQPRAGraph::RawVector NodeCosts(G.getNodeCosts(NId)); in apply()
219 using IMatrixCache = DenseMap<IKey, PBQPRAGraph::MatrixPtr>;
224 bool haveDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in haveDisjointAllowedRegs()
225 PBQPRAGraph::NodeId MId, in haveDisjointAllowedRegs()
239 void setDisjointAllowedRegs(const PBQPRAGraph &G, PBQPRAGraph::NodeId NId, in setDisjointAllowedRegs()
240 PBQPRAGraph::NodeId MId, in setDisjointAllowedRegs()
305 void apply(PBQPRAGraph &G) override { in apply()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PBQPRegAlloc.cpp158 bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, in addIntraChainConstraint()
173 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint()
174 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint()
176 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRdAllowed = in addIntraChainConstraint()
178 const PBQPRAGraph::NodeMetadata::AllowedRegVector *vRaAllowed = in addIntraChainConstraint()
181 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint()
190 PBQPRAGraph::RawMatrix costs(vRdAllowed->size() + 1, in addIntraChainConstraint()
212 PBQPRAGraph::RawMatrix costs(G.getEdgeCosts(edge)); in addIntraChainConstraint()
242 void A57ChainingConstraint::addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, in addInterChainConstraint()
260 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
[all …]
DAArch64PBQPRegAlloc.h23 void apply(PBQPRAGraph &G) override;
32 bool addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
35 void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DPBQPRAConstraint.h28 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()
DRegAllocPBQP.h500 class PBQPRAGraph : public PBQP::Graph<RegAllocSolverImpl> {
505 PBQPRAGraph(GraphMetadata Metadata) : BaseT(std::move(Metadata)) {} in PBQPRAGraph() function
519 inline Solution solve(PBQPRAGraph& G) { in solve()