llvm::CallBase::isReturnNonNull

Return true if the return value is known non-null.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

bool
isReturnNonNull() const;

Description

Return true if the return value is known to be not null. This may be because it has the nonnull attribute, or because at least one byte is dereferenceable and the pointer is in addrspace(0).

Return Value

True if the return cannot be null.