Lines Matching refs:CGDebugInfo

1 //===--- CGDebugInfo.cpp - Emit Debug Information for a Module ------------===//
14 #include "CGDebugInfo.h"
44 CGDebugInfo::CGDebugInfo(CodeGenModule &CGM)
50 CGDebugInfo::~CGDebugInfo() {
100 void CGDebugInfo::setLocation(SourceLocation Loc) {
139 llvm::DIScope CGDebugInfo::getContextDescriptor(const Decl *Context) {
164 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
191 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
221 StringRef CGDebugInfo::getSelectorName(Selector S) {
227 CGDebugInfo::getClassName(const RecordDecl *RD) {
259 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
289 llvm::DIFile CGDebugInfo::getOrCreateMainFile() {
295 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) {
304 unsigned CGDebugInfo::getColumnNumber(SourceLocation Loc, bool Force) {
317 StringRef CGDebugInfo::getCurrentDirname() {
329 void CGDebugInfo::CreateCompileUnit() {
390 llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
516 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) {
532 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit) {
567 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty,
582 llvm::DIType CGDebugInfo::CreateType(const PointerType *Ty,
614 CGDebugInfo::getOrCreateRecordFwdDecl(const RecordType *Ty,
639 llvm::DIType CGDebugInfo::CreatePointerLikeType(unsigned Tag,
658 llvm::DIType CGDebugInfo::getOrCreateStructPtrType(StringRef Name,
669 llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
731 llvm::DIType CGDebugInfo::CreateType(const TypedefType *Ty, llvm::DIFile Unit) {
749 llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
772 llvm::DIType CGDebugInfo::createFieldType(StringRef name,
806 void CGDebugInfo::
853 CGDebugInfo::CreateRecordStaticField(const VarDecl *Var,
887 void CGDebugInfo::
915 void CGDebugInfo::CollectRecordFields(const RecordDecl *record,
958 CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
967 llvm::DICompositeType CGDebugInfo::getOrCreateInstanceMethodType(
1026 CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method,
1108 void CGDebugInfo::
1155 void CGDebugInfo::
1196 llvm::DIArray CGDebugInfo::
1318 llvm::DIArray CGDebugInfo::
1333 llvm::DIArray CGDebugInfo::
1348 llvm::DIType CGDebugInfo::getOrCreateVTablePtrType(llvm::DIFile Unit) {
1366 StringRef CGDebugInfo::getVTableName(const CXXRecordDecl *RD) {
1374 void CGDebugInfo::
1397 llvm::DIType CGDebugInfo::getOrCreateRecordType(QualType RTy,
1406 llvm::DIType CGDebugInfo::getOrCreateInterfaceType(QualType D,
1414 void CGDebugInfo::completeType(const RecordDecl *RD) {
1420 void CGDebugInfo::completeRequiredType(const RecordDecl *RD) {
1431 void CGDebugInfo::completeClassData(const RecordDecl *RD) {
1445 llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty) {
1476 llvm::DIType CGDebugInfo::CreateTypeDefinition(const RecordType *Ty) {
1536 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectType *Ty,
1568 llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
1744 llvm::DIType CGDebugInfo::CreateType(const VectorType *Ty, llvm::DIFile Unit) {
1761 llvm::DIType CGDebugInfo::CreateType(const ArrayType *Ty,
1816 llvm::DIType CGDebugInfo::CreateType(const LValueReferenceType *Ty,
1822 llvm::DIType CGDebugInfo::CreateType(const RValueReferenceType *Ty,
1828 llvm::DIType CGDebugInfo::CreateType(const MemberPointerType *Ty,
1841 llvm::DIType CGDebugInfo::CreateType(const AtomicType *Ty,
1849 llvm::DIType CGDebugInfo::CreateEnumType(const EnumType *Ty) {
1954 llvm::DIType CGDebugInfo::getTypeOrNull(QualType Ty) {
1980 llvm::DIType CGDebugInfo::getCompletedTypeOrNull(QualType Ty) {
2001 llvm::Value *CGDebugInfo::getCachedInterfaceTypeOrNull(QualType Ty) {
2017 llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, llvm::DIFile Unit) {
2046 // declaration that gets RAUW'd in CGDebugInfo::finalize().
2072 unsigned CGDebugInfo::Checksum(const ObjCInterfaceDecl *ID) {
2084 ObjCInterfaceDecl *CGDebugInfo::getObjCInterfaceDecl(QualType Ty) {
2097 llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile Unit) {
2185 llvm::DIType CGDebugInfo::getOrCreateLimitedType(const RecordType *Ty,
2214 llvm::DICompositeType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
2229 // CGDebugInfo::CreateTypeDefinition(const RecordType*) - that would need to
2277 void CGDebugInfo::CollectContainingType(const CXXRecordDecl *RD,
2302 llvm::DIType CGDebugInfo::CreateMemberType(llvm::DIFile Unit, QualType FType,
2305 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2315 llvm::DIDescriptor CGDebugInfo::getDeclarationOrDefinition(const Decl *D) {
2340 llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) {
2386 llvm::DICompositeType CGDebugInfo::getOrCreateFunctionType(const Decl *D,
2444 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType,
2544 void CGDebugInfo::EmitLocation(CGBuilderTy &Builder, SourceLocation Loc,
2555 // New Builder may not be in sync with CGDebugInfo.
2573 void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) {
2587 void CGDebugInfo::EmitLexicalBlockStart(CGBuilderTy &Builder,
2603 void CGDebugInfo::EmitLexicalBlockEnd(CGBuilderTy &Builder,
2614 void CGDebugInfo::EmitFunctionEnd(CGBuilderTy &Builder) {
2627 llvm::DIType CGDebugInfo::EmitTypeForVarWithBlocksAttr(const VarDecl *VD,
2684 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2704 void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag,
2827 void CGDebugInfo::EmitDeclareOfAutoVariable(const VarDecl *VD,
2840 llvm::DIType CGDebugInfo::CreateSelfType(const QualType &QualTy,
2848 void CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(const VarDecl *VD,
2918 void CGDebugInfo::EmitDeclareOfArgVariable(const VarDecl *VD, llvm::Value *AI,
2935 void CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block,
3090 CGDebugInfo::getOrCreateStaticDataMemberDeclarationOrNull(const VarDecl *D) {
3110 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
3146 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
3172 void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD,
3193 llvm::DIScope CGDebugInfo::getCurrentContextDescriptor(const Decl *D) {
3199 void CGDebugInfo::EmitUsingDirective(const UsingDirectiveDecl &UD) {
3208 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) {
3224 CGDebugInfo::EmitNamespaceAlias(const NamespaceAliasDecl &NA) {
3250 CGDebugInfo::getOrCreateNameSpace(const NamespaceDecl *NSDecl) {
3267 void CGDebugInfo::finalize() {