llvm::Argument::onlyReadsMemory

Return true if this argument has the readonly or readnone attribute.

Synopsis

Declared in <llvm/IR/Argument.h>

bool
onlyReadsMemory() const;

Return Value

true if this argument has the readonly or readnone attribute.