Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DM68k.cpp31 : 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 DM68k.h39 const TargetOptions &TargetOpts; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendConsumer.h35 const TargetOptions &TargetOpts; variable
77 const TargetOptions &TargetOpts,
91 const TargetOptions &TargetOpts,
H A DCodeGenAction.cpp117 const TargetOptions &TargetOpts, in BackendConsumer() argument
125 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
145 const TargetOptions &TargetOpts, in BackendConsumer() argument
152 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
254 F, CodeGenOpts, LangOpts, TargetOpts, LM.Internalize); in LinkInModules()
379 EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
1177 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local
1178 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction()
1180 << TargetOpts.Triple; in ExecuteAction()
1181 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction()
[all …]
H A DObjectFilePCHContainerOperations.cpp52 const TargetOptions TargetOpts; member in __anon6e2187ed0111::PCHContainerGenerator
151 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator()
324 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
332 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
H A DBackendUtil.cpp127 const clang::TargetOptions &TargetOpts; member in __anone6c0d8fa0111::EmitAssemblyHelper
205 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), VFS(std::move(VFS)), in EmitAssemblyHelper()
316 const clang::TargetOptions &TargetOpts, in initTargetOptions() argument
363 Options.EABIVersion = TargetOpts.EABIVersion; in initTargetOptions()
462 Options.MCOptions.ABIName = TargetOpts.ABI; in initTargetOptions()
547 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine()
555 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, in CreateTargetMachine()
558 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()
H A DCGHLSLRuntime.cpp163 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen() local
167 addDxilValVersion(TargetOpts.DxilValidatorVersion, M); in finishCodeGen()
H A DCGCall.h399 const TargetOptions &TargetOpts,
H A DCGCall.cpp2038 const TargetOptions &TargetOpts) { in overrideFunctionFeaturesWithTargetFeatures() argument
2043 MergedFeatures.reserve(TargetOpts.Features.size()); in overrideFunctionFeaturesWithTargetFeatures()
2059 AddUnmergedFeatures(TargetOpts.Features); in overrideFunctionFeaturesWithTargetFeatures()
2069 const LangOptions &LangOpts, const TargetOptions &TargetOpts, in mergeDefaultFunctionDefinitionAttributes() argument
2075 if (!TargetOpts.CPU.empty()) in mergeDefaultFunctionDefinitionAttributes()
2076 FuncAttrs.addAttribute("target-cpu", TargetOpts.CPU); in mergeDefaultFunctionDefinitionAttributes()
2077 if (!TargetOpts.TuneCPU.empty()) in mergeDefaultFunctionDefinitionAttributes()
2078 FuncAttrs.addAttribute("tune-cpu", TargetOpts.TuneCPU); in mergeDefaultFunctionDefinitionAttributes()
2125 overrideFunctionFeaturesWithTargetFeatures(FuncAttrs, F, TargetOpts); in mergeDefaultFunctionDefinitionAttributes()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h80 std::shared_ptr<TargetOptions> TargetOpts; variable
132 const TargetOptions &getTargetOpts() const { return *TargetOpts; } in getTargetOpts()
245 TargetOptions &getTargetOpts() { return *TargetOpts; } in getTargetOpts()
266 using CompilerInvocationBase::TargetOpts;
H A DASTUnit.h118 std::shared_ptr<TargetOptions> TargetOpts; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp618 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
621 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions()
622 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions()
623 Out.indent(4) << " TuneCPU: " << TargetOpts.TuneCPU << "\n"; in ReadTargetOptions()
624 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions()
626 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions()
628 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions()
630 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
H A DASTUnit.cpp522 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon670461e70211::ASTInfoCollector
532 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument
535 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector()
595 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
601 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions()
603 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions()
855 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
H A DChainedIncludesSource.cpp130 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
H A DCompilerInvocation.cpp141 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()
215 return ensureOwned(TargetOpts); in getMutTargetOpts()
565 TargetOptions &TargetOpts = Invocation.getTargetOpts(); in FixupInvocation() local
579 llvm::Triple T(TargetOpts.Triple); in FixupInvocation()
582 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation()
583 CodeGenOpts.LargeDataThreshold = TargetOpts.LargeDataThreshold; in FixupInvocation()
4520 const TargetOptions *TargetOpts = &Opts; in GenerateTargetArgs() local
4538 TargetOptions *TargetOpts = &Opts; in ParseTargetArgs() local
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h213 std::shared_ptr<TargetOptions> TargetOpts; variable
304 assert(TargetOpts && "Missing target options"); in getTargetOpts()
305 return *TargetOpts; in getTargetOpts()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h142 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,
1796 const TargetOptions &TargetOpts,
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp180 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
182 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
184 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
460 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions()
6068 TargetOptions TargetOpts; in ParseTargetOptions() local
6069 TargetOpts.Triple = ReadString(Record, Idx); in ParseTargetOptions()
6070 TargetOpts.CPU = ReadString(Record, Idx); in ParseTargetOptions()
6071 TargetOpts.TuneCPU = ReadString(Record, Idx); in ParseTargetOptions()
6072 TargetOpts.ABI = ReadString(Record, Idx); in ParseTargetOptions()
6077 TargetOpts.Features.push_back(ReadString(Record, Idx)); in ParseTargetOptions()
[all …]
H A DASTWriter.cpp1475 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local
1476 AddString(TargetOpts.Triple, Record); in WriteControlBlock()
1477 AddString(TargetOpts.CPU, Record); in WriteControlBlock()
1478 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock()
1479 AddString(TargetOpts.ABI, Record); in WriteControlBlock()
1480 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock()
1481 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock()
1482 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock()
1484 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock()
1485 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp68 const SourceMgr *mgr, MCTargetOptions const *TargetOpts, in MCContext() argument
75 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp757 *diagnostics_engine, instance->getInvocation().TargetOpts)); in Create()
H A DClangExpressionParser.cpp469 m_compiler->getDiagnostics(), m_compiler->getInvocation().TargetOpts); in ClangExpressionParser()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h422 MCTargetOptions const *TargetOpts = nullptr,
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp115 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in CreateCI()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td292 class TargetOpts<string base>
293 : KeyPathAndMacro<"TargetOpts->", base, "TARGET_"> {}
1277 TargetOpts<"NVPTXUseShortPointers">, DefaultFalse,
2161 TargetOpts<"ForceEnableInt128">, DefaultFalse,
4424 MarshallingInfoInt<TargetOpts<"LargeDataThreshold">, "0">;
4811 TargetOpts<"AllowAMDGPUUnsafeFPAtomics">, DefaultFalse,
6519 MarshallingInfoString<TargetOpts<"TuneCPU">>;
6522 MarshallingInfoString<TargetOpts<"ABI">>;
6548 MarshallingInfoString<TargetOpts<"CPU">>;
6567 MarshallingInfoString<TargetOpts<"LinkerVersion">>;
[all …]

12