llvm::CallBase::doesNotCapture

Return true if data operand OpNo does not capture memory.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

bool
doesNotCapture(unsigned int OpNo) const;

Description

FIXME: Once this API is no longer duplicated in CallSite, rename this to better indicate that this may return a conservative answer.

Return Value

True if the operand is known not to capture.

Parameters

NameDescription
OpNoZero-based data operand index.