/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExpressionParser.cpp | 424 m_compiler->getTargetOpts().Triple = triple; in ClangExpressionParser() 426 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser() 434 m_compiler->getTargetOpts().Triple = llvm::sys::getDefaultTargetTriple(); in ClangExpressionParser() 436 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser() 440 if (m_compiler->getTargetOpts().Triple.find("arm64") == std::string::npos && in ClangExpressionParser() 441 m_compiler->getTargetOpts().Triple.find("arm") != std::string::npos && in ClangExpressionParser() 442 m_compiler->getTargetOpts().Triple.find("ios") != std::string::npos) { in ClangExpressionParser() 443 m_compiler->getTargetOpts().ABI = "apcs-gnu"; in ClangExpressionParser() 448 m_compiler->getTargetOpts().FeaturesAsWritten.push_back("+sse"); in ClangExpressionParser() 449 m_compiler->getTargetOpts().FeaturesAsWritten.push_back("+sse2"); in ClangExpressionParser() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 312 TargetOptions &getTargetOpts() const { in getTargetOpts() function 657 getTargetOpts().ForceEnableInt128; in hasInt128Type() 1744 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V); 1750 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { in setCommandLineOpenCLOpts() 1760 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts() 1766 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts() 1771 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts() 1796 return getTargetOpts().SDKVersion; in getSDKVersion() 1823 return !getTargetOpts().DarwinTargetVariantSDKVersion.empty() in getDarwinTargetVariantSDKVersion() 1824 ? getTargetOpts().DarwinTargetVariantSDKVersion in getDarwinTargetVariantSDKVersion()
|
/freebsd/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1_main.cpp | 249 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main() 253 return PrintSupportedExtensions(Clang->getTargetOpts().Triple); in cc1_main() 257 return PrintEnabledExtensions(Clang->getTargetOpts()); in cc1_main()
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 132 const TargetOptions &getTargetOpts() const { return *TargetOpts; } in getTargetOpts() function 233 using CompilerInvocationBase::getTargetOpts; 250 TargetOptions &getTargetOpts() { return *TargetOpts; } in getTargetOpts() function
|
H A D | CompilerInstance.h | 353 TargetOptions &getTargetOpts() { in getTargetOpts() function 354 return Invocation->getTargetOpts(); in getTargetOpts() 356 const TargetOptions &getTargetOpts() const { in getTargetOpts() function 357 return Invocation->getTargetOpts(); in getTargetOpts()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | DeviceOffload.cpp | 35 StringRef Arch = CI->getTargetOpts().CPU; in IncrementalCUDADeviceParser() 83 PTU.TheModule->getTargetTriple(), getCI()->getTargetOpts().CPU, "", TO, in GeneratePTX()
|
H A D | Interpreter.cpp | 427 const std::string &TT = getCompilerInstance()->getTargetOpts().Triple; in CreateExecutor()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | BPF.cpp | 33 std::string CPU = getTargetOpts().CPU; in getTargetDefines()
|
H A D | LoongArch.cpp | 223 StringRef TuneCPU = getTargetOpts().TuneCPU; in getTargetDefines()
|
H A D | Mips.h | 441 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
|
H A D | RISCV.cpp | 137 StringRef CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
|
H A D | AArch64.cpp | 394 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines() 1160 FeatureBits.reconstructFromParsedFeatures(getTargetOpts().FeaturesAsWritten, in parseTargetAttr()
|
H A D | X86.cpp | 524 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 1021 CI.getTargetOpts(), CI.getLangOpts(), std::string(InFile), in CreateASTConsumer() 1078 M->setTargetTriple(CI.getTargetOpts().Triple); in loadModule() 1168 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() 1192 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
|
H A D | CGGPUBuiltin.cpp | 210 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
|
H A D | CGHLSLRuntime.cpp | 166 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen()
|
H A D | CodeGenModule.cpp | 919 if (getTarget().getTargetOpts().CodeObjectVersion != in Release() 923 getTarget().getTargetOpts().CodeObjectVersion); in Release() 929 getLLVMContext(), (getTarget().getTargetOpts().AMDGPUPrintfKindVal == in Release() 1108 getTarget().getTargetOpts().Features; in Release() 2624 StringRef TargetCPU = getTarget().getTargetOpts().CPU; in GetCPUAndFeaturesAttributes() 2625 StringRef TuneCPU = getTarget().getTargetOpts().TuneCPU; in GetCPUAndFeaturesAttributes() 2668 Features = getTarget().getTargetOpts().Features; in GetCPUAndFeaturesAttributes()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 158 TargetOpts = make_shared_copy(X.getTargetOpts()); in deep_copy_assign() 576 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation() 4810 ParseTargetArgs(Res.getTargetOpts(), Args, Diags); in CreateFromArgsImpl() 4811 llvm::Triple T(Res.getTargetOpts().Triple); in CreateFromArgsImpl() 4834 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 4839 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 4942 HBuilder.add(getTargetOpts().Triple, getTargetOpts().CPU, in getModuleHash() 4943 getTargetOpts().TuneCPU, getTargetOpts().ABI); in getModuleHash() 4944 HBuilder.addRange(getTargetOpts().FeaturesAsWritten); in getModuleHash() 5037 llvm::Triple T(getTargetOpts().Triple); in generateCC1CommandLine() [all …]
|
H A D | FrontendAction.cpp | 802 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 410 if (CGM.getTarget().getTargetOpts().CodeObjectVersion == in emitTargetGlobals() 416 Type, CGM.getTarget().getTargetOpts().CodeObjectVersion); in emitTargetGlobals()
|
H A D | ARM.cpp | 150 Attr.CPU.empty() ? CGM.getTarget().getTargetOpts().CPU : Attr.CPU; in setTargetAttributes() 171 CGM.getTarget().getTargetOpts().CPU)) { in setTargetAttributes()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseStmtAsm.cpp | 564 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 2453 getTargetInfo().getTriple(), Target->getTargetOpts().FeatureMap); in getOpenMPDefaultSimdAlign() 14069 Target->getTargetOpts().CPU, in getFunctionFeatureMap() 14070 Target->getTargetOpts().Features); in getFunctionFeatureMap() 14077 StringRef TargetCPU = Target->getTargetOpts().CPU; in getFunctionFeatureMap() 14088 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap() 14089 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap() 14106 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap() 14107 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap() 14115 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap() 14116 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaHLSL.cpp | 184 if (FD->getName() != TargetInfo.getTargetOpts().HLSLEntry) in ActOnTopLevelFunction()
|