Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:CGDebugInfo

1 //===--- CGDebugInfo.cpp - Emit Debug Information for a Module ------------===//
14 #include "CGDebugInfo.h"
43 CGDebugInfo::CGDebugInfo(CodeGenModule &CGM)
49 CGDebugInfo::~CGDebugInfo() {
99 void CGDebugInfo::setLocation(SourceLocation Loc) {
138 llvm::DIScope CGDebugInfo::getContextDescriptor(const Decl *Context) {
163 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
193 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
225 StringRef CGDebugInfo::getSelectorName(Selector S) {
234 CGDebugInfo::getClassName(const RecordDecl *RD) {
270 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
300 llvm::DIFile CGDebugInfo::getOrCreateMainFile() {
306 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) {
315 unsigned CGDebugInfo::getColumnNumber(SourceLocation Loc, bool Force) {
328 StringRef CGDebugInfo::getCurrentDirname() {
342 void CGDebugInfo::CreateCompileUnit() {
404 llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
530 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) {
546 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit,
583 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty,
598 llvm::DIType CGDebugInfo::CreateType(const PointerType *Ty,
605 llvm::DIType CGDebugInfo::createRecordFwdDecl(const RecordDecl *RD,
627 llvm::DIDescriptor CGDebugInfo::createContextChain(const Decl *Context) {
656 llvm::DIType CGDebugInfo::getOrCreateTypeDeclaration(QualType PointeeTy,
663 llvm::DIType CGDebugInfo::CreatePointerLikeType(unsigned Tag,
683 llvm::DIType CGDebugInfo::getOrCreateStructPtrType(StringRef Name,
694 llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
756 llvm::DIType CGDebugInfo::CreateType(const TypedefType *Ty, llvm::DIFile Unit,
776 llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
797 llvm::DIType CGDebugInfo::createFieldType(StringRef name,
831 void CGDebugInfo::
877 void CGDebugInfo::
917 void CGDebugInfo::
945 void CGDebugInfo::
979 CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
988 llvm::DICompositeType CGDebugInfo::getOrCreateInstanceMethodType(
1047 CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method,
1121 void CGDebugInfo::
1148 void CGDebugInfo::
1166 void CGDebugInfo::
1207 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) {
1379 void CGDebugInfo::
1402 llvm::DIType CGDebugInfo::getOrCreateRecordType(QualType RTy,
1411 llvm::DIType CGDebugInfo::getOrCreateInterfaceType(QualType D,
1420 llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty, bool Declaration) {
1492 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectType *Ty,
1524 llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
1700 llvm::DIType CGDebugInfo::CreateType(const VectorType *Ty, llvm::DIFile Unit) {
1717 llvm::DIType CGDebugInfo::CreateType(const ArrayType *Ty,
1772 llvm::DIType CGDebugInfo::CreateType(const LValueReferenceType *Ty,
1778 llvm::DIType CGDebugInfo::CreateType(const RValueReferenceType *Ty,
1784 llvm::DIType CGDebugInfo::CreateType(const MemberPointerType *Ty,
1797 llvm::DIType CGDebugInfo::CreateType(const AtomicType *Ty,
1805 llvm::DIType CGDebugInfo::CreateEnumType(const EnumDecl *ED) {
1903 llvm::DIType CGDebugInfo::getTypeOrNull(QualType Ty) {
1929 llvm::DIType CGDebugInfo::getCompletedTypeOrNull(QualType Ty) {
1951 void CGDebugInfo::completeFwdDecl(const RecordDecl &RD) {
1967 llvm::Value *CGDebugInfo::getCachedInterfaceTypeOrNull(QualType Ty) {
1983 llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, llvm::DIFile Unit,
2018 // declaration that gets RAUW'd in CGDebugInfo::finalize().
2044 unsigned CGDebugInfo::Checksum(const ObjCInterfaceDecl *ID) {
2056 ObjCInterfaceDecl *CGDebugInfo::getObjCInterfaceDecl(QualType Ty) {
2069 llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile Unit,
2158 llvm::DIType CGDebugInfo::getOrCreateLimitedType(QualType Ty,
2186 llvm::DIType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
2257 llvm::DIType CGDebugInfo::CreateLimitedTypeNode(QualType Ty,llvm::DIFile Unit) {
2276 llvm::DIType CGDebugInfo::CreateMemberType(llvm::DIFile Unit, QualType FType,
2279 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2289 llvm::DIDescriptor CGDebugInfo::getDeclarationOrDefinition(const Decl *D) {
2316 llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) {
2352 llvm::DICompositeType CGDebugInfo::getOrCreateFunctionType(const Decl *D,
2396 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType,
2494 void CGDebugInfo::EmitLocation(CGBuilderTy &Builder, SourceLocation Loc,
2505 // New Builder may not be in sync with CGDebugInfo.
2523 void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) {
2537 void CGDebugInfo::EmitLexicalBlockStart(CGBuilderTy &Builder,
2553 void CGDebugInfo::EmitLexicalBlockEnd(CGBuilderTy &Builder,
2564 void CGDebugInfo::EmitFunctionEnd(CGBuilderTy &Builder) {
2577 llvm::DIType CGDebugInfo::EmitTypeForVarWithBlocksAttr(const VarDecl *VD,
2634 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2654 void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag,
2767 void CGDebugInfo::EmitDeclareOfAutoVariable(const VarDecl *VD,
2780 llvm::DIType CGDebugInfo::CreateSelfType(const QualType &QualTy,
2788 void CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(const VarDecl *VD,
2858 void CGDebugInfo::EmitDeclareOfArgVariable(const VarDecl *VD, llvm::Value *AI,
2875 void CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block,
3030 llvm::DIDerivedType CGDebugInfo::getStaticDataMemberDeclaration(const Decl *D) {
3043 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
3080 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
3106 void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD,
3128 llvm::DIScope CGDebugInfo::getCurrentContextDescriptor(const Decl *D) {
3134 void CGDebugInfo::EmitUsingDirective(const UsingDirectiveDecl &UD) {
3143 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) {
3159 CGDebugInfo::EmitNamespaceAlias(const NamespaceAliasDecl &NA) {
3185 CGDebugInfo::getOrCreateNameSpace(const NamespaceDecl *NSDecl) {
3201 void CGDebugInfo::finalize() {