| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 111 const CodeGenOptions &CodeGenOpts; member in __anond17872740111::EmitAssemblyHelper 170 return CodeGenOpts.PrepareForLTO && !CodeGenOpts.DisableLLVMPasses && in shouldEmitRegularLTOSummary() 186 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper() 251 switch (CodeGenOpts.getVecLib()) { in createTLII() 344 assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || in initTargetOptions() 345 CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) && in initTargetOptions() 488 if (!CodeGenOpts.EmitGcovArcs && !CodeGenOpts.EmitGcovNotes) in getGCOVOptions() 725 CodeGenOpts.SampleProfileFile, "", CodeGenOpts.ProfileRemappingFile, in RunOptimizationPipeline() 727 CodeGenOpts.DebugInfoForProfiling, CodeGenOpts.PseudoProbeForProfiling); in RunOptimizationPipeline() 938 if (CodeGenOpts.PrepareForThinLTO && !CodeGenOpts.DisableLLVMPasses) { in RunOptimizationPipeline() [all …]
|
| H A D | CodeGenAction.cpp | 83 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler 101 << CodeGenOpts.OptRecordFormat; in reportOptRecordError() 112 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer 159 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 184 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer() 325 CodeGenOpts, this)); in HandleTranslationUnit() 329 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in HandleTranslationUnit() 330 CodeGenOpts.OptRecordFormat, CodeGenOpts.DiagnosticsWithHotness, in HandleTranslationUnit() 345 if (CodeGenOpts.MisExpect) { in HandleTranslationUnit() 1203 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in ExecuteAction() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 51 CodeGenOptions CodeGenOpts; member in __anon8fee51a70111::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 __anon1a4befbb0111::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 | 164 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 171 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule() 181 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule() 634 if (CodeGenOpts.Autolink && in Release() 667 if (CodeGenOpts.Dwarf64) in Release() 692 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release() 772 if (CodeGenOpts.IBTSeal) in Release() 886 if (CodeGenOpts.NoPLT) in Release() 888 if (CodeGenOpts.UnwindTables) in Release() 1971 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition() [all …]
|
| H A D | CGCall.cpp | 1801 if (CodeGenOpts.OptimizeSize) in getDefaultFunctionAttributes() 1803 if (CodeGenOpts.OptimizeSize == 2) in getDefaultFunctionAttributes() 1807 if (CodeGenOpts.DisableRedZone) in getDefaultFunctionAttributes() 1809 if (CodeGenOpts.IndirectTlsSegRefs) in getDefaultFunctionAttributes() 1811 if (CodeGenOpts.NoImplicitFloat) in getDefaultFunctionAttributes() 1837 if (CodeGenOpts.LessPreciseFPMAD) in getDefaultFunctionAttributes() 1846 if (CodeGenOpts.FP32DenormalMode != CodeGenOpts.FPDenormalMode) { in getDefaultFunctionAttributes() 1865 if (CodeGenOpts.SoftFloat) in getDefaultFunctionAttributes() 1883 if (CodeGenOpts.StackRealignment) in getDefaultFunctionAttributes() 1885 if (CodeGenOpts.Backchain) in getDefaultFunctionAttributes() [all …]
|
| H A D | CodeGenTBAA.h | 119 const CodeGenOptions &CodeGenOpts; variable
|
| H A D | CodeGenModule.h | 303 const CodeGenOptions &CodeGenOpts; variable 595 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 728 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() 1684 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
|
| H A D | CGVTables.cpp | 1013 assert((def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage() 1014 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && in getVTableLinkage() 1017 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
| H A D | TargetInfo.cpp | 11620 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo() 11621 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo() 11635 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe"); in getTargetCodeGenInfo() 11637 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() 11642 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 11656 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 11667 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 11693 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo() 11711 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo() 11715 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, in getTargetCodeGenInfo() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 266 class CodeGenOpts<string base> 1180 CodeGenOpts<"Autolink">, DefaultTrue, 1368 CodeGenOpts<"Addrsig">, DefaultFalse, 1521 CodeGenOpts<"EmulatedTLS">, DefaultFalse, 2443 CodeGenOpts<"CXAAtExit">, DefaultTrue, 2663 CodeGenOpts<"NoPLT">, DefaultFalse, 3769 CodeGenOpts<"Backchain">, DefaultFalse, 5518 CodeGenOpts<"LTOUnit">, DefaultFalse, 5697 CodeGenOpts<"ClearASTBeforeBackend">, 5704 CodeGenOpts<"EnableNoundefAttrs">, [all …]
|
| /llvm-project-15.0.7/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 | 632 const CodeGenOptions *CodeGenOpts = nullptr);
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 464 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() local 470 CodeGenOpts.DisableFree = FrontendOpts.DisableFree; in FixupInvocation() 473 CodeGenOpts.ClearASTBeforeBackend = false; in FixupInvocation() 475 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables; in FixupInvocation() 482 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation() 1323 const CodeGenOptions &CodeGenOpts = Opts; in GenerateCodeGenArgs() local 1595 CodeGenOptions &CodeGenOpts = Opts; in ParseCodeGenArgs() local 4194 !CodeGenOpts.CFProtectionReturn && CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs() 4197 !CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs() 4200 CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs() [all …]
|
| H A D | CompilerInstance.cpp | 281 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 304 if (CodeGenOpts) in SetUpDiagnosticLog() 305 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 340 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 358 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | InternalsManual.rst | 708 + MarshallingInfoStringVector<CodeGenOpts<"PassPlugins">>; 751 + for (auto &PluginFN : CodeGenOpts.PassPlugins) 885 MarshallingInfoNegativeFlag<CodeGenOpts<"AsmVerbose">>; 897 CodeGenOpts<"LegacyPassManager">, DefaultFalse, 936 MarshallingInfoStringVector<CodeGenOpts<"RewriteMapFiles">>; 947 MarshallingInfoInt<CodeGenOpts<"StackProbeSize">, "4096">;
|