summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-29 02:50:35 +0000
committerChris Lattner <sabre@nondot.org>2002-12-29 02:50:35 +0000
commit42d59219c7c9a338c8a70bc2c37b5a5117ea1a29 (patch)
treeda109b9d55f7281d88bb9ddef795e93f2e51e4b8 /llvm/lib/Target/TargetMachine.cpp
parent83d835da2aeb75f7aae3d56db732c7d376261763 (diff)
downloadbcm5719-llvm-42d59219c7c9a338c8a70bc2c37b5a5117ea1a29.tar.gz
bcm5719-llvm-42d59219c7c9a338c8a70bc2c37b5a5117ea1a29.zip
Rename MachineOptInfo to TargetoptInfo
Rename MachineCacheInfo to TargetCacheInfo llvm-svn: 5203
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index f50580332a6..dc722fc7e5c 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -1,12 +1,12 @@
//===-- TargetMachine.cpp - General Target Information ---------------------==//
//
// This file describes the general parts of a Target machine.
-// This file also implements MachineCacheInfo.
+// This file also implements TargetCacheInfo.
//
//===----------------------------------------------------------------------===//
#include "llvm/Target/TargetMachine.h"
-#include "llvm/Target/MachineCacheInfo.h"
+#include "llvm/Target/TargetCacheInfo.h"
#include "llvm/Type.h"
//---------------------------------------------------------------------------
@@ -36,13 +36,13 @@ unsigned TargetMachine::findOptimalStorageSize(const Type *Ty) const {
//---------------------------------------------------------------------------
-// class MachineCacheInfo
+// class TargetCacheInfo
//
// Purpose:
// Describes properties of the target cache architecture.
//---------------------------------------------------------------------------
-void MachineCacheInfo::Initialize() {
+void TargetCacheInfo::Initialize() {
numLevels = 2;
cacheLineSizes.push_back(16); cacheLineSizes.push_back(32);
cacheSizes.push_back(1 << 15); cacheSizes.push_back(1 << 20);
OpenPOWER on IntegriCloud