summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUSubtarget.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-30 15:57:50 +0000
committerTom Stellard <[email protected]>2012-07-30 21:10:14 +0000
commit2f921101c0826dc52a2c69f85c3da0f7f6e8212a (patch)
treeb0e58be6d20eee06df83a94571e149d73a401c15 /src/gallium/drivers/radeon/AMDGPUSubtarget.cpp
parentb72ab79d73b29ec087d90cf2c698adbab4db5def (diff)
radeon/llvm: Rename all AMDIL* classes to AMDGPU*
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUSubtarget.cpp')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUSubtarget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUSubtarget.cpp b/src/gallium/drivers/radeon/AMDGPUSubtarget.cpp
index dd51a997761..d1b1d6cfa2a 100644
--- a/src/gallium/drivers/radeon/AMDGPUSubtarget.cpp
+++ b/src/gallium/drivers/radeon/AMDGPUSubtarget.cpp
@@ -13,7 +13,7 @@ AMDGPUSubtarget::AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS) :
InstrItins = getInstrItineraryForCPU(CPU);
memset(CapsOverride, 0, sizeof(*CapsOverride)
- * AMDILDeviceInfo::MaxNumberCapabilities);
+ * AMDGPUDeviceInfo::MaxNumberCapabilities);
// Default card
StringRef GPU = CPU;
mIs64bit = false;
@@ -22,7 +22,7 @@ AMDGPUSubtarget::AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS) :
mDefaultSize[2] = 1;
ParseSubtargetFeatures(GPU, FS);
mDevName = GPU;
- mDevice = AMDILDeviceInfo::getDeviceFromName(mDevName, this, mIs64bit);
+ mDevice = AMDGPUDeviceInfo::getDeviceFromName(mDevName, this, mIs64bit);
}
AMDGPUSubtarget::~AMDGPUSubtarget()
@@ -31,9 +31,9 @@ AMDGPUSubtarget::~AMDGPUSubtarget()
}
bool
-AMDGPUSubtarget::isOverride(AMDILDeviceInfo::Caps caps) const
+AMDGPUSubtarget::isOverride(AMDGPUDeviceInfo::Caps caps) const
{
- assert(caps < AMDILDeviceInfo::MaxNumberCapabilities &&
+ assert(caps < AMDGPUDeviceInfo::MaxNumberCapabilities &&
"Caps index is out of bounds!");
return CapsOverride[caps];
}
@@ -75,7 +75,7 @@ AMDGPUSubtarget::getDeviceName() const
{
return mDevName;
}
-const AMDILDevice *
+const AMDGPUDevice *
AMDGPUSubtarget::device() const
{
return mDevice;