Home | History | Annotate | Download | only in IR

Lines Matching defs:replaceAllUsesWith

330 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
332 void DIType::replaceAllUsesWith(DIDescriptor &D) {
337 // legitimate situations where they want to replaceAllUsesWith() on something
339 // this detail by allowing a value to be replaced with replaceAllUsesWith()
345 Node->replaceAllUsesWith(const_cast<Value*>(V));
350 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
352 void DIType::replaceAllUsesWith(MDNode *D) {
357 // legitimate situations where they want to replaceAllUsesWith() on something
359 // this detail by allowing a value to be replaced with replaceAllUsesWith()
365 Node->replaceAllUsesWith(const_cast<Value*>(V));