/openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 122 const CodeGenOptions &CodeGenOpts; member in __anonf4fb55db0111::EmitAssemblyHelper 181 return CodeGenOpts.PrepareForLTO && !CodeGenOpts.DisableLLVMPasses && in shouldEmitRegularLTOSummary() 191 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), in EmitAssemblyHelper() 197 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper() 269 const CodeGenOptions &CodeGenOpts) { in createTLII() argument 272 switch (CodeGenOpts.getVecLib()) { in createTLII() 304 getCodeModel(const CodeGenOptions &CodeGenOpts) { in getCodeModel() argument 305 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) in getCodeModel() 337 const CodeGenOptions &CodeGenOpts, in initTargetOptions() argument 351 assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || in initTargetOptions() [all …]
|
H A D | CodeGenAction.cpp | 63 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler() 68 return CodeGenOpts.OptimizationRemarkAnalysis.patternMatches(PassName); in isAnalysisRemarkEnabled() 71 return CodeGenOpts.OptimizationRemarkMissed.patternMatches(PassName); in isMissedOptRemarkEnabled() 74 return CodeGenOpts.OptimizationRemark.patternMatches(PassName); in isPassedOptRemarkEnabled() 78 return CodeGenOpts.OptimizationRemarkAnalysis.hasValidPattern() || in isAnyRemarkEnabled() 79 CodeGenOpts.OptimizationRemarkMissed.hasValidPattern() || in isAnyRemarkEnabled() 80 CodeGenOpts.OptimizationRemark.hasValidPattern(); in isAnyRemarkEnabled() 84 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler 89 const CodeGenOptions CodeGenOpts) { in reportOptRecordError() argument 94 << CodeGenOpts.OptRecordFile << E.message(); in reportOptRecordError() [all …]
|
H A D | ObjectFilePCHContainerOperations.cpp | 51 CodeGenOptions CodeGenOpts; member in __anon622f1b6e0111::PCHContainerGenerator 155 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator() 157 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator() 159 CodeGenOpts.MainFileName = in PCHContainerGenerator() 161 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator() 162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 163 CodeGenOpts.DebugPrefixMap = in PCHContainerGenerator() 165 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf; in PCHContainerGenerator() 178 *Ctx, FS, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize() 321 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() [all …]
|
H A D | CodeGenTBAA.cpp | 35 : Context(Ctx), Module(M), CodeGenOpts(CGO), in CodeGenTBAA() 61 if (CodeGenOpts.NewStructPathTBAA) { in createScalarTypeNode() 193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfoHelper() 227 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTypeInfo() 344 if (CodeGenOpts.NewStructPathTBAA && CXXRD->getNumVBases() != 0) in getBaseTypeInfoHelper() 399 if (CodeGenOpts.NewStructPathTBAA) { in getBaseTypeInfoHelper() 440 if (!CodeGenOpts.StructPathTBAA) in getAccessTagInfo() 451 if (CodeGenOpts.NewStructPathTBAA) { in getAccessTagInfo()
|
H A D | ModuleBuilder.cpp | 39 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon2a1548e20111::CodeGeneratorImpl 85 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl() 139 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule() 165 PreprocessorOpts, CodeGenOpts, in Initialize() 168 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize() 170 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
|
H A D | CodeGenModule.cpp | 111 HeaderSearchOpts(HSO), PreprocessorOpts(PPO), CodeGenOpts(CGO), in CodeGenModule() 171 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 172 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule() 177 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule() 178 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule() 186 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule() 188 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule() 198 if (CodeGenOpts.CoverageMapping) in CodeGenModule() 202 if (CodeGenOpts.UniqueInternalLinkageNames && in CodeGenModule() 571 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release() [all …]
|
H A D | CGCall.cpp | 1839 if (CodeGenOpts.OptimizeSize) in getDefaultFunctionAttributes() 1841 if (CodeGenOpts.OptimizeSize == 2) in getDefaultFunctionAttributes() 1845 if (CodeGenOpts.DisableRedZone) in getDefaultFunctionAttributes() 1847 if (CodeGenOpts.IndirectTlsSegRefs) in getDefaultFunctionAttributes() 1849 if (CodeGenOpts.NoImplicitFloat) in getDefaultFunctionAttributes() 1856 if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name)) in getDefaultFunctionAttributes() 1858 if (!CodeGenOpts.TrapFuncName.empty()) in getDefaultFunctionAttributes() 1859 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in getDefaultFunctionAttributes() 1861 switch (CodeGenOpts.getFramePointer()) { in getDefaultFunctionAttributes() 1869 CodeGenOpts.getFramePointer())); in getDefaultFunctionAttributes() [all …]
|
H A D | CodeGenTBAA.h | 119 const CodeGenOptions &CodeGenOpts; variable
|
H A D | CodeGenModule.h | 307 const CodeGenOptions &CodeGenOpts; variable 604 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 738 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() 1714 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
|
H A D | CGVTables.cpp | 1048 assert((def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage() 1049 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && in getVTableLinkage() 1052 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
H A D | TargetInfo.cpp | 12264 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo() 12265 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo() 12279 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe"); in getTargetCodeGenInfo() 12281 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() 12286 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 12288 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() 12300 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 12311 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 12337 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 12349 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() [all …]
|
/openbsd-src/gnu/llvm/clang/include/clang/Driver/ |
H A D | Options.td | 274 class CodeGenOpts<string base> 275 : KeyPathAndMacro<"CodeGenOpts.", base, "CODEGEN_"> {} 880 MarshallingInfoFlag<CodeGenOpts<"EmitOpenCLArgMetadata">>; 889 MarshallingInfoFlag<CodeGenOpts<"LessPreciseFPMAD">>, 901 MarshallingInfoFlag<CodeGenOpts<"OpenCLCorrectlyRoundedDivSqrt">>; 904 MarshallingInfoFlag<CodeGenOpts<"UniformWGSize">>; 1019 CodeGenOpts<"HIPCorrectlyRoundedDivSqrt">, DefaultTrue, 1026 CodeGenOpts<"HIPSaveKernelArgName">, DefaultFalse, 1151 MarshallingInfoInt<CodeGenOpts<"LoopAlignment">>; 1196 CodeGenOpts<"Autolink">, DefaultTrue, [all …]
|
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 141 CodeGenOptions CodeGenOpts; variable 159 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() 160 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
|
H A D | CompilerInstance.h | 634 const CodeGenOptions *CodeGenOpts = nullptr);
|
/openbsd-src/gnu/llvm/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 467 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() local 470 CodeGenOpts.XRayInstrumentFunctions = LangOpts.XRayInstrument; in FixupInvocation() 471 CodeGenOpts.XRayAlwaysEmitCustomEvents = LangOpts.XRayAlwaysEmitCustomEvents; in FixupInvocation() 472 CodeGenOpts.XRayAlwaysEmitTypedEvents = LangOpts.XRayAlwaysEmitTypedEvents; in FixupInvocation() 473 CodeGenOpts.DisableFree = FrontendOpts.DisableFree; in FixupInvocation() 476 CodeGenOpts.ClearASTBeforeBackend = false; in FixupInvocation() 477 LangOpts.SanitizeCoverage = CodeGenOpts.hasSanitizeCoverage(); in FixupInvocation() 478 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables; in FixupInvocation() 479 LangOpts.SpeculativeLoadHardening = CodeGenOpts.SpeculativeLoadHardening; in FixupInvocation() 485 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation() [all …]
|
H A D | CompilerInstance.cpp | 286 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 309 if (CodeGenOpts) in SetUpDiagnosticLog() 310 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 345 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 365 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|
/openbsd-src/gnu/llvm/clang/docs/ |
H A D | InternalsManual.rst | 711 + MarshallingInfoStringVector<CodeGenOpts<"PassPlugins">>; 754 + for (auto &PluginFN : CodeGenOpts.PassPlugins) 888 MarshallingInfoNegativeFlag<CodeGenOpts<"AsmVerbose">>; 900 CodeGenOpts<"LegacyPassManager">, DefaultFalse, 939 MarshallingInfoStringVector<CodeGenOpts<"RewriteMapFiles">>; 950 MarshallingInfoInt<CodeGenOpts<"StackProbeSize">, "4096">;
|