Return true if there is exactly one user of this value.
Declared in <llvm/IR/Value.h>
bool
hasOneUser() const;
Note that this is not the same as "has one use". If a value has one use, then there certainly is a single user. But if value has several uses, it is possible that all uses are in a single user, or not.
This check is potentially costly, since it requires traversing, in the worst case, the whole use list of a value.
True if there is exactly one user.