Searched refs:CodeGenOpts (Results 1 - 15 of 15) sorted by relevance

/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DBackendUtil.cpp122 const CodeGenOptions &CodeGenOpts; member in class:__anon399::EmitAssemblyHelper
181 return CodeGenOpts.PrepareForLTO && !CodeGenOpts.DisableLLVMPasses &&
191 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts),
197 if (CodeGenOpts.DisableFree)
269 const CodeGenOptions &CodeGenOpts) {
272 switch (CodeGenOpts.getVecLib()) {
304 getCodeModel(const CodeGenOptions &CodeGenOpts) { argument
305 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel)
337 const CodeGenOptions &CodeGenOpts,
268 createTLII(llvm::Triple &TargetTriple, const CodeGenOptions &CodeGenOpts) argument
335 initTargetOptions(DiagnosticsEngine &Diags, llvm::TargetOptions &Options, const CodeGenOptions &CodeGenOpts, const clang::TargetOptions &TargetOpts, const LangOptions &LangOpts, const HeaderSearchOptions &HSOpts) argument
500 getGCOVOptions(const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts) argument
517 getInstrProfOptions(const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts) argument
528 setCommandLineOpts(const CodeGenOptions &CodeGenOpts) argument
664 addSanitizers(const Triple &TargetTriple, const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts, PassBuilder &PB) argument
[all...]
H A DCodeGenAction.cpp63 : CodeGenOpts(CGOpts), BackendCon(BCon) {}
68 return CodeGenOpts.OptimizationRemarkAnalysis.patternMatches(PassName);
71 return CodeGenOpts.OptimizationRemarkMissed.patternMatches(PassName);
74 return CodeGenOpts.OptimizationRemark.patternMatches(PassName);
78 return CodeGenOpts.OptimizationRemarkAnalysis.hasValidPattern() ||
79 CodeGenOpts.OptimizationRemarkMissed.hasValidPattern() ||
80 CodeGenOpts.OptimizationRemark.hasValidPattern();
84 const CodeGenOptions &CodeGenOpts; member in class:clang::final
89 const CodeGenOptions CodeGenOpts) {
94 << CodeGenOpts
88 reportOptRecordError(Error E, DiagnosticsEngine &Diags, const CodeGenOptions CodeGenOpts) argument
113 const CodeGenOptions &CodeGenOpts; member in class:clang::BackendConsumer
149 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, const std::string &InFile, SmallVector<LinkModule, 4> LinkModules, std::unique_ptr<raw_pwrite_stream> OS, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument
175 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, llvm::Module *Module, SmallVector<LinkModule, 4> LinkModules, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument
335 reportOptRecordError(std::move(E), Diags, CodeGenOpts); variable
380 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); variable
1178 auto &CodeGenOpts = CI.getCodeGenOpts(); local
1235 reportOptRecordError(std::move(E), Diagnostics, CodeGenOpts); local
[all...]
H A DObjectFilePCHContainerOperations.cpp51 CodeGenOptions CodeGenOpts; member in class:__anon561::PCHContainerGenerator
155 CodeGenOpts.CodeModel = "default";
157 CodeGenOpts.DebugTypeExtRefs = true;
159 CodeGenOpts.MainFileName =
161 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo);
162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning());
163 CodeGenOpts.DebugPrefixMap =
165 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf;
178 *Ctx, FS, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags));
321 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpt
[all...]
H A DCodeGenTBAA.cpp35 : Context(Ctx), Module(M), CodeGenOpts(CGO),
61 if (CodeGenOpts.NewStructPathTBAA) {
193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType())
227 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing)
344 if (CodeGenOpts.NewStructPathTBAA && CXXRD->getNumVBases() != 0)
399 if (CodeGenOpts.NewStructPathTBAA) {
440 if (!CodeGenOpts.StructPathTBAA)
451 if (CodeGenOpts.NewStructPathTBAA) {
H A DModuleBuilder.cpp39 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in class:__anon560::CodeGeneratorImpl
85 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0),
139 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C));
165 PreprocessorOpts, CodeGenOpts,
168 for (auto &&Lib : CodeGenOpts.DependentLibraries)
170 for (auto &&Opt : CodeGenOpts.LinkerOptions)
H A DCodeGenModule.cpp111 HeaderSearchOpts(HSO), PreprocessorOpts(PPO), CodeGenOpts(CGO),
171 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0))
172 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(),
177 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo ||
178 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes)
186 if (CodeGenOpts.hasProfileClangUse()) {
188 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts
954 EmbedObject(&getModule(), CodeGenOpts, getDiags()); local
979 EmitBackendOptionsMetadata( const CodeGenOptions CodeGenOpts) argument
[all...]
H A DCGCall.cpp1839 if (CodeGenOpts.OptimizeSize)
1841 if (CodeGenOpts.OptimizeSize == 2)
1845 if (CodeGenOpts.DisableRedZone)
1847 if (CodeGenOpts.IndirectTlsSegRefs)
1849 if (CodeGenOpts.NoImplicitFloat)
1856 if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name))
1858 if (!CodeGenOpts.TrapFuncName.empty())
1859 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName);
1861 switch (CodeGenOpts.getFramePointer()) {
1869 CodeGenOpts
[all...]
H A DCodeGenTBAA.h119 const CodeGenOptions &CodeGenOpts; member in class:clang::CodeGen::CodeGenTBAA
H A DCodeGenModule.h307 const CodeGenOptions &CodeGenOpts; member in class:clang::CodeGen::CodeGenModule
604 const CodeGenOptions &CodeGenOpts, llvm::Module &M,
738 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
1714 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
H A DCGVTables.cpp1048 assert((def || CodeGenOpts.OptimizationLevel > 0 ||
1049 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) &&
1052 if (!def && CodeGenOpts.OptimizationLevel > 0)
H A DTargetInfo.cpp12264 else if (CodeGenOpts.FloatABI == "hard" ||
12265 (CodeGenOpts.FloatABI != "soft" &&
12279 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe");
12281 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts);
12286 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft";
12288 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts);
12300 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft";
12311 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft";
12337 bool SoftFloat = CodeGenOpts.FloatABI == "soft";
12349 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts);
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Frontend/
H A DCompilerInvocation.h141 CodeGenOptions CodeGenOpts; member in class:clang::CompilerInvocationValueBase
159 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; }
160 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
H A DCompilerInstance.h626 /// \param CodeGenOpts If non-NULL, the code gen options in use, which may be
634 const CodeGenOptions *CodeGenOpts = nullptr);
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DCompilerInvocation.cpp467 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts();
470 CodeGenOpts.XRayInstrumentFunctions = LangOpts.XRayInstrument;
471 CodeGenOpts.XRayAlwaysEmitCustomEvents = LangOpts.XRayAlwaysEmitCustomEvents;
472 CodeGenOpts.XRayAlwaysEmitTypedEvents = LangOpts.XRayAlwaysEmitTypedEvents;
473 CodeGenOpts.DisableFree = FrontendOpts.DisableFree;
476 CodeGenOpts.ClearASTBeforeBackend = false;
477 LangOpts.SanitizeCoverage = CodeGenOpts.hasSanitizeCoverage();
478 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables;
479 LangOpts.SpeculativeLoadHardening = CodeGenOpts.SpeculativeLoadHardening;
485 CodeGenOpts
[all...]
H A DCompilerInstance.cpp286 const CodeGenOptions *CodeGenOpts,
309 if (CodeGenOpts)
310 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags);
345 const CodeGenOptions *CodeGenOpts) {
365 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags);
285 SetUpDiagnosticLog(DiagnosticOptions *DiagOpts, const CodeGenOptions *CodeGenOpts, DiagnosticsEngine &Diags) argument
342 createDiagnostics(DiagnosticOptions *Opts, DiagnosticConsumer *Client, bool ShouldOwnClient, const CodeGenOptions *CodeGenOpts) argument

Completed in 313 milliseconds