• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching defs:CGDebugInfo

1 //===--- CGDebugInfo.cpp - Emit Debug Information for a Module ------------===//
13 #include "CGDebugInfo.h"
66 CGDebugInfo::CGDebugInfo(CodeGenModule &CGM)
75 CGDebugInfo::~CGDebugInfo() {
156 "CGDebugInfo and IRBuilder are out of sync");
169 void CGDebugInfo::setLocation(SourceLocation Loc) {
200 llvm::DIScope *CGDebugInfo::getDeclContextDescriptor(const Decl *D) {
206 llvm::DIScope *CGDebugInfo::getContextDescriptor(const Decl *Context,
228 PrintingPolicy CGDebugInfo::getPrintingPolicy() const {
250 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
285 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
309 StringRef CGDebugInfo::getSelectorName(Selector S) {
313 StringRef CGDebugInfo::getClassName(const RecordDecl *RD) {
369 CGDebugInfo::computeChecksum(FileID FID, SmallString<32> &Checksum) const {
392 Optional<StringRef> CGDebugInfo::getSource(const SourceManager &SM,
406 llvm::DIFile *CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
441 CGDebugInfo::createFile(StringRef FileName,
479 std::string CGDebugInfo::remapDIPath(StringRef Path) const {
490 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) {
498 unsigned CGDebugInfo::getColumnNumber(SourceLocation Loc, bool Force) {
511 StringRef CGDebugInfo::getCurrentDirname() {
522 void CGDebugInfo::CreateCompileUnit() {
648 llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
853 llvm::DIType *CGDebugInfo::CreateType(const AutoType *Ty) {
857 llvm::DIType *CGDebugInfo::CreateType(const ExtIntType *Ty) {
868 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) {
878 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty,
912 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty,
925 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty,
1021 CGDebugInfo::getOrCreateRecordFwdDecl(const RecordType *Ty,
1058 llvm::DIType *CGDebugInfo::CreatePointerLikeType(llvm::dwarf::Tag Tag,
1080 llvm::DIType *CGDebugInfo::getOrCreateStructPtrType(StringRef Name,
1091 uint64_t CGDebugInfo::collectDefaultElementTypesForBlockPointer(
1127 llvm::DIType *CGDebugInfo::CreateType(const BlockPointerType *Ty,
1168 llvm::DIType *CGDebugInfo::CreateType(const TemplateSpecializationType *Ty,
1191 llvm::DIType *CGDebugInfo::CreateType(const TypedefType *Ty,
1253 llvm::DIType *CGDebugInfo::CreateType(const FunctionType *Ty,
1303 llvm::DIType *CGDebugInfo::createBitFieldType(const FieldDecl *BitFieldDecl,
1336 CGDebugInfo::createFieldType(StringRef name, QualType type, SourceLocation loc,
1360 void CGDebugInfo::CollectRecordLambdaFields(
1402 CGDebugInfo::CreateRecordStaticField(const VarDecl *Var, llvm::DIType *RecordTy,
1431 void CGDebugInfo::CollectRecordNormalField(
1455 void CGDebugInfo::CollectRecordNestedType(
1466 void CGDebugInfo::CollectRecordFields(
1524 CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
1534 CGDebugInfo::getOrCreateInstanceMethodType(QualType ThisPtr,
1602 llvm::DISubprogram *CGDebugInfo::CreateCXXMemberFunction(
1737 void CGDebugInfo::CollectCXXMemberFunctions(
1775 void CGDebugInfo::CollectCXXBases(const CXXRecordDecl *RD, llvm::DIFile *Unit,
1790 void CGDebugInfo::CollectCXXBasesAux(
1838 CGDebugInfo::CollectTemplateParams(const TemplateParameterList *TPList,
1970 CGDebugInfo::CollectFunctionTemplateParams(const FunctionDecl *FD,
1983 llvm::DINodeArray CGDebugInfo::CollectVarTemplateParams(const VarDecl *VL,
1997 llvm::DINodeArray CGDebugInfo::CollectCXXTemplateParams(
2008 llvm::DIType *CGDebugInfo::getOrCreateVTablePtrType(llvm::DIFile *Unit) {
2029 StringRef CGDebugInfo::getVTableName(const CXXRecordDecl *RD) {
2034 StringRef CGDebugInfo::getDynamicInitializerName(const VarDecl *VD,
2086 void CGDebugInfo::CollectVTableInfo(const CXXRecordDecl *RD, llvm::DIFile *Unit,
2142 llvm::DIType *CGDebugInfo::getOrCreateRecordType(QualType RTy,
2149 llvm::DIType *CGDebugInfo::getOrCreateInterfaceType(QualType D,
2154 llvm::DIType *CGDebugInfo::getOrCreateStandaloneType(QualType D,
2165 void CGDebugInfo::addHeapAllocSiteMetadata(llvm::CallBase *CI,
2180 void CGDebugInfo::completeType(const EnumDecl *ED) {
2193 void CGDebugInfo::completeType(const RecordDecl *RD) {
2241 void CGDebugInfo::completeClassData(const RecordDecl *RD) {
2255 void CGDebugInfo::completeClass(const RecordDecl *RD) {
2334 void CGDebugInfo::completeRequiredType(const RecordDecl *RD) {
2344 llvm::DIType *CGDebugInfo::CreateType(const RecordType *Ty) {
2357 llvm::DIType *CGDebugInfo::CreateTypeDefinition(const RecordType *Ty) {
2415 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectType *Ty,
2421 llvm::DIType *CGDebugInfo::CreateType(const ObjCTypeParamType *Ty,
2457 llvm::DIType *CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
2493 llvm::DIModule *CGDebugInfo::getOrCreateModuleRef(ASTSourceDescriptor Mod,
2588 llvm::DIType *CGDebugInfo::CreateTypeDefinition(const ObjCInterfaceType *Ty,
2752 llvm::DIType *CGDebugInfo::CreateType(const VectorType *Ty,
2780 llvm::DIType *CGDebugInfo::CreateType(const ConstantMatrixType *Ty,
2807 llvm::DIType *CGDebugInfo::CreateType(const ArrayType *Ty, llvm::DIFile *Unit) {
2877 llvm::DIType *CGDebugInfo::CreateType(const LValueReferenceType *Ty,
2883 llvm::DIType *CGDebugInfo::CreateType(const RValueReferenceType *Ty,
2889 llvm::DIType *CGDebugInfo::CreateType(const MemberPointerType *Ty,
2930 llvm::DIType *CGDebugInfo::CreateType(const AtomicType *Ty, llvm::DIFile *U) {
2935 llvm::DIType *CGDebugInfo::CreateType(const PipeType *Ty, llvm::DIFile *U) {
2939 llvm::DIType *CGDebugInfo::CreateEnumType(const EnumType *Ty) {
2983 llvm::DIType *CGDebugInfo::CreateTypeDefinition(const EnumType *Ty) {
3017 llvm::DIMacro *CGDebugInfo::CreateMacro(llvm::DIMacroFile *Parent,
3024 llvm::DIMacroFile *CGDebugInfo::CreateTempMacroFile(llvm::DIMacroFile *Parent,
3097 llvm::DIType *CGDebugInfo::getTypeOrNull(QualType Ty) {
3112 void CGDebugInfo::completeTemplateDefinition(
3119 void CGDebugInfo::completeUnusedClass(const CXXRecordDecl &D) {
3129 llvm::DIType *CGDebugInfo::getOrCreateType(QualType Ty, llvm::DIFile *Unit) {
3155 llvm::DIModule *CGDebugInfo::getParentModuleOrNull(const Decl *D) {
3190 llvm::DIType *CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile *Unit) {
3277 llvm::DICompositeType *CGDebugInfo::getOrCreateLimitedType(const RecordType *Ty,
3303 llvm::DICompositeType *CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
3387 void CGDebugInfo::CollectContainingType(const CXXRecordDecl *RD,
3411 llvm::DIType *CGDebugInfo::CreateMemberType(llvm::DIFile *Unit, QualType FType,
3413 llvm::DIType *FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
3423 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
3462 void CGDebugInfo::collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit,
3517 llvm::DISubprogram *CGDebugInfo::getFunctionFwdDeclOrStub(GlobalDecl GD,
3564 llvm::DISubprogram *CGDebugInfo::getFunctionForwardDeclaration(GlobalDecl GD) {
3568 llvm::DISubprogram *CGDebugInfo::getFunctionStub(GlobalDecl GD) {
3573 CGDebugInfo::getGlobalVariableForwardDeclaration(const VarDecl *VD) {
3595 llvm::DINode *CGDebugInfo::getDeclarationOrDefinition(const Decl *D) {
3622 llvm::DISubprogram *CGDebugInfo::getFunctionDeclaration(const Decl *D) {
3657 llvm::DISubprogram *CGDebugInfo::getObjCMethodDeclaration(
3695 llvm::DISubroutineType *CGDebugInfo::getOrCreateFunctionType(const Decl *D,
3765 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
3867 void CGDebugInfo::EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
3927 void CGDebugInfo::EmitFuncDeclForCallSite(llvm::CallBase *CallOrInvoke,
3957 void CGDebugInfo::EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD) {
3972 void CGDebugInfo::EmitInlineFunctionEnd(CGBuilderTy &Builder) {
3978 void CGDebugInfo::EmitLocation(CGBuilderTy &Builder, SourceLocation Loc) {
3990 void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) {
3999 void CGDebugInfo::AppendAddressSpaceXDeref(
4012 void CGDebugInfo::EmitLexicalBlockStart(CGBuilderTy &Builder,
4029 void CGDebugInfo::EmitLexicalBlockEnd(CGBuilderTy &Builder,
4042 void CGDebugInfo::EmitFunctionEnd(CGBuilderTy &Builder, llvm::Function *Fn) {
4059 CGDebugInfo::BlockByRefType
4060 CGDebugInfo::EmitTypeForVarWithBlocksAttr(const VarDecl *VD,
4130 llvm::DILocalVariable *CGDebugInfo::EmitDeclare(const VarDecl *VD,
4266 CGDebugInfo::EmitDeclareOfAutoVariable(const VarDecl *VD, llvm::Value *Storage,
4273 void CGDebugInfo::EmitLabel(const LabelDecl *D, CGBuilderTy &Builder) {
4299 llvm::DIType *CGDebugInfo::CreateSelfType(const QualType &QualTy,
4307 void CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(
4378 void CGDebugInfo::EmitDeclareOfArgVariable(const VarDecl *VD, llvm::Value *AI,
4395 void CGDebugInfo::collectDefaultFieldsForBlockLiteralDeclare(
4433 void CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block,
4560 CGDebugInfo::getOrCreateStaticDataMemberDeclarationOrNull(const VarDecl *D) {
4577 llvm::DIGlobalVariableExpression *CGDebugInfo::CollectAnonRecordDecls(
4602 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
4672 void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD, const APValue &Init) {
4770 void CGDebugInfo::EmitExternalVariable(llvm::GlobalVariable *Var,
4789 llvm::DIScope *CGDebugInfo::getCurrentContextDescriptor(const Decl *D) {
4796 void CGDebugInfo::EmitUsingDirective(const UsingDirectiveDecl &UD) {
4809 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) {
4836 void CGDebugInfo::EmitImportDecl(const ImportDecl &ID) {
4850 CGDebugInfo::EmitNamespaceAlias(const NamespaceAliasDecl &NA) {
4875 CGDebugInfo::getOrCreateNamespace(const NamespaceDecl *NSDecl) {
4891 void CGDebugInfo::setDwoId(uint64_t Signature) {
4896 void CGDebugInfo::finalize() {
4972 void CGDebugInfo::EmitExplicitCastType(QualType Ty) {
4981 llvm::DebugLoc CGDebugInfo::SourceLocToDebugLoc(SourceLocation Loc) {
4989 llvm::DINode::DIFlags CGDebugInfo::getCallSiteRelatedAttrs() const {