Home
last modified time | relevance | path

Searched refs:GPUKind (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTargetParser.cpp28 AMDGPU::GPUKind Kind;
107 const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) { in getArchEntry()
122 StringRef llvm::AMDGPU::getArchNameAMDGCN(GPUKind AK) { in getArchNameAMDGCN()
128 StringRef llvm::AMDGPU::getArchNameR600(GPUKind AK) { in getArchNameR600()
134 AMDGPU::GPUKind llvm::AMDGPU::parseArchAMDGCN(StringRef CPU) { in parseArchAMDGCN()
140 return AMDGPU::GPUKind::GK_NONE; in parseArchAMDGCN()
143 AMDGPU::GPUKind llvm::AMDGPU::parseArchR600(StringRef CPU) { in parseArchR600()
149 return AMDGPU::GPUKind::GK_NONE; in parseArchR600()
152 unsigned AMDGPU::getArchAttrAMDGCN(GPUKind AK) { in getArchAttrAMDGCN()
158 unsigned AMDGPU::getArchAttrR600(GPUKind AK) { in getArchAttrR600()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTargetParser.h80 enum GPUKind : uint32_t { enum
157 StringRef getArchNameAMDGCN(GPUKind AK);
158 StringRef getArchNameR600(GPUKind AK);
160 GPUKind parseArchAMDGCN(StringRef CPU);
161 GPUKind parseArchR600(StringRef CPU);
162 unsigned getArchAttrAMDGCN(GPUKind AK);
163 unsigned getArchAttrR600(GPUKind AK);
/external/llvm-project/llvm/include/llvm/Support/
DTargetParser.h37 enum GPUKind : uint32_t { enum
131 StringRef getArchNameAMDGCN(GPUKind AK);
132 StringRef getArchNameR600(GPUKind AK);
134 GPUKind parseArchAMDGCN(StringRef CPU);
135 GPUKind parseArchR600(StringRef CPU);
136 unsigned getArchAttrAMDGCN(GPUKind AK);
137 unsigned getArchAttrR600(GPUKind AK);
/external/llvm-project/llvm/lib/Support/
DTargetParser.cpp29 AMDGPU::GPUKind Kind;
117 const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) { in getArchEntry()
132 StringRef llvm::AMDGPU::getArchNameAMDGCN(GPUKind AK) { in getArchNameAMDGCN()
138 StringRef llvm::AMDGPU::getArchNameR600(GPUKind AK) { in getArchNameR600()
144 AMDGPU::GPUKind llvm::AMDGPU::parseArchAMDGCN(StringRef CPU) { in parseArchAMDGCN()
150 return AMDGPU::GPUKind::GK_NONE; in parseArchAMDGCN()
153 AMDGPU::GPUKind llvm::AMDGPU::parseArchR600(StringRef CPU) { in parseArchR600()
159 return AMDGPU::GPUKind::GK_NONE; in parseArchR600()
162 unsigned AMDGPU::getArchAttrAMDGCN(GPUKind AK) { in getArchAttrAMDGCN()
168 unsigned AMDGPU::getArchAttrR600(GPUKind AK) { in getArchAttrR600()
[all …]
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.h42 llvm::AMDGPU::GPUKind GPUKind; variable
275 GPUKind = llvm::AMDGPU::parseArchAMDGCN(Name); in setCPU()
276 GPUFeatures = llvm::AMDGPU::getArchAttrAMDGCN(GPUKind); in setCPU()
278 GPUKind = llvm::AMDGPU::parseArchR600(Name); in setCPU()
279 GPUFeatures = llvm::AMDGPU::getArchAttrR600(GPUKind); in setCPU()
282 return GPUKind != llvm::AMDGPU::GK_NONE; in setCPU()
294 if (IsAMDGCN || GPUKind >= llvm::AMDGPU::GK_CEDAR) { in setSupportedOpenCLOpts()
407 getAllPossibleTargetIDFeatures(getTriple(), getArchNameAMDGCN(GPUKind)); in handleTargetFeatures()
427 if (GPUKind == llvm::AMDGPU::GK_NONE) in getTargetID()
429 return getCanonicalTargetID(getArchNameAMDGCN(GPUKind), in getTargetID()
DAMDGPU.cpp308 GPUKind(isAMDGCN(Triple) ? in AMDGPUTargetInfo()
312 llvm::AMDGPU::getArchAttrAMDGCN(GPUKind) : in AMDGPUTargetInfo()
313 llvm::AMDGPU::getArchAttrR600(GPUKind)) { in AMDGPUTargetInfo()
364 if (GPUKind != llvm::AMDGPU::GK_NONE) { in getTargetDefines()
366 getArchNameAMDGCN(GPUKind) : getArchNameR600(GPUKind); in getTargetDefines()
/external/llvm-project/clang/lib/Driver/ToolChains/
DAMDGPU.h77 static bool getDefaultDenormsAreZeroForTarget(llvm::AMDGPU::GPUKind GPUKind);
84 llvm::AMDGPU::GPUKind Kind);
DAMDGPU.cpp455 llvm::AMDGPU::GPUKind Kind) { in getDefaultDenormsAreZeroForTarget()
506 llvm::AMDGPU::GPUKind Kind) { in isWave64()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp60 AMDGPU::GPUKind AK; in getArchNameFromElfMach()
110 AMDGPU::GPUKind AK = parseArchAMDGCN(GPU); in getElfMach()
111 if (AK == AMDGPU::GPUKind::GK_NONE) in getElfMach()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp60 AMDGPU::GPUKind AK; in getArchNameFromElfMach()
118 AMDGPU::GPUKind AK = parseArchAMDGCN(GPU); in getElfMach()
119 if (AK == AMDGPU::GPUKind::GK_NONE) in getElfMach()
/external/clang/lib/Basic/
DTargets.cpp1934 enum GPUKind { enum in __anon6f485c4e0111::AMDGPUTargetInfo
2041 static GPUKind parseR600Name(StringRef Name) { in parseR600Name()
2042 return llvm::StringSwitch<GPUKind>(Name) in parseR600Name()
2071 static GPUKind parseAMDGCNName(StringRef Name) { in parseAMDGCNName()
2072 return llvm::StringSwitch<GPUKind>(Name) in parseAMDGCNName()