Expose the TCE pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-09-20 05:14:13 +00:00
parent 2240d2b3f7
commit 3fc6ef1bb9
2 changed files with 10 additions and 0 deletions

View File

@@ -241,6 +241,13 @@ void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
Pass *createLoopPreheaderInsertionPass();
extern const PassInfo *LoopPreheadersID;
//===----------------------------------------------------------------------===//
//
// This pass eliminates call instructions to the current function which occur
// immediately before return instructions.
//
FunctionPass *createTailCallEliminationPass();
//===----------------------------------------------------------------------===//
// This pass convert malloc and free instructions to %malloc & %free function