add a new method

llvm-svn: 26268
This commit is contained in:
Chris Lattner 2006-02-17 21:57:00 +00:00
parent 8d0e47a017
commit 4a717bbbfb
1 changed files with 7 additions and 0 deletions

View File

@ -408,6 +408,13 @@ public:
void ReplaceAllUsesWith(SDNode *From, const std::vector<SDOperand> &To,
std::vector<SDNode*> *Deleted = 0);
/// ReplaceAllUsesOfValueWith - Replace any uses of From with To, leaving
/// uses of other values produced by From.Val alone. The Deleted vector is
/// handled the same was as for ReplaceAllUsesWith, but it is required for
/// this method.
void ReplaceAllUsesOfValueWith(SDOperand From, SDOperand To,
std::vector<SDNode*> &Deleted);
/// DeleteNode - Remove the specified node from the system. This node must
/// have no referrers.
void DeleteNode(SDNode *N);