Home | History | Annotate | Download | only in VMCore

Lines Matching defs:replaceAllUsesWith

314 /// replaceAllUsesWith - Replace all uses of debug info referenced by
316 void DIType::replaceAllUsesWith(DIDescriptor &D) {
321 // legitimate situations where they want to replaceAllUsesWith() on something
323 // this detail by allowing a value to be replaced with replaceAllUsesWith()
329 Node->replaceAllUsesWith(const_cast<Value*>(V));
334 /// replaceAllUsesWith - Replace all uses of debug info referenced by
336 void DIType::replaceAllUsesWith(MDNode *D) {
341 // legitimate situations where they want to replaceAllUsesWith() on something
343 // this detail by allowing a value to be replaced with replaceAllUsesWith()
349 Node->replaceAllUsesWith(const_cast<Value*>(V));