mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Rename MachineOptInfo to TargetoptInfo
Rename MachineCacheInfo to TargetCacheInfo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user