Lines Matching refs:Rd
159 bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd, in addIntraChainConstraint() argument
161 if (Rd == Ra) in addIntraChainConstraint()
166 if (TRI->isPhysicalRegister(Rd) || TRI->isPhysicalRegister(Ra)) { in addIntraChainConstraint()
167 DEBUG(dbgs() << "Rd is a physical reg:" << TRI->isPhysicalRegister(Rd) in addIntraChainConstraint()
174 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addIntraChainConstraint()
187 const LiveInterval &ld = LIs.getInterval(Rd); in addIntraChainConstraint()
243 void A57ChainingConstraint::addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, in addInterChainConstraint() argument
249 if (Rd != Ra) { in addInterChainConstraint()
251 << PrintReg(Rd, TRI) << '\n';); in addInterChainConstraint()
253 Chains.insert(Rd); in addInterChainConstraint()
256 DEBUG(dbgs() << "Creating new acc chain for " << PrintReg(Rd, TRI) in addInterChainConstraint()
258 Chains.insert(Rd); in addInterChainConstraint()
261 PBQPRAGraph::NodeId node1 = G.getMetadata().getNodeIdForVReg(Rd); in addInterChainConstraint()
263 const LiveInterval &ld = LIs.getInterval(Rd); in addInterChainConstraint()
266 if (r == Rd) in addInterChainConstraint()
363 unsigned Rd = MI.getOperand(0).getReg(); in apply() local
366 if (addIntraChainConstraint(G, Rd, Ra)) in apply()
367 addInterChainConstraint(G, Rd, Ra); in apply()
373 unsigned Rd = MI.getOperand(0).getReg(); in apply() local
374 addInterChainConstraint(G, Rd, Rd); in apply()