[llvm-commits] CVS: reopt/lib/LightWtProfiling/FirstTrigger.cpp Initialization.cpp RegSaveRestore.h ReoptimizerInternal.h RuntimeOptimizations.cpp SLI.cpp SecondTrigger.cpp Trace.cpp TraceToFunction.cpp UnpackTraceFunction.cpp scheduler.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Jan 14 17:03:02 PST 2004
Changes in directory reopt/lib/LightWtProfiling:
FirstTrigger.cpp updated: 1.17 -> 1.18
Initialization.cpp updated: 1.13 -> 1.14
RegSaveRestore.h updated: 1.2 -> 1.3
ReoptimizerInternal.h updated: 1.1 -> 1.2
RuntimeOptimizations.cpp updated: 1.16 -> 1.17
SLI.cpp updated: 1.12 -> 1.13
SecondTrigger.cpp updated: 1.25 -> 1.26
Trace.cpp updated: 1.3 -> 1.4
TraceToFunction.cpp updated: 1.19 -> 1.20
UnpackTraceFunction.cpp updated: 1.25 -> 1.26
scheduler.cpp updated: 1.7 -> 1.8
---
Log message:
Add LLVM license stuff and fix up file headers
---
Diffs of the changes: (+88 -2)
Index: reopt/lib/LightWtProfiling/FirstTrigger.cpp
diff -u reopt/lib/LightWtProfiling/FirstTrigger.cpp:1.17 reopt/lib/LightWtProfiling/FirstTrigger.cpp:1.18
--- reopt/lib/LightWtProfiling/FirstTrigger.cpp:1.17 Wed Jan 14 16:51:56 2004
+++ reopt/lib/LightWtProfiling/FirstTrigger.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===-- LightWtProfiling/Trigger/FirstTrigger.cpp ----------------*- 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 implements the reoptimizer's first-level trigger. The
// first-level trigger is a call, placed at the back-edge of each loop, to
Index: reopt/lib/LightWtProfiling/Initialization.cpp
diff -u reopt/lib/LightWtProfiling/Initialization.cpp:1.13 reopt/lib/LightWtProfiling/Initialization.cpp:1.14
--- reopt/lib/LightWtProfiling/Initialization.cpp:1.13 Wed Jan 14 16:51:57 2004
+++ reopt/lib/LightWtProfiling/Initialization.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===-- LightWtProfiling/Trigger/Initialization.cpp --------------*- 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.
+//
+//===----------------------------------------------------------------------===//
//
// Initialization functions called either from the main() of an
// instrumented program, or later when we determine that further
Index: reopt/lib/LightWtProfiling/RegSaveRestore.h
diff -u reopt/lib/LightWtProfiling/RegSaveRestore.h:1.2 reopt/lib/LightWtProfiling/RegSaveRestore.h:1.3
--- reopt/lib/LightWtProfiling/RegSaveRestore.h:1.2 Tue Aug 5 14:34:19 2003
+++ reopt/lib/LightWtProfiling/RegSaveRestore.h Wed Jan 14 17:02:22 2004
@@ -1,3 +1,19 @@
+//===-- LightWtProfiling/RegSaveRestore.h ------------------------*- 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 SPARC-specific header file contains macros that expand into inline
+// assembly language statements, which we use for saving registers and restoring
+// them upon entry to and exit from the various profiling instrumentation
+// routines.
+//
+//===----------------------------------------------------------------------===//
+
#ifndef REGSAVERESTORE_H
#define REGSAVERESTORE_H
Index: reopt/lib/LightWtProfiling/ReoptimizerInternal.h
diff -u reopt/lib/LightWtProfiling/ReoptimizerInternal.h:1.1 reopt/lib/LightWtProfiling/ReoptimizerInternal.h:1.2
--- reopt/lib/LightWtProfiling/ReoptimizerInternal.h:1.1 Wed Jan 14 16:51:57 2004
+++ reopt/lib/LightWtProfiling/ReoptimizerInternal.h Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===-- LightWtProfiling/ReoptimizerInternal.h -------------------*- 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 contains tunable parameters, internal data structures, and other
// global variables used by the LightWtProfiling reoptimizer. It is intended as
Index: reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp
diff -u reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.16 reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.17
--- reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp:1.16 Wed Jan 14 16:51:57 2004
+++ reopt/lib/LightWtProfiling/RuntimeOptimizations.cpp Wed Jan 14 17:02:22 2004
@@ -1,10 +1,17 @@
-//===-- LightWtProfiling/Trigger/RuntimeOptimizations.cpp -------*- C++ -*--=//
+//===-- LightWtProfiling/RuntimeOptimizations.cpp ----------------*- 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 contains a method called upon the construction of a new trace of
// LLVM BasicBlocks that can be reoptimized. It sets up a PassManager and runs
// some predefined set of Passes over the module containing the trace.
//
-//===---------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#include "ReoptimizerInternal.h"
#include "Trace.h"
Index: reopt/lib/LightWtProfiling/SLI.cpp
diff -u reopt/lib/LightWtProfiling/SLI.cpp:1.12 reopt/lib/LightWtProfiling/SLI.cpp:1.13
--- reopt/lib/LightWtProfiling/SLI.cpp:1.12 Wed Jan 14 16:51:57 2004
+++ reopt/lib/LightWtProfiling/SLI.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===- SLI.cpp - Perform second-level instrumentation ------------*- 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.
+//
+//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
Index: reopt/lib/LightWtProfiling/SecondTrigger.cpp
diff -u reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.25 reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.26
--- reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.25 Wed Jan 14 16:51:57 2004
+++ reopt/lib/LightWtProfiling/SecondTrigger.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===-- LightWtProfiling/SecondTrigger.cpp -----------------------*- 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 implements the reoptimizer's second-level trigger.
// Second-level instrumentation is performed by the first-level trigger
Index: reopt/lib/LightWtProfiling/Trace.cpp
diff -u reopt/lib/LightWtProfiling/Trace.cpp:1.3 reopt/lib/LightWtProfiling/Trace.cpp:1.4
--- reopt/lib/LightWtProfiling/Trace.cpp:1.3 Wed Nov 19 16:51:49 2003
+++ reopt/lib/LightWtProfiling/Trace.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===- Trace.cpp - Implementation of Trace class -----------------*- 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.
+//
+//===----------------------------------------------------------------------===//
//
// Represents the sequence of basic blocks (generally associated with some
// enclosing function) which make up a trace.
Index: reopt/lib/LightWtProfiling/TraceToFunction.cpp
diff -u reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.19 reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.20
--- reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.19 Wed Jan 14 16:08:55 2004
+++ reopt/lib/LightWtProfiling/TraceToFunction.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===- TraceToFunction.cpp - Convert traces to functions ---------*- 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.
+//
+//===----------------------------------------------------------------------===//
//
// Repackage traces as functions, so that global (function-level) optimizations
// can be applied to traces.
Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.25 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.26
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.25 Wed Jan 14 16:51:58 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===- UnpackTraceFunction.cpp - Convert functions back to traces -*- 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.
+//
+//===----------------------------------------------------------------------===//
//
// Methods to convert functions, which had previously been converted from
// traces into functions, back into traces.
Index: reopt/lib/LightWtProfiling/scheduler.cpp
diff -u reopt/lib/LightWtProfiling/scheduler.cpp:1.7 reopt/lib/LightWtProfiling/scheduler.cpp:1.8
--- reopt/lib/LightWtProfiling/scheduler.cpp:1.7 Wed Jan 14 16:51:58 2004
+++ reopt/lib/LightWtProfiling/scheduler.cpp Wed Jan 14 17:02:22 2004
@@ -1,4 +1,11 @@
//===- scheduler.cpp - Phase change interval timer support code ---*- 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.
+//
+//===----------------------------------------------------------------------===//
//
// Implements an interval timer used for removing instrumentation in
// response to phase-change detection.
More information about the llvm-commits
mailing list