Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CGDebugInfo

1 //===--- CGDebugInfo.cpp - Emit Debug Information for a Module ------------===//
14 #include "CGDebugInfo.h"
42 CGDebugInfo::CGDebugInfo(CodeGenModule &CGM)
48 CGDebugInfo::~CGDebugInfo() {
53 void CGDebugInfo::setLocation(SourceLocation Loc) {
92 llvm::DIDescriptor CGDebugInfo::getContextDescriptor(const Decl *Context) {
120 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
150 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
175 StringRef CGDebugInfo::getSelectorName(Selector S) {
184 CGDebugInfo::getClassName(const RecordDecl *RD) {
220 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
250 llvm::DIFile CGDebugInfo::getOrCreateMainFile() {
256 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) {
265 unsigned CGDebugInfo::getColumnNumber(SourceLocation Loc, bool Force) {
278 StringRef CGDebugInfo::getCurrentDirname() {
292 void CGDebugInfo::CreateCompileUnit() {
355 llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
491 llvm::DIType CGDebugInfo::CreateType(const ComplexType *Ty) {
507 llvm::DIType CGDebugInfo::CreateQualifiedType(QualType Ty, llvm::DIFile Unit) {
542 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty,
557 llvm::DIType CGDebugInfo::CreateType(const PointerType *Ty,
564 llvm::DIType CGDebugInfo::createRecordFwdDecl(const RecordDecl *RD,
586 llvm::DIDescriptor CGDebugInfo::createContextChain(const Decl *Context) {
614 llvm::DIType CGDebugInfo::CreatePointeeType(QualType PointeeTy,
641 llvm::DIType CGDebugInfo::CreatePointerLikeType(unsigned Tag,
661 llvm::DIType CGDebugInfo::getOrCreateStructPtrType(StringRef Name, llvm::DIType &Cache) {
673 llvm::DIType CGDebugInfo::CreateType(const BlockPointerType *Ty,
736 llvm::DIType CGDebugInfo::CreateType(const TypedefType *Ty, llvm::DIFile Unit) {
754 llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
775 llvm::DIType CGDebugInfo::createFieldType(StringRef name,
809 void CGDebugInfo::
855 void CGDebugInfo::
895 void CGDebugInfo::
923 void CGDebugInfo::
968 CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
977 llvm::DIType CGDebugInfo::getOrCreateInstanceMethodType(
1035 CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method,
1109 void CGDebugInfo::
1136 void CGDebugInfo::
1154 void CGDebugInfo::
1195 llvm::DIArray CGDebugInfo::
1221 llvm::DIArray CGDebugInfo::
1236 llvm::DIArray CGDebugInfo::
1251 llvm::DIType CGDebugInfo::getOrCreateVTablePtrType(llvm::DIFile Unit) {
1269 StringRef CGDebugInfo::getVTableName(const CXXRecordDecl *RD) {
1282 void CGDebugInfo::
1304 llvm::DIType CGDebugInfo::getOrCreateRecordType(QualType RTy,
1313 llvm::DIType CGDebugInfo::getOrCreateInterfaceType(QualType D,
1322 llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty) {
1393 llvm::DIType CGDebugInfo::CreateType(const ObjCObjectType *Ty,
1400 llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
1576 llvm::DIType CGDebugInfo::CreateType(const VectorType *Ty, llvm::DIFile Unit) {
1593 llvm::DIType CGDebugInfo::CreateType(const ArrayType *Ty,
1648 llvm::DIType CGDebugInfo::CreateType(const LValueReferenceType *Ty,
1654 llvm::DIType CGDebugInfo::CreateType(const RValueReferenceType *Ty,
1660 llvm::DIType CGDebugInfo::CreateType(const MemberPointerType *Ty,
1673 llvm::DIType CGDebugInfo
1681 llvm::DIType CGDebugInfo::CreateEnumType(const EnumDecl *ED) {
1775 llvm::DIType CGDebugInfo::getTypeOrNull(QualType Ty) {
1801 llvm::DIType CGDebugInfo::getCompletedTypeOrNull(QualType Ty) {
1825 llvm::Value *CGDebugInfo::getCachedInterfaceTypeOrNull(QualType Ty) {
1841 llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, llvm::DIFile Unit) {
1868 // declaration that gets RAUW'd in CGDebugInfo::finalize().
1893 unsigned CGDebugInfo::Checksum(const ObjCInterfaceDecl
1901 ObjCInterfaceDecl *CGDebugInfo::getObjCInterfaceDecl(QualType Ty) {
1913 llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile Unit) {
1994 llvm::DIType CGDebugInfo::getOrCreateLimitedType(QualType Ty,
2022 llvm::DIType CGDebugInfo::CreateLimitedType(const RecordType *Ty) {
2090 llvm::DIType CGDebugInfo::CreateLimitedTypeNode(QualType Ty,llvm::DIFile Unit) {
2109 llvm::DIType CGDebugInfo::CreateMemberType(llvm::DIFile Unit, QualType FType,
2112 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2124 llvm::DISubprogram CGDebugInfo
2157 llvm::DIType CGDebugInfo::getOrCreateFunctionType(const Decl *D,
2187 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType,
2294 void CGDebugInfo::EmitLocation(CGBuilderTy &Builder, SourceLocation Loc,
2306 // New Builder may not be in sync with CGDebugInfo.
2324 void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) {
2338 void CGDebugInfo::EmitLexicalBlockStart(CGBuilderTy &Builder, SourceLocation Loc) {
2353 void CGDebugInfo::EmitLexicalBlockEnd(CGBuilderTy &Builder, SourceLocation Loc) {
2363 void CGDebugInfo::EmitFunctionEnd(CGBuilderTy &Builder) {
2376 llvm::DIType CGDebugInfo::EmitTypeForVarWithBlocksAttr(const VarDecl *VD,
2431 llvm::DIType FieldTy = CGDebugInfo::getOrCreateType(FType, Unit);
2451 void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag,
2591 void CGDebugInfo::EmitDeclareOfAutoVariable(const VarDecl *VD,
2598 void CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(const VarDecl *VD,
2665 void CGDebugInfo::EmitDeclareOfArgVariable(const VarDecl *VD, llvm::Value *AI,
2682 void CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(const CGBlockInfo &block,
2837 llvm::DIDerivedType CGDebugInfo::getStaticDataMemberDeclaration(const Decl *D) {
2850 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
2885 void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
2911 void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD,
2935 CGDebugInfo::getOrCreateNameSpace(const NamespaceDecl *NSDecl) {
2951 void CGDebugInfo::finalize() {