Add expr reassociation pass prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-08 22:19:01 +00:00
parent 8947fbcb68
commit 540d63cbc7

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.