Return true if there is exactly one use of this value.

Synopsis

Declared in <llvm/IR/Value.h>

bool
hasOneUse() const;

Description

This is specialized because it is a common request and does not require traversing the whole use list.

Return Value

true if there is exactly one use of this value.

Created with MrDocs