Drop all references to operands.

Synopsis

Declared in <llvm/IR/User.h>

void
dropAllReferences();

Description

This function is in charge of "letting go" of all objects that this User refers to. This allows one to 'delete' a whole class at a time, even though there may be circular references... First all references are dropped, and all use counts go to zero. Then everything is deleted for real. Note that no operations are valid on an object that has "dropped all references", except operator delete.

Created with MrDocs