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:
c1be492
)
Add a new method for bugpoint to use.
author
Chris Lattner
<sabre@nondot.org>
Fri, 14 Jul 2006 19:37:01 +0000
(19:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 14 Jul 2006 19:37:01 +0000
(19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29142
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index cce4d49d1fbaf7fea9c330d1a7fb456c9fc2395e..7a1b493c194813f33bfd53f36698c754197e5578 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-614,6
+614,11
@@
public:
/// getOpcodeName - Return a string representation for an opcode.
const char *getOpcodeName() const;
+ /// getWithOperandReplaced - Return a constant expression identical to this
+ /// one, but with the specified operand set to the specified value.
+ Constant *getWithOperandReplaced(unsigned OpNo, Constant *Op) const;
+
+
virtual void destroyConstant();
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U);