Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DBackendUtil.cpp104 const CodeGenOptions &CodeGenOpts; member in __anoncdf3490f0111::EmitAssemblyHelper
155 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), in EmitAssemblyHelper()
160 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
382 const CodeGenOptions &CodeGenOpts) { in createTLII() argument
385 switch (CodeGenOpts.getVecLib()) { in createTLII()
426 static CodeGenOpt::Level getCGOptLevel(const CodeGenOptions &CodeGenOpts) { in getCGOptLevel() argument
427 switch (CodeGenOpts.OptimizationLevel) { in getCGOptLevel()
442 getCodeModel(const CodeGenOptions &CodeGenOpts) { in getCodeModel() argument
443 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) in getCodeModel()
470 const CodeGenOptions &CodeGenOpts, in initTargetOptions() argument
[all …]
H A DCodeGenAction.cpp58 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler()
63 return CodeGenOpts.OptimizationRemarkAnalysis.patternMatches(PassName); in isAnalysisRemarkEnabled()
66 return CodeGenOpts.OptimizationRemarkMissed.patternMatches(PassName); in isMissedOptRemarkEnabled()
69 return CodeGenOpts.OptimizationRemark.patternMatches(PassName); in isPassedOptRemarkEnabled()
73 return CodeGenOpts.OptimizationRemarkAnalysis.hasValidPattern() || in isAnyRemarkEnabled()
74 CodeGenOpts.OptimizationRemarkMissed.hasValidPattern() || in isAnyRemarkEnabled()
75 CodeGenOpts.OptimizationRemark.hasValidPattern(); in isAnyRemarkEnabled()
79 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler
84 const CodeGenOptions CodeGenOpts) { in reportOptRecordError() argument
89 << CodeGenOpts.OptRecordFile << E.message(); in reportOptRecordError()
[all …]
H A DObjectFilePCHContainerOperations.cpp50 CodeGenOptions CodeGenOpts; member in __anon115c17220111::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 __anon20d6d9160111::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.cpp103 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule()
150 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
151 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule()
156 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule()
157 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
165 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule()
167 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
172 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule()
181 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
185 if (CodeGenOpts.UniqueInternalLinkageNames && in CodeGenModule()
[all …]
H A DCGCall.cpp1753 if (CodeGenOpts.OptimizeSize) in getDefaultFunctionAttributes()
1755 if (CodeGenOpts.OptimizeSize == 2) in getDefaultFunctionAttributes()
1759 if (CodeGenOpts.DisableRedZone) in getDefaultFunctionAttributes()
1761 if (CodeGenOpts.IndirectTlsSegRefs) in getDefaultFunctionAttributes()
1763 if (CodeGenOpts.NoImplicitFloat) in getDefaultFunctionAttributes()
1768 if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name)) in getDefaultFunctionAttributes()
1770 if (!CodeGenOpts.TrapFuncName.empty()) in getDefaultFunctionAttributes()
1771 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in getDefaultFunctionAttributes()
1774 switch (CodeGenOpts.getFramePointer()) { in getDefaultFunctionAttributes()
1787 if (CodeGenOpts.LessPreciseFPMAD) 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.cpp11056 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo()
11057 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo()
11071 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe"); in getTargetCodeGenInfo()
11073 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
11078 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11080 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
11092 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11103 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11129 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
11141 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DOptions.td258 class CodeGenOpts<string base>
259 : KeyPathAndMacro<"CodeGenOpts.", base, "CODEGEN_"> {}
831 MarshallingInfoFlag<CodeGenOpts<"EmitOpenCLArgMetadata">>;
840 MarshallingInfoFlag<CodeGenOpts<"LessPreciseFPMAD">>,
851 MarshallingInfoFlag<CodeGenOpts<"OpenCLCorrectlyRoundedDivSqrt">>;
854 MarshallingInfoFlag<CodeGenOpts<"UniformWGSize">>;
957 CodeGenOpts<"HIPCorrectlyRoundedDivSqrt">, DefaultTrue,
1099 CodeGenOpts<"Autolink">, DefaultTrue,
1114 MarshallingInfoEnum<CodeGenOpts<"EmbedBitcode">, "Embed_Off">;
1132 MarshallingInfoString<CodeGenOpts<"SampleProfileFile">>;
[all …]
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp448 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() local
451 CodeGenOpts.XRayInstrumentFunctions = LangOpts.XRayInstrument; in FixupInvocation()
452 CodeGenOpts.XRayAlwaysEmitCustomEvents = LangOpts.XRayAlwaysEmitCustomEvents; in FixupInvocation()
453 CodeGenOpts.XRayAlwaysEmitTypedEvents = LangOpts.XRayAlwaysEmitTypedEvents; in FixupInvocation()
454 CodeGenOpts.DisableFree = FrontendOpts.DisableFree; in FixupInvocation()
457 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables; in FixupInvocation()
458 LangOpts.SpeculativeLoadHardening = CodeGenOpts.SpeculativeLoadHardening; 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
[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()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DInternalsManual.rst708 + 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">;