Home
last modified time | relevance | path

Searched refs:TargetOpts (Results 1 – 22 of 22) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp109 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()
1068 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local
1069 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction()
1071 << TargetOpts.Triple; in ExecuteAction()
1072 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction()
[all …]
H A DObjectFilePCHContainerOperations.cpp51 const TargetOptions TargetOpts; member in __anon026200ab0111::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 DBackendUtil.cpp106 const clang::TargetOptions &TargetOpts; member in __anon701d26f80111::EmitAssemblyHelper
157 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), in EmitAssemblyHelper()
480 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument
527 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions()
596 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions()
904 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine()
909 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, in CreateTargetMachine()
912 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h78 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 DASTUnit.h118 std::shared_ptr<TargetOptions> TargetOpts; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp585 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
588 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions()
589 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions()
590 Out.indent(4) << " TuneCPU: " << TargetOpts.TuneCPU << "\n"; in ReadTargetOptions()
591 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions()
593 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions()
595 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions()
597 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
H A DASTUnit.cpp523 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon013d40a50211::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()
824 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
H A DCompilerInvocation.cpp122 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()
4301 const TargetOptions *TargetOpts = &Opts; in GenerateTargetArgs() local
4322 TargetOptions *TargetOpts = &Opts; in ParseTargetArgs() local
4497 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash()
4498 TargetOpts->TuneCPU, TargetOpts->ABI); in getModuleHash()
4577 llvm::Triple T(TargetOpts->Triple); in generateCC1CommandLine()
[all …]
H A DChainedIncludesSource.cpp153 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
H A DCompilerInstance.cpp103 getInvocation().TargetOpts)); in createTarget()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h189 std::shared_ptr<TargetOptions> TargetOpts; variable
259 assert(TargetOpts && "Missing target options"); in getTargetOpts()
260 return *TargetOpts; in getTargetOpts()
1169 TargetOptions &TargetOpts) const {} in adjustTargetOptions() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp107 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h142 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,
1721 const TargetOptions &TargetOpts,
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp69 const SourceMgr *mgr, MCTargetOptions const *TargetOpts, in MCContext() argument
76 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp177 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
179 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
181 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
451 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions()
5803 TargetOptions TargetOpts; in ParseTargetOptions() local
5804 TargetOpts.Triple = ReadString(Record, Idx); in ParseTargetOptions()
5805 TargetOpts.CPU = ReadString(Record, Idx); in ParseTargetOptions()
5806 TargetOpts.TuneCPU = ReadString(Record, Idx); in ParseTargetOptions()
5807 TargetOpts.ABI = ReadString(Record, Idx); in ParseTargetOptions()
5812 TargetOpts.Features.push_back(ReadString(Record, Idx)); in ParseTargetOptions()
[all …]
H A DASTWriter.cpp1273 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 …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp28 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo()
H A DTargets.cpp666 Target->TargetOpts = Opts; in CreateTargetInfo()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h401 MCTargetOptions const *TargetOpts = nullptr,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp702 *diagnostics_engine, instance->getInvocation().TargetOpts)); in Create()
H A DClangExpressionParser.cpp512 m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts); in ClangExpressionParser()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td250 class TargetOpts<string base>
251 : KeyPathAndMacro<"TargetOpts->", base, "TARGET_"> {}
934 TargetOpts<"NVPTXUseShortPointers">, DefaultFalse,
1474 TargetOpts<"ForceEnableInt128">, DefaultFalse,
3133 MarshallingInfoEnum<TargetOpts<"EABIVersion">, "Default">,
3314 TargetOpts<"AllowAMDGPUUnsafeFPAtomics">, DefaultFalse,
4591 MarshallingInfoString<TargetOpts<"CPU">>;
4594 MarshallingInfoString<TargetOpts<"TuneCPU">>;
4604 MarshallingInfoString<TargetOpts<"ABI">>;
4612 MarshallingInfoString<TargetOpts<"LinkerVersion">>;
[all …]