[llvm-commits] CVS: llvm/include/llvm/Constants.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 14 12:37:13 PDT 2006
Changes in directory llvm/include/llvm:
Constants.h updated: 1.83 -> 1.84
---
Log message:
Add a new method for bugpoint to use.
---
Diffs of the changes: (+5 -0)
Constants.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.83 llvm/include/llvm/Constants.h:1.84
--- llvm/include/llvm/Constants.h:1.83 Tue May 30 13:15:07 2006
+++ llvm/include/llvm/Constants.h Fri Jul 14 14:37:01 2006
@@ -614,6 +614,11 @@
/// 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);
More information about the llvm-commits
mailing list