Lines Matching refs:getCodeGenOpts
68 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo()
69 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo()
71 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo()
238 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy()
304 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName()
349 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum()
350 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum()
366 if (!CGM.getCodeGenOpts().EmbedSource) in getSource()
477 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber()
489 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname()
490 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname()
515 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit()
551 else if (LO.CPlusPlus14 && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
552 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
554 else if (LO.CPlusPlus11 && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
555 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
561 } else if (LO.OpenCL && (!CGM.getCodeGenOpts().DebugStrictDwarf || in CreateCompileUnit()
562 CGM.getCodeGenOpts().DwarfVersion >= 5)) { in CreateCompileUnit()
600 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit()
612 if (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB) { in CreateCompileUnit()
1046 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier()
1120 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in getOrCreateRecordFwdDecl()
1125 if (CGM.getCodeGenOpts().DebugFwdTemplateParams) in getOrCreateRecordFwdDecl()
1614 if (CGM.getCodeGenOpts().EmitCodeView && in CollectRecordFields()
1637 } else if (CGM.getCodeGenOpts().EmitCodeView) { in CollectRecordFields()
1928 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases()
2011 if (Args.TList && CGM.getCodeGenOpts().DwarfVersion >= 5) in CollectTemplateParams()
2224 if (!CGM.getCodeGenOpts().EmitCodeView || in getDynamicInitializerName()
2291 bool NeedVTableShape = CGM.getCodeGenOpts().EmitCodeView && in CollectVTableInfo()
2330 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in getOrCreateRecordType()
2342 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in getOrCreateStandaloneType()
2354 if (CGM.getCodeGenOpts().getDebugInfo() <= in addHeapAllocSiteMetadata()
3119 if (CGM.getCodeGenOpts().DebugStrictDwarf && in CreateType()
3120 CGM.getCodeGenOpts().DwarfVersion < 4) in CreateType()
3688 if (LinkageName == Name || (!CGM.getCodeGenOpts().EmitGcovArcs && in collectFunctionDeclProps()
3689 !CGM.getCodeGenOpts().EmitGcovNotes && in collectFunctionDeclProps()
3690 !CGM.getCodeGenOpts().DebugInfoForProfiling && in collectFunctionDeclProps()
3691 !CGM.getCodeGenOpts().PseudoProbeForProfiling && in collectFunctionDeclProps()
3697 if (CGM.getCodeGenOpts().hasReducedDebugInfo() || in collectFunctionDeclProps()
3699 CGM.getCodeGenOpts().EmitCodeView)) { in collectFunctionDeclProps()
3709 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in collectFunctionDeclProps()
3934 if (CGM.getCodeGenOpts().DwarfVersion < 5 && !OMD->isDirectMethod()) in getObjCMethodDeclaration()
3968 !CGM.getCodeGenOpts().EmitCodeView)) in getOrCreateFunctionType()
4419 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclare()
4599 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclare()
4683 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfAutoVariable()
4695 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitLabel()
4732 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfBlockDeclRefVariable()
4804 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfArgVariable()
4861 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitDeclareOfBlockLiteralArgVariable()
5137 CGM.getCodeGenOpts().getDebugSimpleTemplateNames(); in GetName()
5139 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in GetName()
5255 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitGlobalVariable()
5321 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitGlobalVariable()
5338 if (CGM.getCodeGenOpts().EmitCodeView) { in EmitGlobalVariable()
5407 assert(CGM.getCodeGenOpts().hasReducedDebugInfo()); in EmitExternalVariable()
5429 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitGlobalAlias()
5488 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingDirective()
5492 CGM.getCodeGenOpts().DebugExplicitImport) { in EmitUsingDirective()
5513 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingDecl()
5538 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitUsingEnumDecl()
5549 if (CGM.getCodeGenOpts().getDebuggerTuning() != llvm::DebuggerKind::LLDB) in EmitImportDecl()
5563 if (!CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitNamespaceAlias()
5636 if (CGM.getCodeGenOpts().DwarfVersion >= 5 || SubprogramDirect.getInt()) in finalize()
5686 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitExplicitCastType()
5692 if (CGM.getCodeGenOpts().hasMaybeUnusedDebugInfo()) in EmitAndRetainType()
5717 CGM.getCodeGenOpts().DwarfVersion == 4 && in getCallSiteRelatedAttrs()
5718 (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB || in getCallSiteRelatedAttrs()
5719 CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::GDB); in getCallSiteRelatedAttrs()
5721 if (!SupportsDWARFv4Ext && CGM.getCodeGenOpts().DwarfVersion < 5) in getCallSiteRelatedAttrs()