| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/ |
| H A D | AMDGPU.cpp | 205 TargetOptions &TargetOpts) const { in adjustTargetOptions() 209 for (auto &I : TargetOpts.FeaturesAsWritten) { in adjustTargetOptions() 216 TargetOpts.Features.push_back( in adjustTargetOptions() 222 TargetOpts.Features.push_back("+fp64-fp16-denormals"); in adjustTargetOptions()
|
| H A D | AMDGPU.h | 214 TargetOptions &TargetOpts) const override;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 71 std::shared_ptr<TargetOptions> TargetOpts; variable 90 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() 91 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts()
|
| H A D | ASTUnit.h | 116 std::shared_ptr<TargetOptions> TargetOpts; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 89 const TargetOptions &TargetOpts; member in clang::BackendConsumer 115 const TargetOptions &TargetOpts, in BackendConsumer() argument 122 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 293 EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit() 1025 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 1026 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() 1029 << TargetOpts.Triple; in ExecuteAction() 1030 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction() 1041 CI.getCodeGenOpts(), TargetOpts, CI.getLangOpts(), in ExecuteAction()
|
| H A D | ObjectFilePCHContainerOperations.cpp | 52 const TargetOptions TargetOpts; member in __anon266401a60111::PCHContainerGenerator 146 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator() 298 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 306 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
|
| H A D | BackendUtil.cpp | 80 const clang::TargetOptions &TargetOpts; member in __anonf19209130111::EmitAssemblyHelper 131 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), in EmitAssemblyHelper() 414 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument 454 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions() 489 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions() 736 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine() 741 initTargetOptions(Options, CodeGenOpts, TargetOpts, LangOpts, HSOpts); in CreateTargetMachine() 742 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 535 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 538 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 539 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 540 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 542 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 544 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 546 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
| H A D | ASTUnit.cpp | 522 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon0cd8e0a00211::ASTInfoCollector 531 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 534 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector() 562 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 568 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 570 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 802 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile() 1118 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse() 1549 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in LoadFromCompilerInvocationAction() 2171 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CodeComplete()
|
| H A D | CompilerInvocation.cpp | 111 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase() 624 llvm::Triple Triple = llvm::Triple(TargetOpts.Triple); in ParseCodeGenArgs() 812 Opts.CodeModel = TargetOpts.CodeModel; in ParseCodeGenArgs() 2277 const TargetOptions &TargetOpts, in ParseLangArgs() argument 2358 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs() 2568 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs() 2767 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs() 2788 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs() 2828 << TargetOpts.Triple; in ParseLangArgs() 3375 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash() [all …]
|
| H A D | ChainedIncludesSource.cpp | 152 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
| H A D | PrecompiledPreamble.cpp | 289 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Build()
|
| H A D | CompilerInstance.cpp | 910 getInvocation().TargetOpts)); in ExecuteAction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 55 std::shared_ptr<TargetOptions> TargetOpts; variable 153 assert(TargetOpts && "Missing target options"); in getTargetOpts() 154 return *TargetOpts; in getTargetOpts() 1010 TargetOptions &TargetOpts) const {} in adjustTargetOptions() argument
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 155 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 262 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 299 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 1694 const TargetOptions &TargetOpts,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 171 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 173 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 175 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 369 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 443 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() 5283 TargetOptions TargetOpts; in ParseTargetOptions() local 5284 TargetOpts.Triple = ReadString(Record, Idx); in ParseTargetOptions() 5285 TargetOpts.CPU = ReadString(Record, Idx); in ParseTargetOptions() 5286 TargetOpts.ABI = ReadString(Record, Idx); in ParseTargetOptions() 5291 TargetOpts.Features.push_back(ReadString(Record, Idx)); in ParseTargetOptions() [all …]
|
| H A D | ASTWriter.cpp | 1615 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1616 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1617 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1618 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1619 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1620 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1621 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1623 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1624 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() 1625 AddString(TargetOpts.Features[I], Record); in WriteControlBlock()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 29 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo()
|
| H A D | Targets.cpp | 618 Target->TargetOpts = Opts; in CreateTargetInfo()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 641 *diagnostics_engine, instance->getInvocation().TargetOpts)); in Create()
|
| H A D | ClangExpressionParser.cpp | 351 m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts); in ClangExpressionParser()
|