[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h LinkAllPasses.h Scalar.h
Jeff Cohen
jeffc at jolt-lang.org
Sat Jan 8 09:21:51 PST 2005
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.39 -> 1.40
LinkAllPasses.h updated: 1.9 -> 1.10
Scalar.h updated: 1.50 -> 1.51
---
Log message:
Add more missing createXxxPass functions.
---
Diffs of the changes: (+21 -1)
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.39 llvm/include/llvm/Transforms/IPO.h:1.40
--- llvm/include/llvm/Transforms/IPO.h:1.39 Fri Dec 10 01:55:01 2004
+++ llvm/include/llvm/Transforms/IPO.h Sat Jan 8 11:21:39 2005
@@ -147,6 +147,11 @@
//===----------------------------------------------------------------------===//
//
+/// createLoopExtractorPass - This pass extracts all natural loops from the
+/// program into a function if it can.
+///
+ModulePass *createLoopExtractorPass();
+
/// createSingleLoopExtractorPass - This pass extracts one natural loop from the
/// program into a function if it can. This is used by bugpoint.
///
Index: llvm/include/llvm/Transforms/LinkAllPasses.h
diff -u llvm/include/llvm/Transforms/LinkAllPasses.h:1.9 llvm/include/llvm/Transforms/LinkAllPasses.h:1.10
--- llvm/include/llvm/Transforms/LinkAllPasses.h:1.9 Fri Jan 7 01:46:40 2005
+++ llvm/include/llvm/Transforms/LinkAllPasses.h Sat Jan 8 11:21:39 2005
@@ -42,6 +42,7 @@
(void) llvm::createAggressiveDCEPass();
(void) llvm::createArgumentPromotionPass();
+ (void) llvm::createBlockPlacementPass();
(void) llvm::createBlockProfilerPass();
(void) llvm::createBreakCriticalEdgesPass();
(void) llvm::createCFGSimplificationPass();
@@ -68,6 +69,7 @@
(void) llvm::createInstructionCombiningPass();
(void) llvm::createInternalizePass();
(void) llvm::createLICMPass();
+ (void) llvm::createLoopExtractorPass();
(void) llvm::createLoopInstrumentationPass();
(void) llvm::createLoopSimplifyPass();
(void) llvm::createLoopStrengthReducePass();
@@ -78,8 +80,10 @@
(void) llvm::createLowerGCPass();
(void) llvm::createLowerInvokePass();
(void) llvm::createLowerPackedPass();
+ (void) llvm::createLowerSelectPass();
(void) llvm::createLowerSetJmpPass();
(void) llvm::createLowerSwitchPass();
+ (void) llvm::createPREPass();
(void) llvm::createProfilePathsPass();
(void) llvm::createPromoteMemoryToRegister();
(void) llvm::createPruneEHPass();
@@ -89,11 +93,13 @@
(void) llvm::createSCCPPass();
(void) llvm::createScalarReplAggregatesPass();
(void) llvm::createSingleLoopExtractorPass();
+ (void) llvm::createStripSymbolsPass();
(void) llvm::createTailCallEliminationPass();
(void) llvm::createTailDuplicationPass();
(void) llvm::createTraceBasicBlockPass();
(void) llvm::createTraceValuesPassForBasicBlocks();
(void) llvm::createTraceValuesPassForFunction();
+ (void) llvm::createUnifyFunctionExitNodesPass();
}
} X;
};
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.50 llvm/include/llvm/Transforms/Scalar.h:1.51
--- llvm/include/llvm/Transforms/Scalar.h:1.50 Thu Dec 2 15:24:19 2004
+++ llvm/include/llvm/Transforms/Scalar.h Sat Jan 8 11:21:39 2005
@@ -275,7 +275,16 @@
// Returns a pass which converts all instances of ConstantExpression
// into regular LLVM instructions.
FunctionPass* createLowerConstantExpressionsPass();
-
+
+//===----------------------------------------------------------------------===//
+// This pass reorders basic blocks in order to increase the number of fall-
+// through conditional branches.
+FunctionPass *createBlockPlacementPass();
+
+//===----------------------------------------------------------------------===//
+// This pass does partial redundancy elimination.
+FunctionPass *createPREPass();
+
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list