From: Chris Lattner Date: Sun, 22 Jun 2003 20:10:42 +0000 (+0000) Subject: Add prototype for tail-dup pass X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ee7855dfa0e122e8b714be3fbd78364ee47bec2;p=oota-llvm.git Add prototype for tail-dup pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6847 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index d408bee19fd..8a29079835b 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -175,6 +175,14 @@ Pass *createReassociatePass(); // Pass *createCorrelatedExpressionEliminationPass(); +//===----------------------------------------------------------------------===// +// +// TailDuplication - Eliminate unconditional branches through controlled code +// duplication, creating simpler CFG structures. +// +Pass *createTailDuplicationPass(); + + //===----------------------------------------------------------------------===// // // CFG Simplification - Merge basic blocks, eliminate unreachable blocks, @@ -182,6 +190,7 @@ Pass *createCorrelatedExpressionEliminationPass(); // Pass *createCFGSimplificationPass(); + //===----------------------------------------------------------------------===// // // BreakCriticalEdges pass - Break all of the critical edges in the CFG by