Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp105 const CodeGenOptions &CodeGenOpts; member in __anon701d26f80111::EmitAssemblyHelper
161 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
493 assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || in initTargetOptions()
494 CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) && in initTargetOptions()
613 if (!CodeGenOpts.EmitGcovArcs && !CodeGenOpts.EmitGcovNotes) in getGCOVOptions()
679 CodeGenOpts.OptimizationLevel, CodeGenOpts.OptimizeSize, in CreatePasses()
817 if (CodeGenOpts.VerifyModule) in CreatePasses()
991 if (CodeGenOpts.PrepareForThinLTO && !CodeGenOpts.DisableLLVMPasses) { in EmitAssembly()
1228 CodeGenOpts.SampleProfileFile, "", CodeGenOpts.ProfileRemappingFile, in EmitAssemblyWithNewPassManager()
1230 CodeGenOpts.DebugInfoForProfiling, CodeGenOpts.PseudoProbeForProfiling); in EmitAssemblyWithNewPassManager()
[all …]
H A DCodeGenAction.cpp79 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler
97 << CodeGenOpts.OptRecordFormat; in reportOptRecordError()
108 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer
143 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
167 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
308 CodeGenOpts, this)); in HandleTranslationUnit()
312 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in HandleTranslationUnit()
313 CodeGenOpts.OptRecordFormat, CodeGenOpts.DiagnosticsWithHotness, in HandleTranslationUnit()
1051 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() local
1101 Ctx, CodeGenOpts.OptRecordFile, CodeGenOpts.OptRecordPasses, in ExecuteAction()
[all …]
H A DObjectFilePCHContainerOperations.cpp50 CodeGenOptions CodeGenOpts; member in __anon026200ab0111::PCHContainerGenerator
149 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator()
151 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator()
153 CodeGenOpts.MainFileName = in PCHContainerGenerator()
155 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator()
156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
157 CodeGenOpts.DebugPrefixMap = in PCHContainerGenerator()
171 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize()
297 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
305 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
H A DModuleBuilder.cpp37 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anonf4efd53f0111::CodeGeneratorImpl
82 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl()
132 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule()
146 PreprocessorOpts, CodeGenOpts, in Initialize()
149 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize()
151 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
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()
227 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTypeInfo()
364 if (CodeGenOpts.NewStructPathTBAA) { in getBaseTypeInfoHelper()
405 if (!CodeGenOpts.StructPathTBAA) in getAccessTagInfo()
416 if (CodeGenOpts.NewStructPathTBAA) { in getAccessTagInfo()
H A DCodeGenModule.cpp150 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
157 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
167 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
546 if (CodeGenOpts.Autolink && in Release()
579 if (CodeGenOpts.Dwarf64) in Release()
600 if (CodeGenOpts.EHContGuard) { in Release()
604 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
769 if (CodeGenOpts.NoPLT) in Release()
771 if (CodeGenOpts.UnwindTables) in Release()
1791 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
[all …]
H A DCGCall.cpp1754 if (CodeGenOpts.OptimizeSize) in getDefaultFunctionAttributes()
1756 if (CodeGenOpts.OptimizeSize == 2) in getDefaultFunctionAttributes()
1760 if (CodeGenOpts.DisableRedZone) in getDefaultFunctionAttributes()
1762 if (CodeGenOpts.IndirectTlsSegRefs) in getDefaultFunctionAttributes()
1764 if (CodeGenOpts.NoImplicitFloat) in getDefaultFunctionAttributes()
1788 if (CodeGenOpts.LessPreciseFPMAD) in getDefaultFunctionAttributes()
1797 if (CodeGenOpts.FP32DenormalMode != CodeGenOpts.FPDenormalMode) { in getDefaultFunctionAttributes()
1819 if (CodeGenOpts.SoftFloat) in getDefaultFunctionAttributes()
1837 if (CodeGenOpts.StackRealignment) in getDefaultFunctionAttributes()
1839 if (CodeGenOpts.Backchain) in getDefaultFunctionAttributes()
[all …]
H A DCodeGenModule.h307 const CodeGenOptions &CodeGenOpts; variable
584 const CodeGenOptions &CodeGenOpts, llvm::Module &M,
708 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
1597 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
H A DCodeGenTBAA.h120 const CodeGenOptions &CodeGenOpts; variable
H A DCGVTables.cpp1011 assert((def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage()
1012 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && in getVTableLinkage()
1015 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
H A DTargetInfo.cpp11102 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo()
11103 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo()
11117 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe"); in getTargetCodeGenInfo()
11119 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
11124 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11138 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11149 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11175 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11193 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
11197 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, in getTargetCodeGenInfo()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td258 class CodeGenOpts<string base>
1103 CodeGenOpts<"Autolink">, DefaultTrue,
1223 CodeGenOpts<"EmitGcovArcs">, DefaultFalse,
1255 CodeGenOpts<"Addrsig">, DefaultFalse,
1398 CodeGenOpts<"EmulatedTLS">, DefaultFalse,
2264 CodeGenOpts<"CXAAtExit">, DefaultTrue,
2427 CodeGenOpts<"NoPLT">, DefaultFalse,
2657 CodeGenOpts<"RerollLoops">, DefaultFalse,
2677 CodeGenOpts<"UseInitArray">, DefaultTrue,
3417 CodeGenOpts<"Backchain">, DefaultFalse,
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h136 CodeGenOptions CodeGenOpts; variable
154 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts()
155 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
H A DCompilerInstance.h631 const CodeGenOptions *CodeGenOpts = nullptr);
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp448 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() local
454 CodeGenOpts.DisableFree = FrontendOpts.DisableFree; in FixupInvocation()
457 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables; in FixupInvocation()
464 CodeGenOpts.CodeModel = TargetOpts.CodeModel; in FixupInvocation()
525 if (!CodeGenOpts.ProfileRemappingFile.empty() && CodeGenOpts.LegacyPassManager) in FixupInvocation()
1310 const CodeGenOptions &CodeGenOpts = Opts; in GenerateCodeGenArgs() local
1565 CodeGenOptions &CodeGenOpts = Opts; in ParseCodeGenArgs() local
4131 !CodeGenOpts.CFProtectionReturn && CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs()
4134 !CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs()
4137 CodeGenOpts.CFProtectionBranch) in GeneratePreprocessorArgs()
[all …]
H A DCompilerInstance.cpp279 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument
302 if (CodeGenOpts) in SetUpDiagnosticLog()
303 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog()
338 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument
356 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()