Lines Matching defs:Old
206 void ReplaceNode(SDNode *Old, SDNode *New) {
207 LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
210 assert(Old->getNumValues() == New->getNumValues() &&
213 DAG.ReplaceAllUsesWith(Old, New);
216 ReplacedNode(Old);
219 void ReplaceNode(SDValue Old, SDValue New) {
220 LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
223 DAG.ReplaceAllUsesWith(Old, New);
226 ReplacedNode(Old.getNode());
229 void ReplaceNode(SDNode *Old, const SDValue *New) {
230 LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG));
232 DAG.ReplaceAllUsesWith(Old, New);
233 for (unsigned i = 0, e = Old->getNumValues(); i != e; ++i) {
239 ReplacedNode(Old);
242 void ReplaceNodeWithValue(SDValue Old, SDValue New) {
243 LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
246 DAG.ReplaceAllUsesOfValueWith(Old, New);
249 ReplacedNode(Old.getNode());
4358 // Tmp1 = Tmp1 - (sizeinbits(NVT) - sizeinbits(Old VT))