Return true if the constant has exactly one live use.

Synopsis

Declared in <llvm/IR/Constant.h>

bool
hasOneLiveUse() const;

Description

This returns the same result as calling Value::hasOneUse after Constant::removeDeadConstantUsers, but doesn't remove dead constants.

Return Value

True if the constant has exactly one live use.

Created with MrDocs