Loads "mayWriteToMemory" if they are volatile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8422
91177308-0d34-0410-b5e6-
96231b3b80d8
virtual Instruction *clone() const { return new LoadInst(*this); }
+ virtual bool mayWriteToMemory() const { return isVolatile(); }
+
Value *getPointerOperand() { return getOperand(0); }
const Value *getPointerOperand() const { return getOperand(0); }
static unsigned getPointerOperandIndex() { return 0U; }