/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 116 const TargetOptions &TargetOpts, const LangOptions &LangOpts, in BackendConsumer() argument 121 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 141 const TargetOptions &TargetOpts, const LangOptions &LangOpts, in BackendConsumer() argument 145 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 241 F, CodeGenOpts, LangOpts, TargetOpts, LM.Internalize); in LinkInModules() 297 Ctx.setDefaultTargetCPU(TargetOpts.CPU); in HandleTranslationUnit() 298 Ctx.setDefaultTargetFeatures(llvm::join(TargetOpts.Features, ",")); in HandleTranslationUnit() 354 EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 1168 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 1169 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() [all …]
|
H A D | BackendConsumer.h | 35 const TargetOptions &TargetOpts; variable 77 const TargetOptions &TargetOpts, const LangOptions &LangOpts, 91 const TargetOptions &TargetOpts, const LangOptions &LangOpts,
|
H A D | BackendUtil.cpp | 138 const clang::TargetOptions &TargetOpts; member in __anon3496e3440111::EmitAssemblyHelper 216 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), VFS(std::move(VFS)), in EmitAssemblyHelper() 327 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument 372 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions() 477 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions() 562 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine() 570 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, in CreateTargetMachine() 573 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
|
H A D | CGHLSLRuntime.cpp | 166 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen() local 170 addDxilValVersion(TargetOpts.DxilValidatorVersion, M); in finishCodeGen()
|
H A D | CGCall.h | 419 const TargetOptions &TargetOpts,
|
H A D | CGCall.cpp | 2020 const TargetOptions &TargetOpts) { in overrideFunctionFeaturesWithTargetFeatures() argument 2025 MergedFeatures.reserve(TargetOpts.Features.size()); in overrideFunctionFeaturesWithTargetFeatures() 2041 AddUnmergedFeatures(TargetOpts.Features); in overrideFunctionFeaturesWithTargetFeatures() 2051 const LangOptions &LangOpts, const TargetOptions &TargetOpts, in mergeDefaultFunctionDefinitionAttributes() argument 2057 if (!TargetOpts.CPU.empty()) in mergeDefaultFunctionDefinitionAttributes() 2058 FuncAttrs.addAttribute("target-cpu", TargetOpts.CPU); in mergeDefaultFunctionDefinitionAttributes() 2059 if (!TargetOpts.TuneCPU.empty()) in mergeDefaultFunctionDefinitionAttributes() 2060 FuncAttrs.addAttribute("tune-cpu", TargetOpts.TuneCPU); in mergeDefaultFunctionDefinitionAttributes() 2107 overrideFunctionFeaturesWithTargetFeatures(FuncAttrs, F, TargetOpts); in mergeDefaultFunctionDefinitionAttributes()
|
/freebsd/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1_main.cpp | 165 static int PrintEnabledExtensions(const TargetOptions& TargetOpts) { in PrintEnabledExtensions() argument 168 llvm::TargetRegistry::lookupTarget(TargetOpts.Triple, Error); in PrintEnabledExtensions() 178 std::string FeaturesStr = llvm::join(TargetOpts.FeaturesAsWritten, ","); in PrintEnabledExtensions() 180 …TheTarget->createTargetMachine(TargetOpts.Triple, TargetOpts.CPU, FeaturesStr, BackendOptions, std… in PrintEnabledExtensions()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | M68k.cpp | 31 : TargetInfo(Triple), TargetOpts(Opts) { in M68kTargetInfo() 113 if (TargetOpts.FeatureMap.lookup("isa-68881") || in getTargetDefines() 114 TargetOpts.FeatureMap.lookup("isa-68882")) in getTargetDefines()
|
H A D | M68k.h | 40 const TargetOptions &TargetOpts; variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 80 std::shared_ptr<TargetOptions> TargetOpts; variable 132 const TargetOptions &getTargetOpts() const { return *TargetOpts; } in getTargetOpts() 250 TargetOptions &getTargetOpts() { return *TargetOpts; } in getTargetOpts() 271 using CompilerInvocationBase::TargetOpts;
|
H A D | ASTUnit.h | 118 std::shared_ptr<TargetOptions> TargetOpts; variable
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 648 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 651 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 652 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 653 Out.indent(4) << " TuneCPU: " << TargetOpts.TuneCPU << "\n"; in ReadTargetOptions() 654 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 656 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 658 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 660 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
H A D | ASTUnit.cpp | 523 std::shared_ptr<TargetOptions> &TargetOpts; member in __anone37b80710211::ASTInfoCollector 533 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 536 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector() 606 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 612 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 614 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 867 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
|
H A D | ChainedIncludesSource.cpp | 130 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
H A D | CompilerInvocation.cpp | 141 TargetOpts(std::make_shared<TargetOptions>()), in CompilerInvocationBase() 158 TargetOpts = make_shared_copy(X.getTargetOpts()); in deep_copy_assign() 178 TargetOpts = X.TargetOpts; in shallow_copy_assign() 226 return ensureOwned(TargetOpts); in getMutTargetOpts() 576 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation() local 590 llvm::Triple T(TargetOpts.Triple); in FixupInvocation() 593 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation() 594 CodeGenOpts.LargeDataThreshold = TargetOpts.LargeDataThreshold; in FixupInvocation() 4727 const TargetOptions *TargetOpts = &Opts; in GenerateTargetArgs() local 4745 TargetOptions *TargetOpts = &Opts; in ParseTargetArgs() local
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 219 std::shared_ptr<TargetOptions> TargetOpts; variable 313 assert(TargetOpts && "Missing target options"); in getTargetOpts() 314 return *TargetOpts; in getTargetOpts()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 142 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 267 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 304 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 1809 const TargetOptions &TargetOpts,
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 185 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 187 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 189 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 389 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 394 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions() 397 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions() 419 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions() 420 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions() 461 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 465 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() [all …]
|
H A D | ASTWriter.cpp | 1588 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1589 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1590 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1591 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock() 1592 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1593 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1594 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1595 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1597 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1598 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCContext.cpp | 69 const SourceMgr *mgr, MCTargetOptions const *TargetOpts, in MCContext() argument 76 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCContext.h | 388 MCTargetOptions const *TargetOpts = nullptr,
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangModulesDeclVendor.cpp | 746 *diagnostics_engine, instance->getInvocation().TargetOpts)); in Create()
|
H A D | ClangExpressionParser.cpp | 469 m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts); in ClangExpressionParser()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 121 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | Targets.cpp | 774 Target->TargetOpts = Opts; in CreateTargetInfo()
|