Home
last modified time | relevance | path

Searched refs:getTargetOpts (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp424 m_compiler->getTargetOpts().Triple = triple; in ClangExpressionParser()
426 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
436 m_compiler->getTargetOpts().Triple.c_str()); 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().Features.push_back("+sse"); in ClangExpressionParser()
449 m_compiler->getTargetOpts().Features.push_back("+sse2"); in ClangExpressionParser()
455 m_compiler->getTargetOpts().CPU = target_arch.GetClangTargetCPU(); in ClangExpressionParser()
460 m_compiler->getTargetOpts().ABI = abi; in ClangExpressionParser()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h303 TargetOptions &getTargetOpts() const { in getTargetOpts() function
632 getTargetOpts().ForceEnableInt128; in hasInt128Type()
1657 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1663 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { in setCommandLineOpenCLOpts()
1673 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1679 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1684 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1709 return getTargetOpts().SDKVersion; in getSDKVersion()
1736 return !getTargetOpts().DarwinTargetVariantSDKVersion.empty() in getDarwinTargetVariantSDKVersion()
1737 ? getTargetOpts().DarwinTargetVariantSDKVersion in getDarwinTargetVariantSDKVersion()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h132 const TargetOptions &getTargetOpts() const { return *TargetOpts; } in getTargetOpts() function
228 using CompilerInvocationBase::getTargetOpts;
245 TargetOptions &getTargetOpts() { return *TargetOpts; } in getTargetOpts() function
H A DCompilerInstance.h329 TargetOptions &getTargetOpts() { in getTargetOpts() function
330 return Invocation->getTargetOpts(); in getTargetOpts()
332 const TargetOptions &getTargetOpts() const { in getTargetOpts() function
333 return Invocation->getTargetOpts(); in getTargetOpts()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.cpp34 StringRef Arch = CI->getTargetOpts().CPU; in IncrementalCUDADeviceParser()
82 PTU.TheModule->getTargetTriple(), getCI()->getTargetOpts().CPU, "", TO, in GeneratePTX()
H A DIncrementalExecutor.cpp47 JTMB.addFeatures(TI.getTargetOpts().Features); in IncrementalExecutor()
/freebsd-14.2/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp263 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main()
267 return PrintSupportedExtensions(Clang->getTargetOpts().Triple); in cc1_main()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DBPF.cpp33 std::string CPU = getTargetOpts().CPU; in getTargetDefines()
H A DLoongArch.cpp206 StringRef TuneCPU = getTargetOpts().TuneCPU; in getTargetDefines()
H A DMips.h417 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
H A DRISCV.cpp136 StringRef CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DX86.cpp513 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DAArch64.cpp361 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp1040 CI.getTargetOpts(), CI.getLangOpts(), std::string(InFile), in CreateASTConsumer()
1087 M->setTargetTriple(CI.getTargetOpts().Triple); in loadModule()
1177 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction()
1201 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
H A DCGGPUBuiltin.cpp207 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
H A DObjectFilePCHContainerOperations.cpp151 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator()
H A DCGHLSLRuntime.cpp163 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen()
H A DCodeGenModule.cpp879 if (getTarget().getTargetOpts().CodeObjectVersion != in Release()
883 getTarget().getTargetOpts().CodeObjectVersion); in Release()
889 getLLVMContext(), (getTarget().getTargetOpts().AMDGPUPrintfKindVal == in Release()
1068 getTarget().getTargetOpts().Features; in Release()
2590 StringRef TargetCPU = getTarget().getTargetOpts().CPU; in GetCPUAndFeaturesAttributes()
2591 StringRef TuneCPU = getTarget().getTargetOpts().TuneCPU; in GetCPUAndFeaturesAttributes()
2634 Features = getTarget().getTargetOpts().Features; in GetCPUAndFeaturesAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp158 TargetOpts = make_shared_copy(X.getTargetOpts()); in deep_copy_assign()
565 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation()
4603 ParseTargetArgs(Res.getTargetOpts(), Args, Diags); in CreateFromArgsImpl()
4604 llvm::Triple T(Res.getTargetOpts().Triple); in CreateFromArgsImpl()
4625 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl()
4630 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl()
4733 HBuilder.add(getTargetOpts().Triple, getTargetOpts().CPU, in getModuleHash()
4734 getTargetOpts().TuneCPU, getTargetOpts().ABI); in getModuleHash()
4735 HBuilder.addRange(getTargetOpts().FeaturesAsWritten); in getModuleHash()
4827 llvm::Triple T(getTargetOpts().Triple); in generateCC1CommandLine()
[all …]
H A DFrontendAction.cpp793 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp370 if (CGM.getTarget().getTargetOpts().CodeObjectVersion == in emitTargetGlobals()
376 Type, CGM.getTarget().getTargetOpts().CodeObjectVersion); in emitTargetGlobals()
H A DARM.cpp147 Attr.CPU.empty() ? CGM.getTarget().getTargetOpts().CPU : Attr.CPU; in setTargetAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2411 getTargetInfo().getTriple(), Target->getTargetOpts().FeatureMap); in getOpenMPDefaultSimdAlign()
13494 Target->getTargetOpts().CPU, in getFunctionFeatureMap()
13495 Target->getTargetOpts().Features); in getFunctionFeatureMap()
13502 StringRef TargetCPU = Target->getTargetOpts().CPU; in getFunctionFeatureMap()
13511 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13512 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
13529 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13530 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
13559 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13560 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp564 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()

12