1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add a new method for bugpoint to use.

llvm-svn: 29142
This commit is contained in:
Chris Lattner 2006-07-14 19:37:01 +00:00
parent 715e6d06e6
commit b78b91260b

View File

@ -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);