Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp79 const CodeGenOptions &CodeGenOpts; member in __anonf19209130111::EmitAssemblyHelper
135 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
423 assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || in initTargetOptions()
424 CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) && in initTargetOptions()
499 if (CodeGenOpts.DisableGCov) in getGCOVOptions()
501 if (!CodeGenOpts.EmitGcovArcs && !CodeGenOpts.EmitGcovNotes) in getGCOVOptions()
546 CodeGenOpts.OptimizationLevel, CodeGenOpts.OptimizeSize, in CreatePasses()
666 if (CodeGenOpts.VerifyModule) in CreatePasses()
779 setCommandLineOpts(CodeGenOpts); in EmitAssembly()
812 if (CodeGenOpts.PrepareForThinLTO && !CodeGenOpts.DisableLLVMPasses) { in EmitAssembly()
[all …]
H A DCodeGenAction.cpp53 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler()
66 return (CodeGenOpts.OptimizationRemarkPattern && in isPassedOptRemarkEnabled()
73 CodeGenOpts.OptimizationRemarkPattern); in isAnyRemarkEnabled()
77 const CodeGenOptions &CodeGenOpts; member in clang::ClangDiagnosticHandler
88 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer
114 const CodeGenOptions &CodeGenOpts, in BackendConsumer() argument
122 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), in BackendConsumer()
263 CodeGenOpts, this)); in HandleTranslationUnit()
267 CodeGenOpts.DiagnosticsHotnessThreshold); in HandleTranslationUnit()
270 if (!CodeGenOpts.OptRecordFile.empty()) { in HandleTranslationUnit()
[all …]
H A DObjectFilePCHContainerOperations.cpp51 CodeGenOptions CodeGenOpts; member in __anon266401a60111::PCHContainerGenerator
150 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator()
151 CodeGenOpts.ThreadModel = "single"; in PCHContainerGenerator()
152 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator()
154 CodeGenOpts.MainFileName = in PCHContainerGenerator()
156 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator()
157 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
158 CodeGenOpts.DebugPrefixMap = in PCHContainerGenerator()
172 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize()
298 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
[all …]
H A DCodeGenTBAA.cpp36 : Context(Ctx), Module(M), CodeGenOpts(CGO), in CodeGenTBAA()
62 if (CodeGenOpts.NewStructPathTBAA) { in createScalarTypeNode()
165 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfoHelper()
190 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTypeInfo()
323 if (CodeGenOpts.NewStructPathTBAA) { in getBaseTypeInfoHelper()
364 if (!CodeGenOpts.StructPathTBAA) in getAccessTagInfo()
375 if (CodeGenOpts.NewStructPathTBAA) { in getAccessTagInfo()
H A DModuleBuilder.cpp38 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anona725aa1a0111::CodeGeneratorImpl
76 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl()
139 PreprocessorOpts, CodeGenOpts, in Initialize()
142 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize()
144 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
H A DCodeGenModule.cpp140 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
147 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
157 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
171 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
441 if (CodeGenOpts.Autolink && in Release()
451 if (CodeGenOpts.DwarfVersion) { in Release()
468 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
576 if (CodeGenOpts.NoPLT) in Release()
1228 if (CodeGenOpts.UnwindTables) in SetLLVMFunctionAttributesForDefinition()
1258 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
[all …]
H A DCGCall.cpp1710 if (CodeGenOpts.OptimizeSize) in ConstructDefaultFnAttrList()
1712 if (CodeGenOpts.OptimizeSize == 2) in ConstructDefaultFnAttrList()
1716 if (CodeGenOpts.DisableRedZone) in ConstructDefaultFnAttrList()
1718 if (CodeGenOpts.IndirectTlsSegRefs) in ConstructDefaultFnAttrList()
1720 if (CodeGenOpts.NoImplicitFloat) in ConstructDefaultFnAttrList()
1732 if (!CodeGenOpts.DisableFPElim) { in ConstructDefaultFnAttrList()
1745 if (CodeGenOpts.NullPointerIsValid) in ConstructDefaultFnAttrList()
1791 if (CodeGenOpts.StackRealignment) in ConstructDefaultFnAttrList()
1793 if (CodeGenOpts.Backchain) in ConstructDefaultFnAttrList()
1816 if (CodeGenOpts.FlushDenorm) in ConstructDefaultFnAttrList()
[all …]
H A DCodeGenTBAA.h121 const CodeGenOptions &CodeGenOpts; variable
H A DCGVTables.cpp809 assert((def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage()
810 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && in getVTableLinkage()
813 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
H A DCodeGenModule.h297 const CodeGenOptions &CodeGenOpts; variable
541 const CodeGenOptions &CodeGenOpts, llvm::Module &M,
658 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
H A DTargetInfo.cpp9323 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo()
9324 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo()
9335 new PPC32TargetCodeGenInfo(Types, CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo()
9342 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
9354 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; in getTargetCodeGenInfo()
9384 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
9390 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
9394 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, in getTargetCodeGenInfo()
9395 CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h128 CodeGenOptions CodeGenOpts; variable
195 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts()
196 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
H A DCompilerInstance.h644 const CodeGenOptions *CodeGenOpts = nullptr);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp217 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument
240 if (CodeGenOpts) in SetUpDiagnosticLog()
241 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog()
272 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument
290 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()