Simplify the interface to local dce and constprop

llvm-svn: 2750
This commit is contained in:
Chris Lattner 2002-05-26 20:18:35 +00:00
parent ab038d44b0
commit 6457590f1b
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
// 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);
bool doConstantPropogation(BasicBlock::iterator &I);
// ConstantFoldTerminator - If a terminator instruction is predicated on a
// constant value, convert it into an unconditional branch to the constant
@ -42,7 +42,7 @@ bool isInstructionTriviallyDead(Instruction *I);
// isTriviallyDead. If so, remove the instruction and update the iterator to
// point to the instruction that immediately succeeded the original instruction.
//
bool dceInstruction(BasicBlock::InstListType &BBIL, BasicBlock::iterator &BBI);
bool dceInstruction(BasicBlock::iterator &BBI);
//===----------------------------------------------------------------------===//