/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | AMDGPU.cpp | 200 if (isAMDGCN(getTriple())) in fillValidCPUList() 213 GPUKind(isAMDGCN(Triple) ? in AMDGPUTargetInfo() 216 GPUFeatures(isAMDGCN(Triple) ? in AMDGPUTargetInfo() 219 resetDataLayout(isAMDGCN(getTriple()) ? DataLayoutStringAMDGCN in AMDGPUTargetInfo() 223 !isAMDGCN(Triple)); in AMDGPUTargetInfo() 226 if (isAMDGCN(Triple)) { in AMDGPUTargetInfo() 259 !isAMDGCN(getTriple())); in adjust() 272 if (isAMDGCN(getTriple())) in getTargetDefines() 278 StringRef CanonName = isAMDGCN(getTriple()) ? in getTargetDefines() 282 if (isAMDGCN(getTriple())) { in getTargetDefines() [all …]
|
H A D | AMDGPU.h | 83 static bool isAMDGCN(const llvm::Triple &TT) { in isAMDGCN() function 118 bool hasBFloat16Type() const override { return isAMDGCN(getTriple()); } in hasBFloat16Type() 290 bool IsAMDGCN = isAMDGCN(getTriple()); in setSupportedOpenCLOpts() 456 if (!isAMDGCN(getTriple())) in getTargetID()
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | TargetParser.cpp | 263 auto ProcKind = T.isAMDGCN() ? parseArchAMDGCN(Arch) : parseArchR600(Arch); in getCanonicalArchName() 267 return T.isAMDGCN() ? getArchNameAMDGCN(ProcKind) : getArchNameR600(ProcKind); in getCanonicalArchName() 273 if (T.isAMDGCN()) { in fillAMDGPUFeatureMap() 492 if (T.isAMDGCN()) { in isWave32Capable()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | TargetID.cpp | 24 auto ProcKind = T.isAMDGCN() ? llvm::AMDGPU::parseArchAMDGCN(Proc) in getAllPossibleAMDGPUTargetIDFeatures() 28 auto Features = T.isAMDGCN() ? llvm::AMDGPU::getArchAttrAMDGCN(ProcKind) in getAllPossibleAMDGPUTargetIDFeatures()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURemoveIncompatibleFunctions.cpp | 56 assert(TM->getTargetTriple().isAMDGCN()); in runOnModule()
|
H A D | AMDGPUPromoteAlloca.cpp | 164 if (!TM.getTargetTriple().isAMDGCN()) in getMaxVGPRs()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | HIPUtility.cpp | 62 if (TT.isAMDGCN() && getAMDGPUCodeObjectVersion(C.getDriver(), Args) >= 4) in constructHIPFatbinCommand()
|
H A D | CommonArgs.cpp | 280 auto GPUKind = T.isAMDGCN() ? llvm::AMDGPU::parseArchAMDGCN(Processor) in shouldIgnoreUnsupportedTargetFeature() 282 auto GPUFeatures = T.isAMDGCN() ? llvm::AMDGPU::getArchAttrAMDGCN(GPUKind) in shouldIgnoreUnsupportedTargetFeature() 763 const bool IsAMDGCN = ToolChain.getTriple().isAMDGCN(); in addLTOOptions() 2740 Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ in addOpenMPDeviceRTL() 2743 StringRef ArchPrefix = Triple.isAMDGCN() ? "amdgpu" : "nvptx"; in addOpenMPDeviceRTL()
|
H A D | Clang.cpp | 1110 getToolChain().getTriple().isAMDGCN()) && in AddPreprocessingOptions() 1134 getToolChain().getTriple().isAMDGCN())) { in AddPreprocessingOptions() 4951 if (Triple.isAMDGCN() && IsOpenMPDevice && Args.hasArg(options::OPT_S) && in ConstructJob() 6011 if (!Triple.isNVPTX() && !Triple.isAMDGCN()) in ConstructJob()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 216 getTarget().getTriple().isAMDGCN()); in EmitOpenMPDevicePrintfCallExpr()
|
H A D | CGException.cpp | 450 if (CGM.getLangOpts().OpenMPIsTargetDevice && (T.isNVPTX() || T.isAMDGCN())) { in EmitCXXThrowExpr() 627 (CGM.getLangOpts().OpenMPIsTargetDevice && (T.isNVPTX() || T.isAMDGCN())); in EmitCXXTryStmt()
|
H A D | CGOpenMPRuntime.cpp | 2638 (CGM.getTriple().isAMDGCN() || CGM.getTriple().isNVPTX()); in emitDistributeStaticInit() 2664 (CGM.getTriple().isAMDGCN() || CGM.getTriple().isNVPTX())) in emitForStaticFinish()
|
H A D | CGBuiltin.cpp | 5718 getTarget().getTriple().isAMDGCN()) { in EmitBuiltinExpr() 5723 if (getTarget().getTriple().isAMDGCN() && getLangOpts().HIP) in EmitBuiltinExpr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | Triple.h | 820 bool isAMDGCN() const { return getArch() == Triple::amdgcn; } in isAMDGCN() function
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 3960 if ((Opts.OpenMPIsTargetDevice && (T.isNVPTX() || T.isAMDGCN())) || in ParseLangArgs() 4037 (T.isNVPTX() || T.isAMDGCN()) && in ParseLangArgs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 5238 if (T.isAMDGPU() && !T.isAMDGCN() && !DL.contains("-G") && in UpgradeDataLayoutString() 5253 if (T.isAMDGCN()) { in UpgradeDataLayoutString()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | Driver.cpp | 938 if (TT.isNVPTX() || TT.isAMDGCN()) { in CreateOffloadingDeviceToolChains() 948 else if (TT.isAMDGCN()) in CreateOffloadingDeviceToolChains()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 1804 if (TargetTriple.isAMDGCN()) { in instrumentAddress()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 4713 if (T.isAMDGCN()) in setOutlinedTargetRegionFunctionAttributes() 6434 if (T.isAMDGCN()) in createOffloadEntry()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 3622 if (Context.getTargetInfo().getTriple().isAMDGCN() && in getBuiltinID()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 4488 getLangOpts().OpenMPIsTargetDevice && (T.isNVPTX() || T.isAMDGCN()); in ActOnCXXTryBlock()
|
H A D | SemaExprCXX.cpp | 872 getLangOpts().OpenMPIsTargetDevice && (T.isNVPTX() || T.isAMDGCN()); in BuildCXXThrow()
|