mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Hopefully, the final fix for `[Pp]ropogate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -15,14 +15,14 @@ class TerminatorInst;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Constant Propogation Pass - A worklist driven constant propogation pass
|
||||
// Constant Propagation Pass - A worklist driven constant propagation pass
|
||||
//
|
||||
Pass *createConstantPropogationPass();
|
||||
Pass *createConstantPropagationPass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Sparse Conditional Constant Propogation Pass
|
||||
// Sparse Conditional Constant Propagation Pass
|
||||
//
|
||||
Pass *createSCCPPass();
|
||||
|
||||
@ -152,7 +152,7 @@ Pass *createPromoteMemoryToRegister();
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This pass reassociates commutative expressions in an order that is designed
|
||||
// to promote better constant propogation, GCSE, LICM, PRE...
|
||||
// to promote better constant propagation, GCSE, LICM, PRE...
|
||||
//
|
||||
// For example: 4 + (x + 5) -> x + (4 + 5)
|
||||
//
|
||||
|
@ -12,13 +12,13 @@
|
||||
class Pass;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Local constant propogation...
|
||||
// Local constant propagation...
|
||||
//
|
||||
|
||||
/// doConstantPropogation - Constant prop a specific instruction. Returns true
|
||||
/// and potentially moves the iterator if constant propogation was performed.
|
||||
/// doConstantPropagation - Constant prop a specific instruction. Returns true
|
||||
/// and potentially moves the iterator if constant propagation was performed.
|
||||
///
|
||||
bool doConstantPropogation(BasicBlock::iterator &I);
|
||||
bool doConstantPropagation(BasicBlock::iterator &I);
|
||||
|
||||
/// ConstantFoldTerminator - If a terminator instruction is predicated on a
|
||||
/// constant value, convert it into an unconditional branch to the constant
|
||||
|
Reference in New Issue
Block a user