Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp285 m_compiler->getTargetOpts().Triple = triple; in ClangExpressionParser()
288 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
299 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
306 m_compiler->getTargetOpts().ABI = "apcs-gnu"; in ClangExpressionParser()
311 m_compiler->getTargetOpts().Features.push_back("+sse"); in ClangExpressionParser()
312 m_compiler->getTargetOpts().Features.push_back("+sse2"); in ClangExpressionParser()
318 m_compiler->getTargetOpts().CPU = target_arch.GetClangTargetCPU(); in ClangExpressionParser()
323 m_compiler->getTargetOpts().ABI = abi; in ClangExpressionParser()
338 auto opts = m_compiler->getTargetOpts(); in ClangExpressionParser()
424 ArchSpec(m_compiler->getTargetOpts().Triple.c_str()) in ClangExpressionParser()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetInfo.h152 TargetOptions &getTargetOpts() const { in getTargetOpts() function
512 return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128; in hasInt128Type()
1286 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { in setOpenCLExtensionOpts()
1287 getTargetOpts().SupportedOpenCLOptions.support(Ext); in setOpenCLExtensionOpts()
1293 return getTargetOpts().SupportedOpenCLOptions; in getSupportedOpenCLOpts()
1298 return getTargetOpts().SupportedOpenCLOptions; in getSupportedOpenCLOpts()
1333 return getTargetOpts().SDKVersion; in getSDKVersion()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h90 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() function
91 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts() function
H A DCompilerInstance.h331 TargetOptions &getTargetOpts() { in getTargetOpts() function
332 return Invocation->getTargetOpts(); in getTargetOpts()
334 const TargetOptions &getTargetOpts() const { in getTargetOpts() function
335 return Invocation->getTargetOpts(); in getTargetOpts()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/
H A DMips.h402 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
H A DX86.cpp868 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp897 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
968 M->setTargetTriple(CI.getTargetOpts().Triple); in loadModule()
1025 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction()
H A DObjectFilePCHContainerOperations.cpp146 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator()
H A DCodeGenModule.cpp1398 StringRef TargetCPU = getTarget().getTargetOpts().CPU; in GetCPUAndFeaturesAttributes()
1426 Features = getTarget().getTargetOpts().Features; in GetCPUAndFeaturesAttributes()
5463 StringRef TargetCPU = Target.getTargetOpts().CPU; in getFunctionFeatureMap()
5471 Target.getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
5472 Target.getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
5492 Target.getTargetOpts().Features); in getFunctionFeatureMap()
H A DCGOpenMPRuntimeNVPTX.cpp4383 CGM.getTarget().getTargetOpts().CPU, in getCudaArch()
4384 CGM.getTarget().getTargetOpts().Features); in getCudaArch()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInvocation.cpp111 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase()
3273 ParseTargetArgs(Res.getTargetOpts(), Args, Diags); in CreateFromArgs()
3275 Res.getTargetOpts(), Res.getFrontendOpts()); in CreateFromArgs()
3278 llvm::Triple T(Res.getTargetOpts().Triple); in CreateFromArgs()
3295 ParseLangArgs(LangOpts, Args, DashX, Res.getTargetOpts(), in CreateFromArgs()
3314 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
3319 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
H A DCompilerInstance.cpp930 getTarget().adjustTargetOptions(getCodeGenOpts(), getTargetOpts()); in ExecuteAction()
981 OS << " when compiling for " << getTargetOpts().CPU; in ExecuteAction()
H A DFrontendAction.cpp725 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmtAsm.cpp581 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp1615 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock()
H A DASTReader.cpp442 const TargetOptions &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts(); in ReadTargetOptions()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp2626 const TargetOptions &Opts = TI.getTargetOpts(); in CheckHexagonBuiltinCpu()