diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-26 20:18:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-26 20:18:35 +0000 |
commit | a338016c7cba2c9cd9d6ecb4c57cedae22ff37e4 (patch) | |
tree | deb979ab825066f6a82ffc6af97be08f675128e4 /include/llvm/Transforms | |
parent | 16da494c81a09ea4273e7f3e7ad12eec68b05468 (diff) | |
download | external_llvm-a338016c7cba2c9cd9d6ecb4c57cedae22ff37e4.zip external_llvm-a338016c7cba2c9cd9d6ecb4c57cedae22ff37e4.tar.gz external_llvm-a338016c7cba2c9cd9d6ecb4c57cedae22ff37e4.tar.bz2 |
Simplify the interface to local dce and constprop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Utils/Local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index ed8bbdf..69bb5a66 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -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); //===----------------------------------------------------------------------===// |