Lines Matching defs:replaceAllUsesWith
334 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
336 void DIType::replaceAllUsesWith(DIDescriptor &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));
354 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
356 void DIType::replaceAllUsesWith(MDNode *D) {
361 // legitimate situations where they want to replaceAllUsesWith() on something
363 // this detail by allowing a value to be replaced with replaceAllUsesWith()
369 Node->replaceAllUsesWith(const_cast<Value *>(V));