aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-12 18:25:44 +0000
committerChris Lattner <sabre@nondot.org>2004-01-12 18:25:44 +0000
commitc4a15098296e08f05216a73822145485f2e3e11b (patch)
tree2b8c1054f6f1f53e432e854b3ccc39d860a4f4c1 /lib/VMCore
parent8f90b005d6649bca12b8016f35b31f2826799499 (diff)
downloadexternal_llvm-c4a15098296e08f05216a73822145485f2e3e11b.zip
external_llvm-c4a15098296e08f05216a73822145485f2e3e11b.tar.gz
external_llvm-c4a15098296e08f05216a73822145485f2e3e11b.tar.bz2
Move prototype of llvm::ConstantFoldInstruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/ConstantFold.h5
-rw-r--r--lib/VMCore/ConstantFolding.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index 27eed8a..3b88699 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 27eed8a..3b88699 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,