[llvm-commits] CVS: reopt/include/reopt/CFG.h GetTraceTime.h InstrUtils.h MappingInfo.h MemoryManager.h TraceCache.h VirtualMem.h
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Aug 22 19:55:02 PDT 2003
Changes in directory reopt/include/reopt:
CFG.h updated: 1.1 -> 1.2
GetTraceTime.h updated: 1.4 -> 1.5
InstrUtils.h updated: 1.6 -> 1.7
MappingInfo.h updated: 1.8 -> 1.9
MemoryManager.h updated: 1.4 -> 1.5
TraceCache.h updated: 1.13 -> 1.14
VirtualMem.h updated: 1.9 -> 1.10
---
Log message:
llvm/Reoptimizer --> reopt, LightWtProfiling/Trigger --> LightWtProfiling
Fix file header comments and include guards
---
Diffs of the changes:
Index: reopt/include/reopt/CFG.h
diff -u reopt/include/reopt/CFG.h:1.1 reopt/include/reopt/CFG.h:1.2
--- reopt/include/reopt/CFG.h:1.1 Fri Jul 18 13:25:01 2003
+++ reopt/include/reopt/CFG.h Fri Aug 22 12:43:33 2003
@@ -1,6 +1,7 @@
-//===----- CFG.h - interface to insert instrumentation -----------*- C++ -*--=//
+//===-- reopt/CFG.h - interface to insert instrumentation --------*- C++ -*--=//
//
// Instrument every back edges with counters
+//
//===----------------------------------------------------------------------===//
#ifndef LLVM_REOPTIMIZER_CFG_H
Index: reopt/include/reopt/GetTraceTime.h
diff -u reopt/include/reopt/GetTraceTime.h:1.4 reopt/include/reopt/GetTraceTime.h:1.5
--- reopt/include/reopt/GetTraceTime.h:1.4 Sat May 31 21:31:03 2003
+++ reopt/include/reopt/GetTraceTime.h Fri Aug 22 12:43:33 2003
@@ -1,4 +1,4 @@
-//===--------------llvm/Reoptimizer/GetTraceTIme.h----------------*- C++ -*--=//
+//===- reopt/GetTraceTime.h --------------------------------------*- C++ -*--=//
//
// Gets the time taken inside trace execution
// This time is printed in the file "llvm_last_run"
Index: reopt/include/reopt/InstrUtils.h
diff -u reopt/include/reopt/InstrUtils.h:1.6 reopt/include/reopt/InstrUtils.h:1.7
--- reopt/include/reopt/InstrUtils.h:1.6 Thu Jul 10 14:00:35 2003
+++ reopt/include/reopt/InstrUtils.h Fri Aug 22 12:43:34 2003
@@ -1,11 +1,12 @@
-//===--------------llvm/Reoptimizer/InstrUtils.h -----------------*- C++ -*--=//
-// Implements some helper functions to idetify and modify
+//===-- reopt/InstrUtils.h ---------------------------------------*- C++ -*--=//
+//
+// Implements some helper functions to identify and modify
// binary instructions
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_REOPTIMIZER_TRACECACHE_INSTRUTILS_H
-#define LLVM_REOPTIMIZER_TRACECACHE_INSTRUTILS_H
+#ifndef REOPT_INSTRUTILS_H
+#define REOPT_INSTRUTILS_H
#include "Support/DataTypes.h"
#include <algorithm>
Index: reopt/include/reopt/MappingInfo.h
diff -u reopt/include/reopt/MappingInfo.h:1.8 reopt/include/reopt/MappingInfo.h:1.9
--- reopt/include/reopt/MappingInfo.h:1.8 Wed Aug 20 14:25:06 2003
+++ reopt/include/reopt/MappingInfo.h Fri Aug 22 12:43:34 2003
@@ -1,4 +1,4 @@
-//===-- llvm/Reoptimizer/Mapping/LLVMinfo.h - Mapping library ----*- C++ -*--=//
+//===-- reopt/MappingInfo.h - Mapping library --------------------*- C++ -*--=//
//
// This file contains the list of public methods exported by
// lib/Reoptimizer/Mapping/getLLVMinfo.cpp, which is the part of the
@@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_REOPTIMIZER_MAPPING_LLVMINFO_H
-#define LLVM_REOPTIMIZER_MAPPING_LLVMINFO_H
+#ifndef REOPT_MAPPINGINFO_H
+#define REOPT_MAPPINGINFO_H
#include "Support/DataTypes.h"
#include <vector>
@@ -51,4 +51,4 @@
///
Function *getRevFunction(Module *M, uint64_t addr);
-#endif // LLVM_REOPTIMIZER_MAPPING_LLVMINFO_H
+#endif // REOPT_MAPPINGINFO_H
Index: reopt/include/reopt/MemoryManager.h
diff -u reopt/include/reopt/MemoryManager.h:1.4 reopt/include/reopt/MemoryManager.h:1.5
--- reopt/include/reopt/MemoryManager.h:1.4 Wed Aug 6 16:45:41 2003
+++ reopt/include/reopt/MemoryManager.h Fri Aug 22 12:43:34 2003
@@ -1,4 +1,4 @@
-//===---------------llvm/Reoptimizer/MemoryManager.h--------------*- C++ -*--=//
+//===-- reopt/MemoryManager.h ------------------------------------*- C++ -*--=//
//
//Memory management algorithm:
//
@@ -23,8 +23,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_REOPTIMIZER_TRACECACHE_MEMORYMANAGER_H
-#define LLVM_REOPTIMIZER_TRACECACHE_MEMORYMANAGER_H
+#ifndef REOPT_MEMORYMANAGER_H
+#define REOPT_MEMORYMANAGER_H
#include "Support/DataTypes.h"
#include <list>
@@ -53,4 +53,4 @@
void freeTraceMemory(uint64_t toRemove, int size);//size is no if instructions
};
-#endif
+#endif // REOPT_MEMORYMANAGER_H
Index: reopt/include/reopt/TraceCache.h
diff -u reopt/include/reopt/TraceCache.h:1.13 reopt/include/reopt/TraceCache.h:1.14
--- reopt/include/reopt/TraceCache.h:1.13 Wed Aug 6 16:45:41 2003
+++ reopt/include/reopt/TraceCache.h Fri Aug 22 12:43:34 2003
@@ -1,10 +1,11 @@
-//===-- ------------llvm/Reoptimizer/TraceCache.h-----------------*- C++ -*--=//
+//===-- reopt/TraceCache.h ---------------------------------------*- C++ -*--=//
+//
// Implements TraceCache
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_TRACECACHE_H
-#define LLVM_TRACECACHE_H
+#ifndef REOPT_TRACECACHE_H
+#define REOPT_TRACECACHE_H
#include "Support/DataTypes.h"
#include <map>
@@ -155,4 +156,4 @@
MemoryManager *mm;
};
-#endif
+#endif // REOPT_TRACECACHE_H
Index: reopt/include/reopt/VirtualMem.h
diff -u reopt/include/reopt/VirtualMem.h:1.9 reopt/include/reopt/VirtualMem.h:1.10
--- reopt/include/reopt/VirtualMem.h:1.9 Thu Jul 10 14:01:36 2003
+++ reopt/include/reopt/VirtualMem.h Fri Aug 22 12:43:34 2003
@@ -1,11 +1,12 @@
-//===--------------llvm/Reoptimizer/VirtualMemory-----------------*- C++ -*--=//
+//===-- reopt/VirtualMem.h ---------------------------------------*- C++ -*--=//
+//
// Implements the virtual-memory functions: the part that handles and
// modifies pages in the virtual memory of the running process.
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_REOPTIMIZER_TRACECACHE_VIRTUALMEMORY_H
-#define LLVM_REOPTIMIZER_TRACECACHE_VIRTUALMEMORY_H
+#ifndef REOPT_VIRTUALMEM_H
+#define REOPT_VIRTUALMEM_H
#include "Support/DataTypes.h"
#include "Config/fcntl.h"
@@ -17,7 +18,7 @@
#include <vector>
#include <map>
-#include "llvm/Reoptimizer/GetTraceTime.h"
+#include "reopt/GetTraceTime.h"
class TraceCache;
//class TraceCache2;
@@ -57,4 +58,4 @@
};
-#endif
+#endif // REOPT_VIRTUALMEM_H
More information about the llvm-commits
mailing list