| /freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 137 const CodeGenOptions &CodeGenOpts; 196 return CodeGenOpts.PrepareForLTO && !CodeGenOpts.DisableLLVMPasses && 204 return CodeGenOpts.UnifiedLTO && in EmitAssemblyHelper() 205 (CodeGenOpts.PrepareForThinLTO || shouldEmitRegularLTOSummary()); in EmitAssemblyHelper() 215 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), 221 if (CodeGenOpts.DisableFree) 293 getCodeModel(const CodeGenOptions &CodeGenOpts) { in getCodeModel() 294 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) in getCodeModel() 326 const CodeGenOptions &CodeGenOpts, in initTargetOptions() 126 const CodeGenOptions &CodeGenOpts; global() member in __anon188c7e160111::EmitAssemblyHelper 282 getCodeModel(const CodeGenOptions & CodeGenOpts) getCodeModel() argument 315 initTargetOptions(DiagnosticsEngine & Diags,llvm::TargetOptions & Options,const CodeGenOptions & CodeGenOpts,const clang::TargetOptions & TargetOpts,const LangOptions & LangOpts,const HeaderSearchOptions & HSOpts) initTargetOptions() argument 481 getGCOVOptions(const CodeGenOptions & CodeGenOpts,const LangOptions & LangOpts) getGCOVOptions() argument 499 getInstrProfOptions(const CodeGenOptions & CodeGenOpts,const LangOptions & LangOpts) getInstrProfOptions() argument 510 setCommandLineOpts(const CodeGenOptions & CodeGenOpts) setCommandLineOpts() argument 648 addSanitizers(const Triple & TargetTriple,const CodeGenOptions & CodeGenOpts,const LangOptions & LangOpts,PassBuilder & PB) addSanitizers() argument [all...] |
| H A D | CodeGenAction.cpp | 68 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler() 73 return CodeGenOpts.OptimizationRemarkAnalysis.patternMatches(PassName); in isAnalysisRemarkEnabled() 76 return CodeGenOpts.OptimizationRemarkMissed.patternMatches(PassName); in isMissedOptRemarkEnabled() 79 return CodeGenOpts.OptimizationRemark.patternMatches(PassName); in isPassedOptRemarkEnabled() 83 return CodeGenOpts.OptimizationRemarkAnalysis.hasValidPattern() || in isAnyRemarkEnabled() 84 CodeGenOpts.OptimizationRemarkMissed.hasValidPattern() || in isAnyRemarkEnabled() 85 CodeGenOpts.OptimizationRemark.hasValidPattern(); in isAnyRemarkEnabled() 89 const CodeGenOptions &CodeGenOpts; 94 const CodeGenOptions &CodeGenOpts) { in reportOptRecordError() 99 << CodeGenOpts in reportOptRecordError() 90 const CodeGenOptions &CodeGenOpts; global() member in clang::ClangDiagnosticHandler 95 reportOptRecordError(Error E,DiagnosticsEngine & Diags,const CodeGenOptions & CodeGenOpts) reportOptRecordError() argument 116 BackendConsumer(BackendAction Action,DiagnosticsEngine & Diags,IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,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) BackendConsumer() argument 144 BackendConsumer(BackendAction Action,DiagnosticsEngine & Diags,IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,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) BackendConsumer() argument 1160 auto &CodeGenOpts = CI.getCodeGenOpts(); ExecuteAction() local [all...] |
| H A D | ObjectFilePCHContainerOperations.cpp | 51 CodeGenOptions CodeGenOpts; member in __anon03be76890111::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 D | CodeGenTBAA.cpp | 41 : Context(Ctx), CGTypes(CGTypes), Module(M), CodeGenOpts(CGO), in ~CodeGenTBAA() 66 if (CodeGenOpts.NewStructPathTBAA) { in createScalarTypeNode() 215 if (!CodeGenOpts.PointerTBAA) in getTypeInfoHelper() 230 ScalarMD->getOperand(CodeGenOpts.NewStructPathTBAA ? 2 : 0)) in getTypeInfo() 242 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfo() 280 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in CollectFields() 409 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getBaseTypeInfoHelper() 435 if (CodeGenOpts in getBaseTypeInfo() [all...] |
| H A D | ModuleBuilder.cpp | 39 const CodeGenOptions &CodeGenOpts; member in __anon76916bdd0111::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 | 113 const CodeGenOptions &CodeGenOpts = CGM.getCodeGenOpts(); in createTargetCodeGenInfo() 179 else if (CodeGenOpts.FloatABI == "hard" || in createTargetCodeGenInfo() 180 (CodeGenOpts.FloatABI != "soft" && Triple.isHardFloatABI())) in createTargetCodeGenInfo() 191 CodeGenOpts.FloatABI == "soft" || Target.hasFeature("spe"); in createTargetCodeGenInfo() 195 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in createTargetCodeGenInfo() 206 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in createTargetCodeGenInfo() 216 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in createTargetCodeGenInfo() 242 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; in createTargetCodeGenInfo() 258 CodeGenOpts.NumRegisterParameters); in createTargetCodeGenInfo() 262 CodeGenOpts in createTargetCodeGenInfo() 110 const CodeGenOptions &CodeGenOpts = CGM.getCodeGenOpts(); createTargetCodeGenInfo() local 1350 EmitBackendOptionsMetadata(const CodeGenOptions & CodeGenOpts) EmitBackendOptionsMetadata() argument [all...] |
| H A D | BackendConsumer.h | 34 const CodeGenOptions &CodeGenOpts; variable 76 const CodeGenOptions &CodeGenOpts, 90 const CodeGenOptions &CodeGenOpts,
|
| H A D | CGCall.cpp | 1856 addMergableDefaultFunctionAttributes(const CodeGenOptions &CodeGenOpts, in HasStrictReturn() 1858 addDenormalModeAttrs(CodeGenOpts.FPDenormalMode, CodeGenOpts.FP32DenormalMode, in HasStrictReturn() 1863 StringRef Name, bool HasOptnone, const CodeGenOptions &CodeGenOpts, 1868 if (CodeGenOpts.OptimizeSize) in addDenormalModeAttrs() 1870 if (CodeGenOpts.OptimizeSize == 2) in addDenormalModeAttrs() 1874 if (CodeGenOpts.DisableRedZone) 1876 if (CodeGenOpts.IndirectTlsSegRefs) 1878 if (CodeGenOpts.NoImplicitFloat) in addMergableDefaultFunctionAttributes() argument 1885 if (!CodeGenOpts in getTrivialDefaultFunctionAttributes() argument 2068 mergeDefaultFunctionDefinitionAttributes(llvm::Function & F,const CodeGenOptions & CodeGenOpts,const LangOptions & LangOpts,const TargetOptions & TargetOpts,bool WillInternalize) mergeDefaultFunctionDefinitionAttributes() argument [all...] |
| H A D | CodeGenTBAA.h | 120 const CodeGenOptions &CodeGenOpts; 119 const CodeGenOptions &CodeGenOpts; global() variable
|
| H A D | CodeGenModule.h | 307 const CodeGenOptions &CodeGenOpts; variable 634 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 768 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getVTables() 1832 void EmitBackendOptionsMetadata(const CodeGenOptions &CodeGenOpts);
|
| H A D | CGCall.h | 399 /// Adds attributes to \p F according to our \p CodeGenOpts and \p LangOpts, as 417 const CodeGenOptions &CodeGenOpts,
|
| H A D | CGVTables.cpp | 1108 (IsInNamedModule || def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage() 1109 CodeGenOpts.getDebugInfo() != llvm::codegenoptions::NoDebugInfo) && in getVTableLinkage() 1112 if (IsExternalDefinition && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Options.td | 331 class CodeGenOpts<string base> 332 : KeyPathAndMacro<"CodeGenOpts.", base, "CODEGEN_"> {} 1126 MarshallingInfoFlag<CodeGenOpts<"EmitOpenCLArgMetadata">>; 1138 MarshallingInfoFlag<CodeGenOpts<"LessPreciseFPMAD">>, 1153 MarshallingInfoFlag<CodeGenOpts<"OpenCLCorrectlyRoundedDivSqrt">>; 1423 CodeGenOpts<"HIPCorrectlyRoundedDivSqrt">, DefaultTrue, 1430 CodeGenOpts<"HIPSaveKernelArgName">, DefaultFalse, 1589 MarshallingInfoInt<CodeGenOpts<"LoopAlignment">>; 1628 CodeGenOpts<"AssumeUniqueVTables">, DefaultTrue, 1652 CodeGenOpts<"Autolin [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 100 std::shared_ptr<CodeGenOptions> CodeGenOpts; variable 139 const CodeGenOptions &getCodeGenOpts() const { return *CodeGenOpts; } in getCodeGenOpts() 257 CodeGenOptions &getCodeGenOpts() { return *CodeGenOpts; } in getDependencyOutputOpts()
|
| H A D | Utils.h | 53 const CodeGenOptions &CodeGenOpts);
|
| H A D | CompilerInstance.h | 700 /// \param CodeGenOpts If non-NULL, the code gen options in use, which may be 708 const CodeGenOptions *CodeGenOpts = nullptr);
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 148 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() 254 return ensureOwned(CodeGenOpts); in getMutDependencyOutputOpts() 575 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() 578 CodeGenOpts.XRayInstrumentFunctions = LangOpts.XRayInstrument; in FixupInvocation() 579 CodeGenOpts.XRayAlwaysEmitCustomEvents = LangOpts.XRayAlwaysEmitCustomEvents; in FixupInvocation() 580 CodeGenOpts.XRayAlwaysEmitTypedEvents = LangOpts.XRayAlwaysEmitTypedEvents; in FixupInvocation() 581 CodeGenOpts in FixupInvocation() 564 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); FixupInvocation() local 1455 const CodeGenOptions &CodeGenOpts = Opts; GenerateCodeGenArgs() local 1715 CodeGenOptions &CodeGenOpts = Opts; ParseCodeGenArgs() local 4312 GeneratePreprocessorArgs(const PreprocessorOptions & Opts,ArgumentConsumer Consumer,const LangOptions & LangOpts,const FrontendOptions & FrontendOpts,const CodeGenOptions & CodeGenOpts) GeneratePreprocessorArgs() argument [all...] |
| H A D | InitPreprocessor.cpp | 1515 static void InitializePGOProfileMacros(const CodeGenOptions &CodeGenOpts, 1517 if (CodeGenOpts.hasProfileInstr()) 1520 if (CodeGenOpts.hasProfileIRUse() || CodeGenOpts.hasProfileClangUse()) 1530 const CodeGenOptions &CodeGenOpts) { 1580 InitializePGOProfileMacros(CodeGenOpts, Builder); 1368 InitializePGOProfileMacros(const CodeGenOptions & CodeGenOpts,MacroBuilder & Builder) InitializePGOProfileMacros() argument 1383 InitializePreprocessor(Preprocessor & PP,const PreprocessorOptions & InitOpts,const PCHContainerReader & PCHContainerRdr,const FrontendOptions & FEOpts,const CodeGenOptions & CodeGenOpts) InitializePreprocessor() argument
|
| H A D | CompilerInstance.cpp | 284 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()
|