Home
last modified time | relevance | path

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

12

/freebsd/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()
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 DTargetInfo.h312 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 Dcc1_main.cpp249 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 DCompilerInvocation.h132 const TargetOptions &getTargetOpts() const { return *TargetOpts; } in getTargetOpts() function
233 using CompilerInvocationBase::getTargetOpts;
250 TargetOptions &getTargetOpts() { return *TargetOpts; } in getTargetOpts() function
H A DCompilerInstance.h353 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 DDeviceOffload.cpp35 StringRef Arch = CI->getTargetOpts().CPU; in IncrementalCUDADeviceParser()
83 PTU.TheModule->getTargetTriple(), getCI()->getTargetOpts().CPU, "", TO, in GeneratePTX()
H A DInterpreter.cpp427 const std::string &TT = getCompilerInstance()->getTargetOpts().Triple; in CreateExecutor()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DBPF.cpp33 std::string CPU = getTargetOpts().CPU; in getTargetDefines()
H A DLoongArch.cpp223 StringRef TuneCPU = getTargetOpts().TuneCPU; in getTargetDefines()
H A DMips.h441 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
H A DRISCV.cpp137 StringRef CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DAArch64.cpp394 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
1160 FeatureBits.reconstructFromParsedFeatures(getTargetOpts().FeaturesAsWritten, in parseTargetAttr()
H A DX86.cpp524 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp1021 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 DCGGPUBuiltin.cpp210 bool isBuffered = (CGM.getTarget().getTargetOpts().AMDGPUPrintfKindVal == in EmitAMDGPUDevicePrintfCallExpr()
H A DCGHLSLRuntime.cpp166 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen()
H A DCodeGenModule.cpp919 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 DCompilerInvocation.cpp158 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 DFrontendAction.cpp802 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp410 if (CGM.getTarget().getTargetOpts().CodeObjectVersion == in emitTargetGlobals()
416 Type, CGM.getTarget().getTargetOpts().CodeObjectVersion); in emitTargetGlobals()
H A DARM.cpp150 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 DARCMT.cpp153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp564 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2453 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 DSemaHLSL.cpp184 if (FD->getName() != TargetInfo.getTargetOpts().HLSLEntry) in ActOnTopLevelFunction()

12