diff options
Diffstat (limited to 'llvm/lib/VMCore/ConstantFolding.h')
-rw-r--r-- | llvm/lib/VMCore/ConstantFolding.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/ConstantFolding.h b/llvm/lib/VMCore/ConstantFolding.h index 5119aaf3f7e..2824979cf44 100644 --- a/llvm/lib/VMCore/ConstantFolding.h +++ b/llvm/lib/VMCore/ConstantFolding.h @@ -27,7 +27,11 @@ namespace llvm { class Type; // Constant fold various types of instruction... - Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy); + Constant *ConstantFoldCastInstruction( + unsigned opcode, ///< The opcode of the cast + const Constant *V, ///< The source constant + const Type *DestTy ///< The destination type + ); Constant *ConstantFoldSelectInstruction(const Constant *Cond, const Constant *V1, const Constant *V2); |