// already exists there, recursively merge the results together.
AddModifiedNodeToCSEMaps(User, &Listener);
}
-
- // If we just RAUW'd the root, take note.
- if (FromN == getRoot())
- setRoot(To);
}
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
// already exists there, recursively merge the results together.
AddModifiedNodeToCSEMaps(User, &Listener);
}
-
- // If we just RAUW'd the root, take note.
- if (From == getRoot().getNode())
- setRoot(SDValue(To, getRoot().getResNo()));
}
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
// already exists there, recursively merge the results together.
AddModifiedNodeToCSEMaps(User, &Listener);
}
-
- // If we just RAUW'd the root, take note.
- if (From == getRoot().getNode())
- setRoot(SDValue(To[getRoot().getResNo()]));
}
/// ReplaceAllUsesOfValueWith - Replace any uses of From with To, leaving
// already exists there, recursively merge the results together.
AddModifiedNodeToCSEMaps(User, &Listener);
}
-
- // If we just RAUW'd the root, take note.
- if (From == getRoot())
- setRoot(To);
}
namespace {