[llvm-commits] CVS: llvm/include/llvm/Target/TargetCacheInfo.h TargetMachine.h TargetOptInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 28 20:52:01 PST 2002
Changes in directory llvm/include/llvm/Target:
TargetCacheInfo.h updated: 1.6 -> 1.7
TargetMachine.h updated: 1.26 -> 1.27
TargetOptInfo.h updated: 1.1 -> 1.2
---
Log message:
Rename MachineOptInfo to TargetoptInfo
Rename MachineCacheInfo to TargetCacheInfo
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetCacheInfo.h
diff -u llvm/include/llvm/Target/TargetCacheInfo.h:1.6 llvm/include/llvm/Target/TargetCacheInfo.h:1.7
--- llvm/include/llvm/Target/TargetCacheInfo.h:1.6 Mon Oct 28 17:53:32 2002
+++ llvm/include/llvm/Target/TargetCacheInfo.h Sat Dec 28 20:50:25 2002
@@ -1,16 +1,16 @@
-//===-- llvm/Target/MachineCacheInfo.h --------------------------*- C++ -*-===//
+//===-- llvm/Target/TargetCacheInfo.h ---------------------------*- C++ -*-===//
//
// Describes properties of the target cache architecture.
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_TARGET_MACHINECACHEINFO_H
-#define LLVM_TARGET_MACHINECACHEINFO_H
+#ifndef LLVM_TARGET_TARGETCACHEINFO_H
+#define LLVM_TARGET_TARGETCACHEINFO_H
#include "Support/DataTypes.h"
class TargetMachine;
-struct MachineCacheInfo : public NonCopyableV {
+struct TargetCacheInfo : public NonCopyableV {
const TargetMachine ⌖
protected:
unsigned int numLevels;
@@ -19,7 +19,7 @@
std::vector<unsigned short> cacheAssoc;
public:
- MachineCacheInfo(const TargetMachine& tgt) : target(tgt) {
+ TargetCacheInfo(const TargetMachine& tgt) : target(tgt) {
Initialize();
}
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.26 llvm/include/llvm/Target/TargetMachine.h:1.27
--- llvm/include/llvm/Target/TargetMachine.h:1.26 Sat Dec 28 14:13:29 2002
+++ llvm/include/llvm/Target/TargetMachine.h Sat Dec 28 20:50:25 2002
@@ -15,8 +15,8 @@
class MachineSchedInfo;
class MachineRegInfo;
class TargetFrameInfo;
-class MachineCacheInfo;
-class MachineOptInfo;
+class TargetCacheInfo;
+class TargetOptInfo;
class MachineCodeEmitter;
class MRegisterInfo;
class PassManager;
@@ -60,8 +60,8 @@
virtual const MachineSchedInfo& getSchedInfo() const = 0;
virtual const MachineRegInfo& getRegInfo() const = 0;
virtual const TargetFrameInfo& getFrameInfo() const = 0;
- virtual const MachineCacheInfo& getCacheInfo() const = 0;
- virtual const MachineOptInfo& getOptInfo() const = 0;
+ virtual const TargetCacheInfo& getCacheInfo() const = 0;
+ virtual const TargetOptInfo& getOptInfo() const = 0;
const TargetData &getTargetData() const { return DataLayout; }
/// getRegisterInfo - If register information is available, return it. If
Index: llvm/include/llvm/Target/TargetOptInfo.h
diff -u llvm/include/llvm/Target/TargetOptInfo.h:1.1 llvm/include/llvm/Target/TargetOptInfo.h:1.2
--- llvm/include/llvm/Target/TargetOptInfo.h:1.1 Thu Sep 19 19:49:21 2002
+++ llvm/include/llvm/Target/TargetOptInfo.h Sat Dec 28 20:50:25 2002
@@ -1,20 +1,19 @@
-//===-- llvm/Target/MachineOptInfo.h -----------------------------*- C++ -*-==//
+//===-- llvm/Target/TargetOptInfo.h ------------------------------*- C++ -*-==//
//
-// Describes properties of the target cache architecture.
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_TARGET_MACHINEOPTINFO_H
-#define LLVM_TARGET_MACHINEOPTINFO_H
+#ifndef LLVM_TARGET_TARGETOPTINFO_H
+#define LLVM_TARGET_TARGETOPTINFO_H
#include "Support/DataTypes.h"
class TargetMachine;
-struct MachineOptInfo : public NonCopyableV {
+struct TargetOptInfo : public NonCopyableV {
const TargetMachine ⌖
public:
- MachineOptInfo(const TargetMachine& tgt): target(tgt) { }
+ TargetOptInfo(const TargetMachine& tgt): target(tgt) { }
virtual bool IsUselessCopy (const MachineInstr* MI) const = 0;
};
More information about the llvm-commits
mailing list