| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 109 const TargetOptions &TargetOpts; member in clang::BackendConsumer 137 const TargetOptions &TargetOpts, in BackendConsumer() argument 143 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 162 const TargetOptions &TargetOpts, in BackendConsumer() argument 167 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 334 EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit() 1066 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 1067 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() 1069 << TargetOpts.Triple; in ExecuteAction() 1070 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 51 const TargetOptions TargetOpts; member in __anon115c17220111::PCHContainerGenerator 145 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator() 297 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 305 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
|
| H A D | BackendUtil.cpp | 105 const clang::TargetOptions &TargetOpts; member in __anoncdf3490f0111::EmitAssemblyHelper 156 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), in EmitAssemblyHelper() 471 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument 518 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions() 588 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions() 898 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine() 903 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, in CreateTargetMachine() 906 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 78 std::shared_ptr<TargetOptions> TargetOpts; variable 102 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() 103 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts()
|
| H A D | ASTUnit.h | 118 std::shared_ptr<TargetOptions> TargetOpts; variable
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 563 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 566 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 567 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 568 Out.indent(4) << " TuneCPU: " << TargetOpts.TuneCPU << "\n"; in ReadTargetOptions() 569 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 571 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 573 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 575 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
| H A D | ASTUnit.cpp | 523 std::shared_ptr<TargetOptions> &TargetOpts; member in __anonc715c21c0211::ASTInfoCollector 532 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 535 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector() 563 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 569 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 571 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 823 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
|
| H A D | CompilerInvocation.cpp | 113 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationRefBase() 122 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationRefBase() 134 TargetOpts.swap(X.TargetOpts); in operator =() 449 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation() local 461 llvm::Triple T(TargetOpts.Triple); in FixupInvocation() 464 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation() 4303 const TargetOptions *TargetOpts = &Opts; in GenerateTargetArgs() local 4324 TargetOptions *TargetOpts = &Opts; in ParseTargetArgs() local 4499 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash() 4500 TargetOpts->TuneCPU, TargetOpts->ABI); in getModuleHash() [all …]
|
| H A D | ChainedIncludesSource.cpp | 153 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
| H A D | CompilerInstance.cpp | 103 getInvocation().TargetOpts)); in createTarget()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 189 std::shared_ptr<TargetOptions> TargetOpts; variable 259 assert(TargetOpts && "Missing target options"); in getTargetOpts() 260 return *TargetOpts; in getTargetOpts() 1163 TargetOptions &TargetOpts) const {} in adjustTargetOptions() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 107 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 142 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 249 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 286 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 1718 const TargetOptions &TargetOpts,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCContext.cpp | 67 const SourceMgr *mgr, MCTargetOptions const *TargetOpts, in MCContext() argument 74 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
|
| /netbsd-src/external/mit/isl/dist/interface/ |
| H A D | extract_interface.cc | 326 shared_ptr<TargetOptions> TO = Clang->getInvocation().TargetOpts; in create_target_info()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 177 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 179 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 181 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 375 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 380 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions() 383 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions() 405 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions() 406 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions() 447 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 451 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() [all …]
|
| H A D | ASTWriter.cpp | 1273 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1274 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1275 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1276 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock() 1277 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1278 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1279 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1280 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1282 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1283 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 209 Ins->getDiagnostics(), Ins->getInvocation().TargetOpts); in BuildCompilerInstance()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 28 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo()
|
| H A D | Targets.cpp | 666 Target->TargetOpts = Opts; in CreateTargetInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 398 MCTargetOptions const *TargetOpts = nullptr,
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
| H A D | Options.td | 250 class TargetOpts<string base> 251 : KeyPathAndMacro<"TargetOpts->", base, "TARGET_"> {} 934 TargetOpts<"NVPTXUseShortPointers">, DefaultFalse, 1470 TargetOpts<"ForceEnableInt128">, DefaultFalse, 3023 MarshallingInfoString<TargetOpts<"CodeModel">, [{"default"}]>; 3100 MarshallingInfoEnum<TargetOpts<"EABIVersion">, "Default">, 3281 TargetOpts<"AllowAMDGPUUnsafeFPAtomics">, DefaultFalse, 4536 MarshallingInfoString<TargetOpts<"CPU">>; 4539 MarshallingInfoString<TargetOpts<"TuneCPU">>; 4542 MarshallingInfoStringVector<TargetOpts<"FeaturesAsWritten">>; [all …]
|