Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp429 m_compiler->getTargetOpts().Triple = triple; in ClangExpressionParser()
431 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
441 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
446 m_compiler->getTargetOpts().Triple.find("arm") != std::string::npos && in ClangExpressionParser()
448 m_compiler->getTargetOpts().ABI = "apcs-gnu"; in ClangExpressionParser()
453 m_compiler->getTargetOpts().Features.push_back("+sse"); in ClangExpressionParser()
454 m_compiler->getTargetOpts().Features.push_back("+sse2"); in ClangExpressionParser()
460 m_compiler->getTargetOpts().CPU = target_arch.GetClangTargetCPU(); in ClangExpressionParser()
465 m_compiler->getTargetOpts().ABI = abi; in ClangExpressionParser()
484 auto opts = m_compiler->getTargetOpts(); in ClangExpressionParser()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h281 TargetOptions &getTargetOpts() const { in getTargetOpts() function
610 getTargetOpts().ForceEnableInt128; in hasInt128Type()
1624 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1630 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { in setCommandLineOpenCLOpts()
1640 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1646 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1651 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1676 return getTargetOpts().SDKVersion; in getSDKVersion()
1703 return !getTargetOpts().DarwinTargetVariantSDKVersion.empty() in getDarwinTargetVariantSDKVersion()
1704 ? getTargetOpts().DarwinTargetVariantSDKVersion in getDarwinTargetVariantSDKVersion()
/openbsd/gnu/llvm/clang/include/clang/Frontend/
H A DCompilerInstance.h322 TargetOptions &getTargetOpts() { in getTargetOpts() function
323 return Invocation->getTargetOpts(); in getTargetOpts()
325 const TargetOptions &getTargetOpts() const { in getTargetOpts() function
326 return Invocation->getTargetOpts(); in getTargetOpts()
H A DCompilerInvocation.h107 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() function
108 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts() function
/openbsd/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalExecutor.cpp39 JTMB.addFeatures(TI.getTargetOpts().Features); in IncrementalExecutor()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenAction.cpp1084 CI.getTargetOpts(), CI.getLangOpts(), std::string(InFile), in CreateASTConsumer()
1133 M->setTargetTriple(CI.getTargetOpts().Triple); in loadModule()
1195 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction()
1219 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
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.cpp598 if (getTarget().getTargetOpts().CodeObjectVersion != in Release()
602 getTarget().getTargetOpts().CodeObjectVersion); in Release()
2197 StringRef TargetCPU = getTarget().getTargetOpts().CPU; in GetCPUAndFeaturesAttributes()
2198 StringRef TuneCPU = getTarget().getTargetOpts().TuneCPU; in GetCPUAndFeaturesAttributes()
2242 Features = getTarget().getTargetOpts().Features; in GetCPUAndFeaturesAttributes()
H A DCGOpenMPRuntimeGPU.cpp3514 for (const auto &Feature : CGM.getTarget().getTargetOpts().FeatureMap) { in getCudaArch()
/openbsd/gnu/llvm/clang/tools/driver/
H A Dcc1_main.cpp224 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main()
/openbsd/gnu/llvm/clang/lib/Basic/Targets/
H A DMips.h403 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
H A DRISCV.cpp131 StringRef CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DX86.cpp423 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DAArch64.cpp348 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
/openbsd/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp204 Inv->getTargetOpts().Triple = llvm::sys::getDefaultTargetTriple(); in BuildCompilerInstance()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DARCMT.cpp153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DCompilerInvocation.cpp139 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationRefBase()
468 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation()
4506 ParseTargetArgs(Res.getTargetOpts(), Args, Diags); in CreateFromArgsImpl()
4507 llvm::Triple T(Res.getTargetOpts().Triple); in CreateFromArgsImpl()
4527 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl()
4532 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl()
H A DCompilerInstance.cpp154 getTarget().adjustTargetOptions(getCodeGenOpts(), getTargetOpts()); in createTarget()
1071 OS << " when compiling for " << getTargetOpts().CPU; in ExecuteAction()
H A DFrontendAction.cpp786 CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmtAsm.cpp564 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp13341 Target->getTargetOpts().CPU, in getFunctionFeatureMap()
13342 Target->getTargetOpts().Features); in getFunctionFeatureMap()
13349 StringRef TargetCPU = Target->getTargetOpts().CPU; in getFunctionFeatureMap()
13358 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13359 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
13376 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13377 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
13394 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
13405 Target->getTargetOpts().FeaturesAsWritten.begin(), in getFunctionFeatureMap()
13406 Target->getTargetOpts().FeaturesAsWritten.end()); in getFunctionFeatureMap()
[all …]
/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPMacroExpansion.cpp1684 getTargetInfo().getTargetOpts().FeatureMap); in ExpandBuiltinMacro()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp1410 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock()
H A DASTReader.cpp453 const TargetOptions &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts(); in ReadTargetOptions()

12