[llvm-commits] CVS: llvm/lib/Transforms/IPO/ConstantMerge.cpp DeadArgumentElimination.cpp DeadTypeElimination.cpp ExtractFunction.cpp FunctionResolution.cpp GlobalDCE.cpp InlineSimple.cpp Inliner.cpp Internalize.cpp LowerSetJmp.cpp MutateStructTypes.cpp Parallelize.cpp PruneEH.cpp RaiseAllocations.cpp SimpleStructMutation.cpp
John Criswell
criswell at cs.uiuc.edu
Mon Oct 20 14:44:23 PDT 2003
Changes in directory llvm/lib/Transforms/IPO:
ConstantMerge.cpp updated: 1.20 -> 1.21
DeadArgumentElimination.cpp updated: 1.6 -> 1.7
DeadTypeElimination.cpp updated: 1.44 -> 1.45
ExtractFunction.cpp updated: 1.3 -> 1.4
FunctionResolution.cpp updated: 1.36 -> 1.37
GlobalDCE.cpp updated: 1.28 -> 1.29
InlineSimple.cpp updated: 1.55 -> 1.56
Inliner.cpp updated: 1.1 -> 1.2
Internalize.cpp updated: 1.18 -> 1.19
LowerSetJmp.cpp updated: 1.8 -> 1.9
MutateStructTypes.cpp updated: 1.41 -> 1.42
Parallelize.cpp updated: 1.9 -> 1.10
PruneEH.cpp updated: 1.4 -> 1.5
RaiseAllocations.cpp updated: 1.18 -> 1.19
SimpleStructMutation.cpp updated: 1.21 -> 1.22
---
Log message:
Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.
---
Diffs of the changes: (+105 -0)
Index: llvm/lib/Transforms/IPO/ConstantMerge.cpp
diff -u llvm/lib/Transforms/IPO/ConstantMerge.cpp:1.20 llvm/lib/Transforms/IPO/ConstantMerge.cpp:1.21
--- llvm/lib/Transforms/IPO/ConstantMerge.cpp:1.20 Wed Sep 10 00:29:00 2003
+++ llvm/lib/Transforms/IPO/ConstantMerge.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===- ConstantMerge.cpp - Merge duplicate global constants ---------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file defines the interface to a pass that merges duplicate global
// constants together into a single constant that is shared. This is useful
Index: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
diff -u llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.6 llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.7
--- llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.6 Fri Oct 10 12:48:12 2003
+++ llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===-- DeadArgumentElimination.cpp - Eliminate dead arguments ------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This pass deletes dead arguments from internal functions. Dead argument
// elimination removes arguments which are directly dead, as well as arguments
Index: llvm/lib/Transforms/IPO/DeadTypeElimination.cpp
diff -u llvm/lib/Transforms/IPO/DeadTypeElimination.cpp:1.44 llvm/lib/Transforms/IPO/DeadTypeElimination.cpp:1.45
--- llvm/lib/Transforms/IPO/DeadTypeElimination.cpp:1.44 Thu May 22 17:00:04 2003
+++ llvm/lib/Transforms/IPO/DeadTypeElimination.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===- DeadTypeElimination.cpp - Eliminate unused types for symbol table --===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This pass is used to cleanup the output of GCC. It eliminate names for types
// that are unused in the entire translation unit, using the FindUsedTypes pass.
Index: llvm/lib/Transforms/IPO/ExtractFunction.cpp
diff -u llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.3 llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.4
--- llvm/lib/Transforms/IPO/ExtractFunction.cpp:1.3 Fri Oct 10 12:48:12 2003
+++ llvm/lib/Transforms/IPO/ExtractFunction.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
#include "llvm/Transforms/IPO.h"
#include "llvm/Pass.h"
#include "llvm/Module.h"
Index: llvm/lib/Transforms/IPO/FunctionResolution.cpp
diff -u llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.36 llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.37
--- llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.36 Sat Aug 23 15:03:05 2003
+++ llvm/lib/Transforms/IPO/FunctionResolution.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===- FunctionResolution.cpp - Resolve declarations to implementations ---===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// Loop over the functions that are in the module and look for functions that
// have the same name. More often than not, there will be things like:
Index: llvm/lib/Transforms/IPO/GlobalDCE.cpp
diff -u llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.28 llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.29
--- llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.28 Sat Sep 20 14:00:50 2003
+++ llvm/lib/Transforms/IPO/GlobalDCE.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===-- GlobalDCE.cpp - DCE unreachable internal functions ----------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This transform is designed to eliminate unreachable internal globals from the
// program. It uses an aggressive algorithm, searching out globals that are
Index: llvm/lib/Transforms/IPO/InlineSimple.cpp
diff -u llvm/lib/Transforms/IPO/InlineSimple.cpp:1.55 llvm/lib/Transforms/IPO/InlineSimple.cpp:1.56
--- llvm/lib/Transforms/IPO/InlineSimple.cpp:1.55 Mon Oct 20 00:54:26 2003
+++ llvm/lib/Transforms/IPO/InlineSimple.cpp Mon Oct 20 14:43:18 2003
@@ -1,4 +1,11 @@
//===- InlineSimple.cpp - Code to perform simple function inlining --------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file implements bottom-up inlining of functions into callees.
//
Index: llvm/lib/Transforms/IPO/Inliner.cpp
diff -u llvm/lib/Transforms/IPO/Inliner.cpp:1.1 llvm/lib/Transforms/IPO/Inliner.cpp:1.2
--- llvm/lib/Transforms/IPO/Inliner.cpp:1.1 Sun Aug 31 14:10:30 2003
+++ llvm/lib/Transforms/IPO/Inliner.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- InlineCommon.cpp - Code common to all inliners ---------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file implements the code shared between the LLVM inliners. This
// implements all of the boring mechanics of the bottom-up inlining.
Index: llvm/lib/Transforms/IPO/Internalize.cpp
diff -u llvm/lib/Transforms/IPO/Internalize.cpp:1.18 llvm/lib/Transforms/IPO/Internalize.cpp:1.19
--- llvm/lib/Transforms/IPO/Internalize.cpp:1.18 Fri Aug 1 17:15:01 2003
+++ llvm/lib/Transforms/IPO/Internalize.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===-- Internalize.cpp - Mark functions internal -------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This pass loops over all of the functions in the input module, looking for a
// main function. If a main function is found, all other functions and all
Index: llvm/lib/Transforms/IPO/LowerSetJmp.cpp
diff -u llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.8 llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.9
--- llvm/lib/Transforms/IPO/LowerSetJmp.cpp:1.8 Mon Oct 13 11:49:21 2003
+++ llvm/lib/Transforms/IPO/LowerSetJmp.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- LowerSetJmp.cpp - Code pertaining to lowering set/long jumps -------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file implements the lowering of setjmp and longjmp to use the
// LLVM invoke and unwind instructions as necessary.
Index: llvm/lib/Transforms/IPO/MutateStructTypes.cpp
diff -u llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.41 llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.42
--- llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.41 Sun Oct 19 16:34:28 2003
+++ llvm/lib/Transforms/IPO/MutateStructTypes.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- MutateStructTypes.cpp - Change struct defns ------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This pass is used to change structure accesses and type definitions in some
// way. It can be used to arbitrarily permute structure fields, safely, without
Index: llvm/lib/Transforms/IPO/Parallelize.cpp
diff -u llvm/lib/Transforms/IPO/Parallelize.cpp:1.9 llvm/lib/Transforms/IPO/Parallelize.cpp:1.10
--- llvm/lib/Transforms/IPO/Parallelize.cpp:1.9 Fri Oct 10 12:48:12 2003
+++ llvm/lib/Transforms/IPO/Parallelize.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- Parallelize.cpp - Auto parallelization using DS Graphs -------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file implements a pass that automatically parallelizes a program,
// using the Cilk multi-threaded runtime system to execute parallel code.
Index: llvm/lib/Transforms/IPO/PruneEH.cpp
diff -u llvm/lib/Transforms/IPO/PruneEH.cpp:1.4 llvm/lib/Transforms/IPO/PruneEH.cpp:1.5
--- llvm/lib/Transforms/IPO/PruneEH.cpp:1.4 Sun Sep 14 21:22:50 2003
+++ llvm/lib/Transforms/IPO/PruneEH.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- PruneEH.cpp - Pass which deletes unused exception handlers ---------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file implements a simple interprocedural pass which walks the
// call-graph, turning invoke instructions into calls, iff the callee cannot
Index: llvm/lib/Transforms/IPO/RaiseAllocations.cpp
diff -u llvm/lib/Transforms/IPO/RaiseAllocations.cpp:1.18 llvm/lib/Transforms/IPO/RaiseAllocations.cpp:1.19
--- llvm/lib/Transforms/IPO/RaiseAllocations.cpp:1.18 Tue Sep 16 14:42:21 2003
+++ llvm/lib/Transforms/IPO/RaiseAllocations.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- RaiseAllocations.cpp - Convert %malloc & %free calls to insts ------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file defines the RaiseAllocations pass which convert malloc and free
// calls to malloc and free instructions.
Index: llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
diff -u llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.21 llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.22
--- llvm/lib/Transforms/IPO/SimpleStructMutation.cpp:1.21 Sun Oct 12 22:32:08 2003
+++ llvm/lib/Transforms/IPO/SimpleStructMutation.cpp Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
//===- SimpleStructMutation.cpp - Swap structure elements around ----------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This pass does a simple transformation that swaps all of the elements of the
// struct types in the program around.
More information about the llvm-commits
mailing list