summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Transforms/Scalar/ConstantProp.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Transforms/Scalar/ConstantProp.h')
-rw-r--r--llvm/include/llvm/Transforms/Scalar/ConstantProp.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar/ConstantProp.h b/llvm/include/llvm/Transforms/Scalar/ConstantProp.h
index 0da13e9fdbd..a093867b32a 100644
--- a/llvm/include/llvm/Transforms/Scalar/ConstantProp.h
+++ b/llvm/include/llvm/Transforms/Scalar/ConstantProp.h
@@ -7,8 +7,6 @@
#ifndef LLVM_TRANSFORMS_SCALAR_CONSTANT_PROPOGATION_H
#define LLVM_TRANSFORMS_SCALAR_CONSTANT_PROPOGATION_H
-#include "llvm/BasicBlock.h"
-class TerminatorInst;
class Pass;
//===----------------------------------------------------------------------===//
@@ -16,20 +14,6 @@ class Pass;
//
Pass *createConstantPropogationPass();
-// doConstantPropogation - Constant prop a specific instruction. Returns true
-// and potentially moves the iterator if constant propogation was performed.
-//
-bool doConstantPropogation(BasicBlock *BB, BasicBlock::iterator &I);
-
-// ConstantFoldTerminator - If a terminator instruction is predicated on a
-// constant value, convert it into an unconditional branch to the constant
-// destination. This is a nontrivial operation because the successors of this
-// basic block must have their PHI nodes updated.
-//
-bool ConstantFoldTerminator(BasicBlock *BB, BasicBlock::iterator &I,
- TerminatorInst *T);
-
-
//===----------------------------------------------------------------------===//
// Sparse Conditional Constant Propogation Pass
//
OpenPOWER on IntegriCloud