projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae925f5
)
add some named accessors for StoreInst
author
Chris Lattner
<sabre@nondot.org>
Sat, 26 Jun 2010 23:26:37 +0000
(23:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 26 Jun 2010 23:26:37 +0000
(23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106969
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instructions.h
b/include/llvm/Instructions.h
index b7b7fce7a5a8ce1468fcae2ef6362de83f4b78b3..6e6a1a6a559d39ecf65e007674bf2b3736baa9d8 100644
(file)
--- 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; }