Home
last modified time | relevance | path

Searched refs:CodeGenOpts (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp185 return CodeGenOpts.PrepareForLTO && !CodeGenOpts.DisableLLVMPasses && in shouldEmitRegularLTOSummary()
210 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
329 assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || in initTargetOptions()
330 CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) && in initTargetOptions()
766 CodeGenOpts.ProfileRemappingFile, CodeGenOpts.MemoryProfileUsePath, VFS, in RunOptimizationPipeline()
771 CodeGenOpts.SampleProfileFile, "", CodeGenOpts.ProfileRemappingFile, in RunOptimizationPipeline()
857 if (!CodeGenOpts.PrepareForThinLTO && !CodeGenOpts.PrepareForLTO && in RunOptimizationPipeline()
914 if (CodeGenOpts.VerifyModule) in RunOptimizationPipeline()
1012 if (CodeGenOpts.FatLTO) { in RunOptimizationPipeline()
1041 CodeGenOpts.FatLTO) { in RunOptimizationPipeline()
[all …]
H A DCodeGenAction.cpp90 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler
108 << CodeGenOpts.OptRecordFormat; in reportOptRecordError()
125 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
152 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
323 CodeGenOpts, this)); in HandleTranslationUnit()
327 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in HandleTranslationUnit()
328 CodeGenOpts.OptRecordFormat, CodeGenOpts.DiagnosticsWithHotness, in HandleTranslationUnit()
343 if (CodeGenOpts.MisExpect) { in HandleTranslationUnit()
365 if (CodeGenOpts.ClearASTBeforeBackend) { in HandleTranslationUnit()
1217 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in ExecuteAction()
[all …]
H A DObjectFilePCHContainerOperations.cpp51 CodeGenOptions CodeGenOpts; member in __anon6e2187ed0111::PCHContainerGenerator
155 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator()
157 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator()
159 CodeGenOpts.MainFileName = in PCHContainerGenerator()
161 CodeGenOpts.setDebugInfo(llvm::codegenoptions::FullDebugInfo); in PCHContainerGenerator()
162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
163 CodeGenOpts.DwarfVersion = CI.getCodeGenOpts().DwarfVersion; in PCHContainerGenerator()
164 CodeGenOpts.DebugCompilationDir = in PCHContainerGenerator()
166 CodeGenOpts.DebugPrefixMap = in PCHContainerGenerator()
168 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf; in PCHContainerGenerator()
[all …]
H A DCodeGenTBAA.cpp35 : Context(Ctx), Module(M), CodeGenOpts(CGO), in CodeGenTBAA()
61 if (CodeGenOpts.NewStructPathTBAA) { in createScalarTypeNode()
193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfoHelper()
230 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTypeInfo()
347 if (CodeGenOpts.NewStructPathTBAA && CXXRD->getNumVBases() != 0) in getBaseTypeInfoHelper()
402 if (CodeGenOpts.NewStructPathTBAA) { in getBaseTypeInfoHelper()
449 if (!CodeGenOpts.StructPathTBAA) in getAccessTagInfo()
460 if (CodeGenOpts.NewStructPathTBAA) { in getAccessTagInfo()
H A DModuleBuilder.cpp39 const CodeGenOptions &CodeGenOpts; member in __anona3480fc10111::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 DCodeGenModule.cpp258 CodeGenOpts.NumRegisterParameters, CodeGenOpts.FloatABI == "soft"); in createTargetCodeGenInfo()
398 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
926 if (CodeGenOpts.Autolink && in Release()
959 if (CodeGenOpts.Dwarf64) in Release()
988 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
1171 if (CodeGenOpts.StackProbeSize && CodeGenOpts.StackProbeSize != 4096) in Release()
1254 if (CodeGenOpts.NoPLT) in Release()
1262 if (CodeGenOpts.UnwindTables) in Release()
2393 if (CodeGenOpts.StackProbeSize && CodeGenOpts.StackProbeSize != 4096) in SetLLVMFunctionAttributesForDefinition()
2439 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
[all …]
H A DBackendConsumer.h34 const CodeGenOptions &CodeGenOpts; variable
76 const CodeGenOptions &CodeGenOpts,
90 const CodeGenOptions &CodeGenOpts,
H A DCGCall.cpp1880 addDenormalModeAttrs(CodeGenOpts.FPDenormalMode, CodeGenOpts.FP32DenormalMode, in addMergableDefaultFunctionAttributes()
1890 if (CodeGenOpts.OptimizeSize) in getTrivialDefaultFunctionAttributes()
1892 if (CodeGenOpts.OptimizeSize == 2) in getTrivialDefaultFunctionAttributes()
1896 if (CodeGenOpts.DisableRedZone) in getTrivialDefaultFunctionAttributes()
1898 if (CodeGenOpts.IndirectTlsSegRefs) in getTrivialDefaultFunctionAttributes()
1900 if (CodeGenOpts.NoImplicitFloat) in getTrivialDefaultFunctionAttributes()
1923 if (CodeGenOpts.LessPreciseFPMAD) in getTrivialDefaultFunctionAttributes()
1947 if (CodeGenOpts.SoftFloat) in getTrivialDefaultFunctionAttributes()
1965 if (CodeGenOpts.StackRealignment) in getTrivialDefaultFunctionAttributes()
1967 if (CodeGenOpts.Backchain) in getTrivialDefaultFunctionAttributes()
[all …]
H A DCodeGenTBAA.h119 const CodeGenOptions &CodeGenOpts; variable
H A DCodeGenModule.h307 const CodeGenOptions &CodeGenOpts; variable
614 const CodeGenOptions &CodeGenOpts, llvm::Module &M,
748 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
1734 void EmitBackendOptionsMetadata(const CodeGenOptions &CodeGenOpts);
H A DCGCall.h397 const CodeGenOptions &CodeGenOpts,
H A DCGVTables.cpp1063 (def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage()
1064 CodeGenOpts.getDebugInfo() != llvm::codegenoptions::NoDebugInfo) && in getVTableLinkage()
1067 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td300 class CodeGenOpts<string base>
1551 CodeGenOpts<"Autolink">, DefaultTrue,
1558 CodeGenOpts<"AutoImport">, DefaultTrue,
1807 CodeGenOpts<"Addrsig">, DefaultFalse,
2865 CodeGenOpts<"FatLTO">, DefaultFalse,
3250 CodeGenOpts<"CXAAtExit">, DefaultTrue,
3549 CodeGenOpts<"NoPLT">, DefaultFalse,
4952 CodeGenOpts<"Backchain">, DefaultFalse,
7035 CodeGenOpts<"LTOUnit">, DefaultFalse,
7225 CodeGenOpts<"ClearASTBeforeBackend">,
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h100 std::shared_ptr<CodeGenOptions> CodeGenOpts; variable
139 const CodeGenOptions &getCodeGenOpts() const { return *CodeGenOpts; } in getCodeGenOpts()
252 CodeGenOptions &getCodeGenOpts() { return *CodeGenOpts; } in getCodeGenOpts()
H A DUtils.h53 const CodeGenOptions &CodeGenOpts);
H A DCompilerInstance.h666 const CodeGenOptions *CodeGenOpts = nullptr);
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp148 CodeGenOpts(std::make_shared<CodeGenOptions>()), in CompilerInvocationBase()
165 CodeGenOpts = make_shared_copy(X.getCodeGenOpts()); in deep_copy_assign()
185 CodeGenOpts = X.CodeGenOpts; in shallow_copy_assign()
243 return ensureOwned(CodeGenOpts); in getMutCodeGenOpts()
573 CodeGenOpts.ClearASTBeforeBackend = false; in FixupInvocation()
582 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation()
1455 const CodeGenOptions &CodeGenOpts = Opts; in GenerateCodeGenArgs() local
1715 CodeGenOptions &CodeGenOpts = Opts; in ParseCodeGenArgs() local
4335 !CodeGenOpts.CFProtectionReturn && CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs()
4338 !CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs()
[all …]
H A DInitPreprocessor.cpp1368 static void InitializePGOProfileMacros(const CodeGenOptions &CodeGenOpts, in InitializePGOProfileMacros() argument
1370 if (CodeGenOpts.hasProfileInstr()) in InitializePGOProfileMacros()
1373 if (CodeGenOpts.hasProfileIRUse() || CodeGenOpts.hasProfileClangUse()) in InitializePGOProfileMacros()
1383 const CodeGenOptions &CodeGenOpts) { in InitializePreprocessor() argument
1433 InitializePGOProfileMacros(CodeGenOpts, Builder); in InitializePreprocessor()
H A DCompilerInstance.cpp284 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument
307 if (CodeGenOpts) in SetUpDiagnosticLog()
308 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog()
343 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument
363 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()