Lines Matching refs:getCodeGenOpts
67 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo()
68 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo()
70 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo()
237 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy()
297 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName()
342 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum()
343 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum()
363 if (!CGM.getCodeGenOpts().EmbedSource) in getSource()
473 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber()
485 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname()
486 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname()
509 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit()
544 else if (LO.CPlusPlus14 && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
545 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
547 else if (LO.CPlusPlus11 && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
548 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
554 } else if (LO.OpenCL && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
555 CGM.getCodeGenOpts().DwarfVersion >= 5)) { in CreateCompileUnit()
593 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit()
605 if (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB) { in CreateCompileUnit()
1016 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier()
1090 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in getOrCreateRecordFwdDecl()
1095 if (CGM.getCodeGenOpts().DebugFwdTemplateParams) in getOrCreateRecordFwdDecl()
1539 if (CGM.getCodeGenOpts().EmitCodeView && in CollectRecordFields()
1562 } else if (CGM.getCodeGenOpts().EmitCodeView) { in CollectRecordFields()
1836 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases()
1917 if (TPList && CGM.getCodeGenOpts().DwarfVersion >= 5) in CollectTemplateParams()
2097 if (!CGM.getCodeGenOpts().EmitCodeView || in getDynamicInitializerName()
2164 bool NeedVTableShape = CGM.getCodeGenOpts().EmitCodeView && in CollectVTableInfo()
2203 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in getOrCreateRecordType()
2215 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in getOrCreateStandaloneType()
2227 if (CGM.getCodeGenOpts().getDebugInfo() <= in addHeapAllocSiteMetadata()
2975 if (CGM.getCodeGenOpts().DebugStrictDwarf && in CreateType()
2976 CGM.getCodeGenOpts().DwarfVersion < 4) in CreateType()
3528 if (LinkageName == Name || (!CGM.getCodeGenOpts().EmitGcovArcs && in collectFunctionDeclProps()
3529 !CGM.getCodeGenOpts().EmitGcovNotes && in collectFunctionDeclProps()
3530 !CGM.getCodeGenOpts().DebugInfoForProfiling && in collectFunctionDeclProps()
3531 !CGM.getCodeGenOpts().PseudoProbeForProfiling && in collectFunctionDeclProps()
3537 if (CGM.getCodeGenOpts().hasReducedDebugInfo() || in collectFunctionDeclProps()
3539 CGM.getCodeGenOpts().EmitCodeView)) { in collectFunctionDeclProps()
3549 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in collectFunctionDeclProps()
3763 if (CGM.getCodeGenOpts().DwarfVersion < 5 && !OMD->isDirectMethod()) in getObjCMethodDeclaration()
3797 !CGM.getCodeGenOpts().EmitCodeView)) in getOrCreateFunctionType()
4229 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclare()
4407 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfAutoVariable()
4412 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitLabel()
4449 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfBlockDeclRefVariable()
4521 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfArgVariable()
4578 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfBlockLiteralArgVariable()
4757 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitGlobalVariable()
4822 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitGlobalVariable()
4839 if (CGM.getCodeGenOpts().EmitCodeView) { in EmitGlobalVariable()
4908 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitExternalVariable()
4933 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingDirective()
4937 CGM.getCodeGenOpts().DebugExplicitImport) { in EmitUsingDirective()
4958 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingDecl()
4983 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingEnumDecl()
4994 if (CGM.getCodeGenOpts().getDebuggerTuning() != llvm::DebuggerKind::LLDB) in EmitImportDecl()
5008 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitNamespaceAlias()
5081 if (CGM.getCodeGenOpts().DwarfVersion >= 5 || SubprogramDirect.getInt()) in finalize()
5131 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitExplicitCastType()
5137 if (CGM.getCodeGenOpts().hasMaybeUnusedDebugInfo()) in EmitAndRetainType()
5162 CGM.getCodeGenOpts().DwarfVersion == 4 && in getCallSiteRelatedAttrs()
5163 (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB || in getCallSiteRelatedAttrs()
5164 CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::GDB); in getCallSiteRelatedAttrs()
5166 if (!SupportsDWARFv4Ext && CGM.getCodeGenOpts().DwarfVersion < 5) in getCallSiteRelatedAttrs()