| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 114 const TargetOptions &TargetOpts; member in clang::BackendConsumer 154 const TargetOptions &TargetOpts, in BackendConsumer() argument 160 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 180 const TargetOptions &TargetOpts, in BackendConsumer() argument 185 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 382 EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit() 1195 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 1196 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() 1198 << TargetOpts.Triple; in ExecuteAction() 1199 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 52 const TargetOptions TargetOpts; member in __anon622f1b6e0111::PCHContainerGenerator 151 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator() 321 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 329 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
|
| H A D | BackendUtil.cpp | 123 const clang::TargetOptions &TargetOpts; member in __anonf4fb55db0111::EmitAssemblyHelper 192 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), in EmitAssemblyHelper() 338 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument 387 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions() 483 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions() 565 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine() 573 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, in CreateTargetMachine() 576 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
|
| H A D | CGHLSLRuntime.cpp | 163 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen() local 167 addDxilValVersion(TargetOpts.DxilValidatorVersion, M); in finishCodeGen()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 83 std::shared_ptr<TargetOptions> TargetOpts; variable 107 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() 108 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts()
|
| H A D | ASTUnit.h | 117 std::shared_ptr<TargetOptions> TargetOpts; variable
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 604 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 607 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 608 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 609 Out.indent(4) << " TuneCPU: " << TargetOpts.TuneCPU << "\n"; in ReadTargetOptions() 610 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 612 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 614 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 616 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
| H A D | ASTUnit.cpp | 523 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon539022680211::ASTInfoCollector 533 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 536 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector() 591 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 597 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 599 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 851 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
|
| H A D | CompilerInvocation.cpp | 130 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationRefBase() 139 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationRefBase() 151 TargetOpts.swap(X.TargetOpts); in operator =() 468 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation() local 482 llvm::Triple T(TargetOpts.Triple); in FixupInvocation() 485 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation() 4411 const TargetOptions *TargetOpts = &Opts; in GenerateTargetArgs() local 4435 TargetOptions *TargetOpts = &Opts; in ParseTargetArgs() local 4624 HBuilder.add(TargetOpts->Triple, TargetOpts->CPU, TargetOpts->TuneCPU, in getModuleHash() 4625 TargetOpts->ABI); in getModuleHash() [all …]
|
| H A D | ChainedIncludesSource.cpp | 130 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
| H A D | CompilerInstance.cpp | 109 getInvocation().TargetOpts)); in createTarget()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 207 std::shared_ptr<TargetOptions> TargetOpts; variable 282 assert(TargetOpts && "Missing target options"); in getTargetOpts() 283 return *TargetOpts; in getTargetOpts() 1256 TargetOptions &TargetOpts) const {} in adjustTargetOptions() argument
|
| /openbsd-src/gnu/llvm/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 141 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 266 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 303 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 1769 const TargetOptions &TargetOpts,
|
| /openbsd-src/gnu/llvm/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 106 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 180 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 182 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 184 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 378 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 383 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions() 386 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions() 408 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions() 409 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions() 450 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 454 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() [all …]
|
| H A D | ASTWriter.cpp | 1410 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1411 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1412 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1413 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock() 1414 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1415 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1416 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1417 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1419 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1420 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 209 Ins->getDiagnostics(), Ins->getInvocation().TargetOpts); in BuildCompilerInstance()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 757 *diagnostics_engine, instance->getInvocation().TargetOpts)); in Create()
|
| H A D | ClangExpressionParser.cpp | 501 m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts); in ClangExpressionParser()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 422 MCTargetOptions const *TargetOpts = nullptr,
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Targets.cpp | 708 Target->TargetOpts = Opts; in CreateTargetInfo()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Driver/ |
| H A D | Options.td | 266 class TargetOpts<string base> 267 : KeyPathAndMacro<"TargetOpts->", base, "TARGET_"> {} 910 MarshallingInfoStringVector<TargetOpts<"OpenCLExtensionsAsWritten">>; 987 TargetOpts<"NVPTXUseShortPointers">, DefaultFalse, 1653 TargetOpts<"ForceEnableInt128">, DefaultFalse, 3450 MarshallingInfoString<TargetOpts<"CodeModel">, [{"default"}]>; 3540 MarshallingInfoEnum<TargetOpts<"EABIVersion">, "Default">, 3752 MarshallingInfoEnum<TargetOpts<"CodeObjectVersion">, "COV_4">; 3768 TargetOpts<"AllowAMDGPUUnsafeFPAtomics">, DefaultFalse, 5159 MarshallingInfoString<TargetOpts<"TuneCPU">>; [all …]
|