llvm::CallBase::doesNotAccessMemory

doesNotAccessMemory overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Return true if this call does not access memory.

bool
doesNotAccessMemory() const;
» more...

Return true if data operand OpNo is known not to access memory.

bool
doesNotAccessMemory(unsigned int OpNo) const;
» more...

Return Value

  • True if the call has readnone semantics.
  • True if the operand has readnone semantics.

Parameters

NameDescription
OpNoZero-based data operand index.