add some named accessors for StoreInst

llvm-svn: 106969
This commit is contained in:
Chris Lattner 2010-06-26 23:26:37 +00:00
parent 8e17fa098e
commit 0875802d0f
1 changed files with 3 additions and 0 deletions

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; }