[llvm-commits] [parallel] CVS: llvm/include/llvm/Transforms/IPO.h Scalar.h

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 17:59:54 PST 2004


Changes in directory llvm/include/llvm/Transforms:

IPO.h updated: 1.26 -> 1.26.2.1
Scalar.h updated: 1.31 -> 1.31.4.1

---
Log message:

Merge from trunk

---
Diffs of the changes:  (+17 -3)

Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.26 llvm/include/llvm/Transforms/IPO.h:1.26.2.1
--- llvm/include/llvm/Transforms/IPO.h:1.26	Tue Dec 16 15:55:45 2003
+++ llvm/include/llvm/Transforms/IPO.h	Mon Mar  1 17:57:19 2004
@@ -38,6 +38,13 @@
 
 
 //===----------------------------------------------------------------------===//
+// createGlobalConstifierPass - This function returns a new pass that marks
+// internal globals "constant" if they are provably never written to.
+//
+Pass *createGlobalConstifierPass();
+
+
+//===----------------------------------------------------------------------===//
 // createRaiseAllocationsPass - Return a new pass that transforms malloc and
 // free function calls into malloc and free instructions.
 //


Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.31 llvm/include/llvm/Transforms/Scalar.h:1.31.4.1
--- llvm/include/llvm/Transforms/Scalar.h:1.31	Tue Nov 11 16:41:31 2003
+++ llvm/include/llvm/Transforms/Scalar.h	Mon Mar  1 17:57:19 2004
@@ -117,7 +117,7 @@
 //===----------------------------------------------------------------------===//
 //
 // InstructionCombining - Combine instructions to form fewer, simple
-//   instructions.  This pass does not modify the CFG, and has a tendancy to
+//   instructions.  This pass does not modify the CFG, and has a tendency to
 //   make instructions dead, so a subsequent DCE pass is useful.
 //
 // This pass combines things like:
@@ -139,6 +139,14 @@
 
 //===----------------------------------------------------------------------===//
 //
+// LoopExtractor - This pass moves every natural loop into its own function.
+// Mostly useful in debugging via bugpoint.
+//
+FunctionPass *createLoopExtractorPass();
+
+
+//===----------------------------------------------------------------------===//
+//
 // PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks
 // that are preceeded by a conditional branch, where the branch gives
 // information about the operands of the condition.  For example, this C code:
@@ -260,8 +268,7 @@
 // into calls to abort().
 //
 FunctionPass *createLowerInvokePass();
-
-
+extern const PassInfo *LowerInvokePassID;
 
 //===----------------------------------------------------------------------===//
 //





More information about the llvm-commits mailing list