diff options
author | Tom Stellard <[email protected]> | 2012-07-30 15:57:50 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-30 21:10:14 +0000 |
commit | 2f921101c0826dc52a2c69f85c3da0f7f6e8212a (patch) | |
tree | b0e58be6d20eee06df83a94571e149d73a401c15 /src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp | |
parent | b72ab79d73b29ec087d90cf2c698adbab4db5def (diff) |
radeon/llvm: Rename all AMDIL* classes to AMDGPU*
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp b/src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp index f5f7966cc95..1b1cd02894d 100644 --- a/src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp +++ b/src/gallium/drivers/radeon/AMDILIntrinsicInfo.cpp @@ -24,13 +24,13 @@ using namespace llvm; #include "AMDGPUGenIntrinsics.inc" #undef GET_LLVM_INTRINSIC_FOR_GCC_BUILTIN -AMDILIntrinsicInfo::AMDILIntrinsicInfo(TargetMachine *tm) +AMDGPUIntrinsicInfo::AMDGPUIntrinsicInfo(TargetMachine *tm) : TargetIntrinsicInfo(), mTM(tm) { } std::string -AMDILIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, +AMDGPUIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, unsigned int numTys) const { static const char* const names[] = { @@ -40,11 +40,11 @@ AMDILIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, }; //assert(!isOverloaded(IntrID) - //&& "AMDIL Intrinsics are not overloaded"); + //&& "AMDGPU Intrinsics are not overloaded"); if (IntrID < Intrinsic::num_intrinsics) { return 0; } - assert(IntrID < AMDGPUIntrinsic::num_AMDIL_intrinsics + assert(IntrID < AMDGPUIntrinsic::num_AMDGPU_intrinsics && "Invalid intrinsic ID"); std::string Result(names[IntrID - Intrinsic::num_intrinsics]); @@ -52,7 +52,7 @@ AMDILIntrinsicInfo::getName(unsigned int IntrID, Type **Tys, } unsigned int -AMDILIntrinsicInfo::lookupName(const char *Name, unsigned int Len) const +AMDGPUIntrinsicInfo::lookupName(const char *Name, unsigned int Len) const { #define GET_FUNCTION_RECOGNIZER #include "AMDGPUGenIntrinsics.inc" @@ -68,7 +68,7 @@ AMDILIntrinsicInfo::lookupName(const char *Name, unsigned int Len) const } bool -AMDILIntrinsicInfo::isOverloaded(unsigned id) const +AMDGPUIntrinsicInfo::isOverloaded(unsigned id) const { // Overload Table #define GET_INTRINSIC_OVERLOAD_TABLE @@ -82,7 +82,7 @@ AMDILIntrinsicInfo::isOverloaded(unsigned id) const #undef GET_INTRINSIC_ATTRIBUTES Function* -AMDILIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, +AMDGPUIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, Type **Tys, unsigned numTys) const { |