Return true if this argument has the readonly or readnone attribute.
Declared in <llvm/IR/Argument.h>
<llvm/IR/Argument.h>
bool onlyReadsMemory() const;
true if this argument has the readonly or readnone attribute.