diff options
| author | John Criswell <criswell@uiuc.edu> | 2003-10-20 19:43:21 +0000 | 
|---|---|---|
| committer | John Criswell <criswell@uiuc.edu> | 2003-10-20 19:43:21 +0000 | 
| commit | 482202a601208cac2951cc6823c7c62bb0235f76 (patch) | |
| tree | e40eab2f9a1b790857e3db0536d9f36fe93eee18 /llvm/lib/CodeGen | |
| parent | d77dd78c52723edc243a20fa2627290cc0b49805 (diff) | |
| download | bcm5719-llvm-482202a601208cac2951cc6823c7c62bb0235f76.tar.gz bcm5719-llvm-482202a601208cac2951cc6823c7c62bb0235f76.zip  | |
Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.
llvm-svn: 9298
Diffstat (limited to 'llvm/lib/CodeGen')
27 files changed, 189 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index cf4f2941557..2a2ef27a29f 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -1,4 +1,11 @@  //===- InstrScheduling.cpp - Generic Instruction Scheduling support -------===// +//  +//                     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 llvm/CodeGen/InstrScheduling.h interface, along with  // generic support routines for instruction scheduling. diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp index bcdd1cfcfce..f6f37917342 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -1,4 +1,11 @@  //===- SchedGraph.cpp - Scheduling Graph Implementation -------------------===// +//  +//                     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. +//  +//===----------------------------------------------------------------------===//  //  // Scheduling graph based on SSA graph plus extra dependence edges capturing  // dependences due to machine resources (machine registers, CC registers, and diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp index ec0e09527fd..b75e3397cb9 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedGraphCommon.cpp @@ -1,4 +1,11 @@  //===- SchedGraphCommon.cpp - Scheduling Graphs Base Class- ---------------===// +//  +//                     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. +//  +//===----------------------------------------------------------------------===//  //  // Scheduling graph base class that contains common information for SchedGraph  // and ModuloSchedGraph scheduling graphs. diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index 20c0f8217ac..a35600c0f0e 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -1,5 +1,12 @@  //===-- SchedPriorities.h - Encapsulate scheduling heuristics -------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   // Strategy:  //    Priority ordering rules:  //    (1) Max delay, which is the order of the heap S.candsAsHeap. diff --git a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp index 7ae23737645..90993b7a8dd 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrForest.cpp @@ -1,4 +1,11 @@  //===-- InstrForest.cpp - Build instruction forest for inst selection -----===// +//  +//                     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 key goal is to group instructions into a single  //  tree if one or more of them might be potentially combined into a single diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp index ae910b89213..32dc65e6e1e 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -1,4 +1,11 @@  //===- InstrSelection.cpp - Machine Independent Inst Selection Driver -----===// +//  +//                     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. +//  +//===----------------------------------------------------------------------===//  //  // Machine-independent driver file for instruction selection.  This file  // constructs a forest of BURG instruction trees and then uses the diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index c88fa23a90c..f177e460b10 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -1,4 +1,11 @@  //===-- InstrSelectionSupport.cpp -----------------------------------------===// +//  +//                     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. +//  +//===----------------------------------------------------------------------===//  //  // Target-independent instruction selection code.  See SparcInstrSelection.cpp  // for usage. diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index 2a9b70d3b01..50b90b1fdcd 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -1,5 +1,12 @@  //===-- LiveVariables.cpp - Live Variable Analysis for Machine Code -------===//  //  +//                     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 LiveVariable analysis pass.  For each machine  // instruction in the function, this pass calculates the set of registers that  // are immediately dead after the instruction (i.e., the instruction calculates diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index 47bdc8b7799..6e56594a10d 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/lib/CodeGen/MachineCodeEmitter.cpp @@ -1,4 +1,11 @@  //===-- MachineCodeEmitter.cpp - Implement the MachineCodeEmitter itf -----===// +//  +//                     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 MachineCodeEmitter interface.  // diff --git a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp index 7b2fb75c653..36bafe2ff96 100644 --- a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp @@ -1,4 +1,11 @@  //===-- MachineCodeForInstruction.cpp -------------------------------------===// +//  +//                     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. +//  +//===----------------------------------------------------------------------===//  //  // Representation of the sequence of machine instructions created for a single  // VM instruction.  Additionally records information about hidden and implicit diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index f7aadc317e2..c1eb30a1966 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -1,5 +1,12 @@  //===-- MachineFunction.cpp -----------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   // Collect native machine code information for a function.  This allows  // target-specific information about the generated code to be stored with each  // function. diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index c8e930e7d4c..7fb8b4569e2 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -1,5 +1,12 @@  //===-- MachineInstr.cpp --------------------------------------------------===//  //  +//                     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/CodeGen/MachineInstr.h" diff --git a/llvm/lib/CodeGen/MachineInstrAnnot.cpp b/llvm/lib/CodeGen/MachineInstrAnnot.cpp index 419e10ecd31..bf4e68e112f 100644 --- a/llvm/lib/CodeGen/MachineInstrAnnot.cpp +++ b/llvm/lib/CodeGen/MachineInstrAnnot.cpp @@ -1,5 +1,12 @@  //===-- MachineInstrAnnot.cpp ---------------------------------------------===//  //  +//                     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 Annotations used to pass information between code  //  generation phases.  //  diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp index 68b8ee39d52..6318c5ab46f 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp +++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp @@ -1,5 +1,12 @@  //===- ModuloSchedGraph.cpp - Modulo Scheduling Graph and Set -*- C++ -*---===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   // Description here  //===----------------------------------------------------------------------===// diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp index 49562f49f55..91ec6c28f55 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp +++ b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.cpp @@ -1,4 +1,11 @@  //===-- ModuloScheduling.cpp - Software Pipeling Approach - SMS -----------===// +//  +//                     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 is a software pipelining pass based on the Swing Modulo Scheduling  // algorithm (SMS). diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index cce1c5d94a5..5a988bafe3c 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -1,4 +1,11 @@  //===-- PhiElimination.cpp - Eliminate PHI nodes by inserting copies ------===// +//  +//                     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 eliminates machine instruction PHI nodes by inserting copy  // instructions.  This destroys SSA information, but is the desired input for diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp index 86f354eb32f..7a51a53ad89 100644 --- a/llvm/lib/CodeGen/Passes.cpp +++ b/llvm/lib/CodeGen/Passes.cpp @@ -1,4 +1,11 @@  //===-- Passes.cpp - Target independent code generation passes -*- C++ -*-===// +//  +//                     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 interfaces to access the target independent code  // generation passes provided by the LLVM backend. diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index 0ceb8669650..a60b8b127bf 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp @@ -1,4 +1,11 @@  //===-- PrologEpilogInserter.cpp - Insert Prolog/Epilog code in function --===// +//  +//                     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 responsible for finalizing the functions frame layout, saving  // callee saved registers, and for emitting prolog & epilog code for the diff --git a/llvm/lib/CodeGen/RegAlloc/IGNode.cpp b/llvm/lib/CodeGen/RegAlloc/IGNode.cpp index ce502d6e31b..fcd299b28c6 100644 --- a/llvm/lib/CodeGen/RegAlloc/IGNode.cpp +++ b/llvm/lib/CodeGen/RegAlloc/IGNode.cpp @@ -1,5 +1,12 @@  //===-- IGNode.cpp --------------------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   //  class IGNode for coloring-based register allocation for LLVM.  //   //===----------------------------------------------------------------------===// diff --git a/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp b/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp index bc28ed47d40..b213dc7e7d8 100644 --- a/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp +++ b/llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp @@ -1,5 +1,12 @@  //===-- InterferenceGraph.cpp ---------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   //  Interference graph for coloring-based register allocation for LLVM.  //   //===----------------------------------------------------------------------===// diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp index 928d04538cc..0f7958c88e4 100644 --- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp +++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp @@ -1,5 +1,12 @@  //===-- LiveRangeInfo.cpp -------------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   //  Live range construction for coloring-based register allocation for LLVM.  //   //===----------------------------------------------------------------------===// diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 616b012d77e..00397d52860 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -1,5 +1,12 @@  //===-- PhyRegAlloc.cpp ---------------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   // Traditional graph-coloring global register allocator currently used  // by the SPARC back-end.  // diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp index 12582cc7826..ca53a9f5186 100644 --- a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp +++ b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp @@ -1,5 +1,12 @@  //===-- RegClass.cpp -----------------------------------------------------===//  //  +//                     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. +//  +//===----------------------------------------------------------------------===// +//   //  class RegClass for coloring-based register allocation for LLVM.  //   //===----------------------------------------------------------------------===// diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index 6b71e288e7e..92aec7b72d0 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/lib/CodeGen/RegAllocLocal.cpp @@ -1,4 +1,11 @@  //===-- RegAllocLocal.cpp - A BasicBlock generic register allocator -------===// +//  +//                     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 register allocator allocates registers to a basic block at a time,  // attempting to keep values in registers and reusing registers as appropriate. diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp index dbf731ecc7a..a210790b8dd 100644 --- a/llvm/lib/CodeGen/RegAllocSimple.cpp +++ b/llvm/lib/CodeGen/RegAllocSimple.cpp @@ -1,4 +1,11 @@  //===-- RegAllocSimple.cpp - A simple generic register allocator ----------===// +//  +//                     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 register allocator. *Very* simple: It immediate  // spills every value right after it is computed, and it reloads all used diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp index 03bf14bc28f..a972ddf6026 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGBuilder.cpp @@ -1,4 +1,11 @@  //===-- DAGBuilder.cpp - Turn an LLVM BasicBlock into a DAG for selection -===// +//  +//                     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 turns an LLVM BasicBlock into a target independent SelectionDAG in  // preparation for target specific optimizations and instruction selection. diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 6d7eeee0daa..58a9639c92b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1,4 +1,11 @@  //===-- SelectionDAG.cpp - Implement the SelectionDAG* classes ------------===// +//  +//                     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 SelectionDAG* classes, which are used to perform  // DAG-based instruction selection in a target-specific manner.  | 

