add some named accessors for StoreInst

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-06-26 23:26:37 +00:00
parent ae925f5c1e
commit 41c9c0ea32

View File

@ -235,6 +235,9 @@ public:
void setAlignment(unsigned Align);
Value *getValueOperand() { return getOperand(0); }
const Value *getValueOperand() const { return getOperand(0); }
Value *getPointerOperand() { return getOperand(1); }
const Value *getPointerOperand() const { return getOperand(1); }
static unsigned getPointerOperandIndex() { return 1U; }