[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h Scalar.h
John Criswell
criswell at choi.cs.uiuc.edu
Thu Jun 26 16:42:32 PDT 2003
Changes in directory llvm/include/llvm/Transforms:
IPO.h updated: 1.16 -> 1.16.2.1
Scalar.h updated: 1.17 -> 1.17.2.1
---
Log message:
Merged with mainline on Thursday, June 26, 2003.
Kept includes of "Config/assert.h" to avoid implicit dependencies on header
files.
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/IPO.h
diff -u llvm/include/llvm/Transforms/IPO.h:1.16 llvm/include/llvm/Transforms/IPO.h:1.16.2.1
--- llvm/include/llvm/Transforms/IPO.h:1.16 Mon Feb 3 13:08:33 2003
+++ llvm/include/llvm/Transforms/IPO.h Thu Jun 26 16:34:55 2003
@@ -68,6 +68,15 @@
//
Pass *createInternalizePass();
+//===----------------------------------------------------------------------===//
+// createDeadArgEliminationPass - This pass removes arguments from functions
+// which are not used by the body of the function. If
+// DeleteFromExternalFunctions is true, the pass will modify functions that have
+// external linkage, which is not usually safe (this is used by bugpoint to
+// reduce testcases).
+//
+Pass *createDeadArgEliminationPass(bool DeleteFromExternalFunctions=false);
+
//===----------------------------------------------------------------------===//
// These passes are wrappers that can do a few simple structure mutation
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.17 llvm/include/llvm/Transforms/Scalar.h:1.17.2.1
--- llvm/include/llvm/Transforms/Scalar.h:1.17 Tue May 27 10:52:45 2003
+++ llvm/include/llvm/Transforms/Scalar.h Thu Jun 26 16:34:55 2003
@@ -177,10 +177,19 @@
//===----------------------------------------------------------------------===//
//
+// TailDuplication - Eliminate unconditional branches through controlled code
+// duplication, creating simpler CFG structures.
+//
+Pass *createTailDuplicationPass();
+
+
+//===----------------------------------------------------------------------===//
+//
// CFG Simplification - Merge basic blocks, eliminate unreachable blocks,
// simplify terminator instructions, etc...
//
Pass *createCFGSimplificationPass();
+
//===----------------------------------------------------------------------===//
//
More information about the llvm-commits
mailing list