[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp ConstantProp.cpp CorrelatedExprs.cpp DCE.cpp DecomposeMultiDimRefs.cpp GCSE.cpp IndVarSimplify.cpp InstructionCombining.cpp LICM.cpp LoopSimplify.cpp LowerAllocations.cpp LowerInvoke.cpp LowerSwitch.cpp Mem2Reg.cpp PRE.cpp PiNodeInsertion.cpp Reassociate.cpp SCCP.cpp ScalarReplAggregates.cpp SimplifyCFG.cpp SymbolStripping.cpp TailDuplication.cpp TailRecursionElimination.cpp

John Criswell criswell at cs.uiuc.edu
Mon Oct 20 14:44:20 PDT 2003


Changes in directory llvm/lib/Transforms/Scalar:

ADCE.cpp updated: 1.63 -> 1.64
ConstantProp.cpp updated: 1.41 -> 1.42
CorrelatedExprs.cpp updated: 1.16 -> 1.17
DCE.cpp updated: 1.48 -> 1.49
DecomposeMultiDimRefs.cpp updated: 1.28 -> 1.29
GCSE.cpp updated: 1.29 -> 1.30
IndVarSimplify.cpp updated: 1.40 -> 1.41
InstructionCombining.cpp updated: 1.130 -> 1.131
LICM.cpp updated: 1.38 -> 1.39
LoopSimplify.cpp updated: 1.22 -> 1.23
LowerAllocations.cpp updated: 1.40 -> 1.41
LowerInvoke.cpp updated: 1.1 -> 1.2
LowerSwitch.cpp updated: 1.5 -> 1.6
Mem2Reg.cpp updated: 1.6 -> 1.7
PRE.cpp updated: 1.5 -> 1.6
PiNodeInsertion.cpp updated: 1.12 -> 1.13
Reassociate.cpp updated: 1.26 -> 1.27
SCCP.cpp updated: 1.80 -> 1.81
ScalarReplAggregates.cpp updated: 1.15 -> 1.16
SimplifyCFG.cpp updated: 1.7 -> 1.8
SymbolStripping.cpp updated: 1.21 -> 1.22
TailDuplication.cpp updated: 1.8 -> 1.9
TailRecursionElimination.cpp updated: 1.4 -> 1.5

---
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:  (+161 -0)

Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.63 llvm/lib/Transforms/Scalar/ADCE.cpp:1.64
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.63	Fri Oct 10 12:50:50 2003
+++ llvm/lib/Transforms/Scalar/ADCE.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- ADCE.cpp - Code to perform aggressive dead code elimination --------===//
+// 
+//                     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 "aggressive" dead code elimination.  ADCE is DCe where
 // values are assumed to be dead until proven otherwise.  This is similar to 


Index: llvm/lib/Transforms/Scalar/ConstantProp.cpp
diff -u llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.41 llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.42
--- llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.41	Tue May 20 16:01:16 2003
+++ llvm/lib/Transforms/Scalar/ConstantProp.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- ConstantProp.cpp - Code to perform Simple Constant Propagation -----===//
+// 
+//                     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 constant propagation and merging:
 //


Index: llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
diff -u llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.16 llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.17
--- llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.16	Wed Oct 15 11:48:29 2003
+++ llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- CorrelatedExprs.cpp - Pass to detect and eliminated c.e.'s ---------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // Correlated Expression Elimination propagates information from conditional
 // branches to blocks dominated by destinations of the branch.  It propagates


Index: llvm/lib/Transforms/Scalar/DCE.cpp
diff -u llvm/lib/Transforms/Scalar/DCE.cpp:1.48 llvm/lib/Transforms/Scalar/DCE.cpp:1.49
--- llvm/lib/Transforms/Scalar/DCE.cpp:1.48	Mon Oct 21 15:00:26 2002
+++ llvm/lib/Transforms/Scalar/DCE.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- DCE.cpp - Code to perform dead code elimination --------------------===//
+// 
+//                     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 dead inst elimination and dead code elimination.
 //


Index: llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp
diff -u llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp:1.28 llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp:1.29
--- llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp:1.28	Thu Aug 14 01:09:32 2003
+++ llvm/lib/Transforms/Scalar/DecomposeMultiDimRefs.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- llvm/Transforms/DecomposeMultiDimRefs.cpp - Lower array refs to 1D -===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // DecomposeMultiDimRefs - Convert multi-dimensional references consisting of
 // any combination of 2 or more array and structure indices into a sequence of


Index: llvm/lib/Transforms/Scalar/GCSE.cpp
diff -u llvm/lib/Transforms/Scalar/GCSE.cpp:1.29 llvm/lib/Transforms/Scalar/GCSE.cpp:1.30
--- llvm/lib/Transforms/Scalar/GCSE.cpp:1.29	Fri Oct 10 12:50:50 2003
+++ llvm/lib/Transforms/Scalar/GCSE.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===-- GCSE.cpp - SSA based Global Common Subexpr Elimination ------------===//
+// 
+//                     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 designed to be a very quick global transformation that
 // eliminates global common subexpressions from a function.  It does this by


Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.40 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.41
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.40	Sun Oct 12 16:52:27 2003
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- IndVarSimplify.cpp - Induction Variable Elimination ----------------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // Guarantees that all loops with identifiable, linear, induction variables will
 // be transformed to have a single, canonical, induction variable.  After this


Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.130 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.131
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.130	Wed Oct 15 11:48:29 2003
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- InstructionCombining.cpp - Combine multiple instructions -----------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // InstructionCombining - Combine instructions to form fewer, simple
 // instructions.  This pass does not modify the CFG This pass is where algebraic


Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.38 llvm/lib/Transforms/Scalar/LICM.cpp:1.39
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.38	Mon Oct 13 00:04:27 2003
+++ llvm/lib/Transforms/Scalar/LICM.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===-- LICM.cpp - Loop Invariant Code Motion Pass ------------------------===//
+// 
+//                     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 a simple loop invariant code motion pass.  An interesting aspect
 // of this pass is that it uses alias analysis for two purposes:


Index: llvm/lib/Transforms/Scalar/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.22 llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.23
--- llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.22	Sun Oct 12 19:37:13 2003
+++ llvm/lib/Transforms/Scalar/LoopSimplify.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- LoopSimplify.cpp - Loop Canonicalization Pass ----------------------===//
+// 
+//                     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 performs several transformations to transform natural loops into a
 // simpler form, which makes subsequent analyses and transformations simpler and


Index: llvm/lib/Transforms/Scalar/LowerAllocations.cpp
diff -u llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.40 llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.41
--- llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.40	Sat Aug 30 19:22:27 2003
+++ llvm/lib/Transforms/Scalar/LowerAllocations.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- LowerAllocations.cpp - Reduce malloc & free insts to calls ---------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // The LowerAllocations transformation is a target dependent tranformation
 // because it depends on the size of data types and alignment constraints.


Index: llvm/lib/Transforms/Scalar/LowerInvoke.cpp
diff -u llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.1 llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.2
--- llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.1	Sun Oct  5 14:14:42 2003
+++ llvm/lib/Transforms/Scalar/LowerInvoke.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- LowerInvoke.cpp - Eliminate Invoke & Unwind instructions -----------===//
+// 
+//                     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 transformation is designed for use by code generators which do not yet
 // support stack unwinding.  This pass gives them the ability to execute any


Index: llvm/lib/Transforms/Scalar/LowerSwitch.cpp
diff -u llvm/lib/Transforms/Scalar/LowerSwitch.cpp:1.5 llvm/lib/Transforms/Scalar/LowerSwitch.cpp:1.6
--- llvm/lib/Transforms/Scalar/LowerSwitch.cpp:1.5	Tue Oct  7 13:46:23 2003
+++ llvm/lib/Transforms/Scalar/LowerSwitch.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- LowerSwitch.cpp - Eliminate Switch instructions --------------------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // The LowerSwitch transformation rewrites switch statements with a sequence of
 // branches, which allows targets to get away with not implementing the switch


Index: llvm/lib/Transforms/Scalar/Mem2Reg.cpp
diff -u llvm/lib/Transforms/Scalar/Mem2Reg.cpp:1.6 llvm/lib/Transforms/Scalar/Mem2Reg.cpp:1.7
--- llvm/lib/Transforms/Scalar/Mem2Reg.cpp:1.6	Sun Oct  5 16:20:02 2003
+++ llvm/lib/Transforms/Scalar/Mem2Reg.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- Mem2Reg.cpp - The -mem2reg pass, a wrapper around the Utils lib ----===//
+// 
+//                     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 a simple pass wrapper around the PromoteMemToReg function call
 // exposed by the Utils library.


Index: llvm/lib/Transforms/Scalar/PRE.cpp
diff -u llvm/lib/Transforms/Scalar/PRE.cpp:1.5 llvm/lib/Transforms/Scalar/PRE.cpp:1.6
--- llvm/lib/Transforms/Scalar/PRE.cpp:1.5	Thu Sep 11 11:26:11 2003
+++ llvm/lib/Transforms/Scalar/PRE.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- PRE.cpp - Partial Redundancy Elimination ---------------------------===//
+// 
+//                     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 well-known Partial Redundancy Elimination
 // optimization, using an SSA formulation based on e-paths.  See this paper for


Index: llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
diff -u llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.12 llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.13
--- llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.12	Thu Oct 16 11:49:12 2003
+++ llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- PiNodeInsertion.cpp - Insert Pi nodes into a program ---------------===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks
 // that are preceded by a conditional branch, where the branch gives


Index: llvm/lib/Transforms/Scalar/Reassociate.cpp
diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.26 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.27
--- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.26	Sun Oct 19 16:34:28 2003
+++ llvm/lib/Transforms/Scalar/Reassociate.cpp	Mon Oct 20 14:43:19 2003
@@ -1,4 +1,11 @@
 //===- Reassociate.cpp - Reassociate binary expressions -------------------===//
+// 
+//                     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 reassociates commutative expressions in an order that is designed
 // to promote better constant propagation, GCSE, LICM, PRE...


Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.80 llvm/lib/Transforms/Scalar/SCCP.cpp:1.81
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.80	Sat Oct 18 00:56:52 2003
+++ llvm/lib/Transforms/Scalar/SCCP.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- SCCP.cpp - Sparse Conditional Constant Propagation -----------------===//
+// 
+//                     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 sparse conditional constant propagation and merging:
 //


Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.15 llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.16
--- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.15	Sun Oct  5 16:20:02 2003
+++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- ScalarReplAggregates.cpp - Scalar Replacement of Aggregates --------===//
+// 
+//                     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 transformation implements the well known scalar replacement of
 // aggregates transformation.  This xform breaks up alloca instructions of


Index: llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.7 llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.8
--- llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.7	Sun Oct  5 14:14:16 2003
+++ llvm/lib/Transforms/Scalar/SimplifyCFG.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- SimplifyCFG.cpp - CFG Simplification Pass --------------------------===//
+// 
+//                     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 dead code elimination and basic block merging.
 //


Index: llvm/lib/Transforms/Scalar/SymbolStripping.cpp
diff -u llvm/lib/Transforms/Scalar/SymbolStripping.cpp:1.21 llvm/lib/Transforms/Scalar/SymbolStripping.cpp:1.22
--- llvm/lib/Transforms/Scalar/SymbolStripping.cpp:1.21	Wed Nov 20 12:34:38 2002
+++ llvm/lib/Transforms/Scalar/SymbolStripping.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- SymbolStripping.cpp - Strip symbols for functions and modules ------===//
+// 
+//                     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 stripping symbols out of symbol tables.
 //


Index: llvm/lib/Transforms/Scalar/TailDuplication.cpp
diff -u llvm/lib/Transforms/Scalar/TailDuplication.cpp:1.8 llvm/lib/Transforms/Scalar/TailDuplication.cpp:1.9
--- llvm/lib/Transforms/Scalar/TailDuplication.cpp:1.8	Sun Aug 31 16:17:44 2003
+++ llvm/lib/Transforms/Scalar/TailDuplication.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- TailDuplication.cpp - Simplify CFG through tail duplication --------===//
+// 
+//                     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 performs a limited form of tail duplication, intended to simplify
 // CFGs by removing some unconditional branches.  This pass is necessary to


Index: llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
diff -u llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp:1.4 llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp:1.5
--- llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp:1.4	Sat Sep 20 09:38:50 2003
+++ llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp	Mon Oct 20 14:43:20 2003
@@ -1,4 +1,11 @@
 //===- TailRecursionElimination.cpp - Eliminate Tail Calls ----------------===//
+// 
+//                     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 tail recursion elimination.
 //





More information about the llvm-commits mailing list