From c4a15098296e08f05216a73822145485f2e3e11b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Jan 2004 18:25:44 +0000 Subject: Move prototype of llvm::ConstantFoldInstruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10786 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ConstantHandling.h | 5 ----- lib/VMCore/ConstantFold.h | 5 ----- lib/VMCore/ConstantFolding.h | 5 ----- 3 files changed, 15 deletions(-) diff --git a/include/llvm/ConstantHandling.h b/include/llvm/ConstantHandling.h index 27eed8a7be..3b88699473 100644 --- a/include/llvm/ConstantHandling.h +++ b/include/llvm/ConstantHandling.h @@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1, // Implement higher level instruction folding type instructions //===----------------------------------------------------------------------===// -// ConstantFoldInstruction - Attempt to constant fold the specified instruction. -// If successful, the constant result is returned, if not, null is returned. -// -Constant *ConstantFoldInstruction(Instruction *I); - // Constant fold various types of instruction... Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h index 27eed8a7be..3b88699473 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/VMCore/ConstantFold.h @@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1, // Implement higher level instruction folding type instructions //===----------------------------------------------------------------------===// -// ConstantFoldInstruction - Attempt to constant fold the specified instruction. -// If successful, the constant result is returned, if not, null is returned. -// -Constant *ConstantFoldInstruction(Instruction *I); - // Constant fold various types of instruction... Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h index 27eed8a7be..3b88699473 100644 --- a/lib/VMCore/ConstantFolding.h +++ b/lib/VMCore/ConstantFolding.h @@ -223,11 +223,6 @@ inline ConstantBool *operator<=(const Constant &V1, // Implement higher level instruction folding type instructions //===----------------------------------------------------------------------===// -// ConstantFoldInstruction - Attempt to constant fold the specified instruction. -// If successful, the constant result is returned, if not, null is returned. -// -Constant *ConstantFoldInstruction(Instruction *I); - // Constant fold various types of instruction... Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, -- cgit v1.2.3