Add expr reassociation pass prototype

llvm-svn: 2558
This commit is contained in:
Chris Lattner 2002-05-08 22:19:01 +00:00
parent a2f3b65dec
commit 5fbada2e21
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@ Pass *createInstructionCombiningPass();
Pass *createPromoteMemoryToRegister();
//===----------------------------------------------------------------------===//
//
// This pass reassociates commutative expressions in an order that is designed
// to promote better constant propogation, GCSE, LICM, PRE...
//
// For example: 4 + (x + 5) -> x + (4 + 5)
//
Pass *createReassociatePass();
//===----------------------------------------------------------------------===//
//
// These functions removes symbols from functions and modules.