diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-26 23:26:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-26 23:26:37 +0000 |
commit | 41c9c0ea32751d71f026acedd1241432b37dcc8e (patch) | |
tree | 7b21ee73281ecc446614cbbf76b9b4fc56759bd7 /include | |
parent | ae925f5c1eb494785e1d96d2f36d94136186524d (diff) | |
download | external_llvm-41c9c0ea32751d71f026acedd1241432b37dcc8e.zip external_llvm-41c9c0ea32751d71f026acedd1241432b37dcc8e.tar.gz external_llvm-41c9c0ea32751d71f026acedd1241432b37dcc8e.tar.bz2 |
add some named accessors for StoreInst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Instructions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index b7b7fce..6e6a1a6 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -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; } |