mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
Add another helper method.
llvm-svn: 29147
This commit is contained in:
parent
1e93371212
commit
cff735d69e
@ -618,6 +618,10 @@ public:
|
||||
/// one, but with the specified operand set to the specified value.
|
||||
Constant *getWithOperandReplaced(unsigned OpNo, Constant *Op) const;
|
||||
|
||||
/// getWithOperands - This returns the current constant expression with the
|
||||
/// operands replaced with the specified values. The specified operands must
|
||||
/// match count and type with the existing ones.
|
||||
Constant *getWithOperands(const std::vector<Constant*> &Ops) const;
|
||||
|
||||
virtual void destroyConstant();
|
||||
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U);
|
||||
|
Loading…
x
Reference in New Issue
Block a user