Lines Matching refs:DBuilder
50 DBuilder(CGM.getModule()) { in CGDebugInfo()
144 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlockFile( in setLocation()
150 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation()
315 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateFile()
323 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateFile()
336 llvm::DIFile *F = DBuilder.createFile(remapDIPath(PLoc.getFilename()), in getOrCreateFile()
344 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateMainFile()
457 TheCU = DBuilder.createCompileUnit( in CreateCompileUnit()
473 return DBuilder.createNullPtrType(); in CreateType()
478 ClassTy = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
492 ClassTy = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
498 auto *ISATy = DBuilder.createPointerType(ClassTy, Size); in CreateType()
501 DBuilder.createStructType(TheCU, "objc_object", getOrCreateMainFile(), in CreateType()
504 DBuilder.replaceArrays( in CreateType()
506 DBuilder.getOrCreateArray(&*DBuilder.createMemberType( in CreateType()
512 SelTy = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
524 return DBuilder.createBasicType( in CreateType()
603 return DBuilder.createBasicType(BTName, Size, Align, Encoding); in CreateType()
614 return DBuilder.createBasicType("complex", Size, Align, Encoding); in CreateType()
648 return DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()
737 llvm::DICompositeType *RetTy = DBuilder.createReplaceableCompositeType( in getOrCreateRecordFwdDecl()
759 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
762 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
770 Cache = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, Name, in getOrCreateStructPtrType()
773 Cache = DBuilder.createPointerType(Cache, Size); in getOrCreateStructPtrType()
790 Elements = DBuilder.getOrCreateArray(EltTys); in CreateType()
797 DBuilder.createStructType(Unit, "__block_descriptor", nullptr, LineNo, in CreateType()
803 auto *DescTy = DBuilder.createPointerType(EltTy, Size); in CreateType()
817 EltTys.push_back(DBuilder.createMemberType(Unit, "__descriptor", nullptr, LineNo, in CreateType()
822 Elements = DBuilder.getOrCreateArray(EltTys); in CreateType()
829 DBuilder.createStructType(Unit, "", nullptr, LineNo, in CreateType()
832 return DBuilder.createPointerType(EltTy, Size); in CreateType()
853 return DBuilder.createTypedef(Src, OS.str(), getOrCreateFile(Loc), in CreateType()
865 return DBuilder.createTypedef( in CreateType()
914 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in CreateType()
919 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in CreateType()
922 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(EltTys); in CreateType()
923 return DBuilder.createSubroutineType(EltTypeArray, 0, in CreateType()
975 return DBuilder.createBitFieldMemberType( in createBitFieldType()
1000 return DBuilder.createMemberType(scope, name, file, line, SizeInBits, in createFieldType()
1067 llvm::DIDerivedType *GV = DBuilder.createStaticMemberType( in CreateRecordStaticField()
1171 DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateInstanceMethodType()
1176 ThisPtrType = DBuilder.createObjectPointerType(ThisPtrType); in getOrCreateInstanceMethodType()
1181 ThisPtrType = DBuilder.createObjectPointerType(ThisPtrType); in getOrCreateInstanceMethodType()
1189 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(Elts); in getOrCreateInstanceMethodType()
1197 return DBuilder.createSubroutineType(EltTypeArray, Flags, in getOrCreateInstanceMethodType()
1302 llvm::DISubprogram *SP = DBuilder.createMethod( in CreateCXXMemberFunction()
1382 llvm::DIType *DTy = DBuilder.createInheritance( in CollectCXXBases()
1402 DBuilder.createTemplateTypeParameter(TheCU, Name, TTy)); in CollectTemplateParams()
1406 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1437 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1458 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1462 TemplateParams.push_back(DBuilder.createTemplateTemplateParameter( in CollectTemplateParams()
1467 TemplateParams.push_back(DBuilder.createTemplateParameterPack( in CollectTemplateParams()
1479 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1489 return DBuilder.getOrCreateArray(TemplateParams); in CollectTemplateParams()
1524 llvm::DITypeRefArray SElements = DBuilder.getOrCreateTypeArray(STy); in getOrCreateVTablePtrType()
1525 llvm::DIType *SubTy = DBuilder.createSubroutineType(SElements); in getOrCreateVTablePtrType()
1528 DBuilder.createPointerType(SubTy, Size, 0, "__vtbl_ptr_type"); in getOrCreateVTablePtrType()
1529 VTablePtrType = DBuilder.createPointerType(vtbl_ptr_type, Size); in getOrCreateVTablePtrType()
1551 llvm::DIType *VPTR = DBuilder.createMemberType( in CollectVTableInfo()
1752 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in CreateTypeDefinition()
1753 DBuilder.replaceArrays(FwdDecl, Elements); in CreateTypeDefinition()
1804 return DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
1819 llvm::DIType *FwdDecl = DBuilder.createReplaceableCompositeType( in CreateType()
1881 DBuilder.createModule(Parent, Mod.getModuleName(), ConfigMacros, in getOrCreateModuleRef()
1903 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition()
1924 llvm::DIType *InhTag = DBuilder.createInheritance(RealDecl, SClassTy, 0, 0); in CreateTypeDefinition()
1935 llvm::MDNode *PropertyNode = DBuilder.createObjCProperty( in CreateTypeDefinition()
2024 PropertyNode = DBuilder.createObjCProperty( in CreateTypeDefinition()
2035 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
2041 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in CreateTypeDefinition()
2042 DBuilder.replaceArrays(RealDecl, Elements); in CreateTypeDefinition()
2057 llvm::Metadata *Subscript = DBuilder.getOrCreateSubrange(0, Count); in CreateType()
2058 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscript); in CreateType()
2063 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray); in CreateType()
2108 Subscripts.push_back(DBuilder.getOrCreateSubrange(0, Count)); in CreateType()
2112 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscripts); in CreateType()
2114 return DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit), in CreateType()
2158 return DBuilder.createMemberPointerType( in CreateType()
2164 return DBuilder.createMemberPointerType( in CreateType()
2208 llvm::TempDIScope TmpContext(DBuilder.createReplaceableCompositeType( in CreateEnumType()
2213 llvm::DIType *RetTy = DBuilder.createReplaceableCompositeType( in CreateEnumType()
2241 Enumerators.push_back(DBuilder.createEnumerator( in CreateTypeDefinition()
2246 llvm::DINodeArray EltArray = DBuilder.getOrCreateArray(Enumerators); in CreateTypeDefinition()
2253 return DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, in CreateTypeDefinition()
2495 DBuilder.replaceArrays(Res, T ? T->getElements() : llvm::DINodeArray()); in getOrCreateLimitedType()
2531 llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType( in CreateLimitedType()
2564 DBuilder.replaceArrays(RealDecl, llvm::DINodeArray(), in CreateLimitedType()
2590 DBuilder.replaceVTableHolder(RealDecl, ContainingType); in CollectContainingType()
2598 llvm::DIType *Ty = DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize, in CreateMemberType()
2705 llvm::DISubprogram *SP = DBuilder.createTempFunctionFwdDecl( in getFunctionForwardDeclaration()
2727 auto *GV = DBuilder.createTempGlobalVariableFwdDecl( in getGlobalVariableForwardDeclaration()
2804 return DBuilder.createSubroutineType(DBuilder.getOrCreateTypeArray(None)); in getOrCreateFunctionType()
2835 Elts.push_back(DBuilder.createArtificialType( in getOrCreateFunctionType()
2842 Elts.push_back(DBuilder.createUnspecifiedParameter()); in getOrCreateFunctionType()
2844 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(Elts); in getOrCreateFunctionType()
2845 return DBuilder.createSubroutineType(EltTypeArray, 0, getDwarfCC(CC)); in getOrCreateFunctionType()
2857 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in getOrCreateFunctionType()
2858 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(EltTys); in getOrCreateFunctionType()
2859 return DBuilder.createSubroutineType(EltTypeArray, 0, getDwarfCC(CC)); in getOrCreateFunctionType()
2922 llvm::DISubprogram *SP = DBuilder.createFunction( in EmitFunctionStart()
2976 DBuilder.retainType(DBuilder.createFunction( in EmitFunctionDecl()
2999 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlock( in CreateLexicalBlock()
3106 FieldTy = DBuilder.createMemberType(Unit, VD->getName(), Unit, 0, FieldSize, in EmitTypeForVarWithBlocksAttr()
3111 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in EmitTypeForVarWithBlocksAttr()
3115 return DBuilder.createStructType(Unit, "", Unit, 0, FieldOffset, 0, Flags, in EmitTypeForVarWithBlocksAttr()
3187 ? DBuilder.createParameterVariable(Scope, VD->getName(), in EmitDeclare()
3189 : DBuilder.createAutoVariable(Scope, VD->getName(), Unit, in EmitDeclare()
3193 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(Expr), in EmitDeclare()
3220 auto *D = DBuilder.createAutoVariable( in EmitDeclare()
3225 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(Expr), in EmitDeclare()
3235 ? DBuilder.createParameterVariable(Scope, Name, *ArgNo, Unit, Line, in EmitDeclare()
3238 : DBuilder.createAutoVariable(Scope, Name, Unit, Line, Ty, in EmitDeclare()
3242 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(Expr), in EmitDeclare()
3259 return DBuilder.createObjectPointerType(Ty); in CreateSelfType()
3318 auto *D = DBuilder.createAutoVariable( in EmitDeclareOfBlockDeclRefVariable()
3325 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(addr), DL, in EmitDeclareOfBlockDeclRefVariable()
3328 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(addr), DL, in EmitDeclareOfBlockDeclRefVariable()
3455 fieldType = DBuilder.createPointerType(fieldType, PtrInfo.Width); in EmitDeclareOfBlockLiteralArgVariable()
3457 DBuilder.createMemberType(tunit, name, tunit, line, PtrInfo.Width, in EmitDeclareOfBlockLiteralArgVariable()
3470 llvm::DINodeArray fieldsArray = DBuilder.getOrCreateArray(fields); in EmitDeclareOfBlockLiteralArgVariable()
3472 llvm::DIType *type = DBuilder.createStructType( in EmitDeclareOfBlockLiteralArgVariable()
3476 type = DBuilder.createPointerType(type, CGM.PointerWidthInBits); in EmitDeclareOfBlockLiteralArgVariable()
3483 auto *debugVar = DBuilder.createParameterVariable( in EmitDeclareOfBlockLiteralArgVariable()
3489 DBuilder.insertDbgValueIntrinsic( in EmitDeclareOfBlockLiteralArgVariable()
3490 LocalAddr, 0, debugVar, DBuilder.createExpression(), in EmitDeclareOfBlockLiteralArgVariable()
3495 DBuilder.insertDeclare(Arg, debugVar, DBuilder.createExpression(), in EmitDeclareOfBlockLiteralArgVariable()
3536 GV = DBuilder.createGlobalVariable(DContext, FieldName, LinkageName, Unit, in CollectAnonRecordDecls()
3569 GV = DBuilder.createGlobalVariable( in EmitGlobalVariable()
3618 GV.reset(DBuilder.createGlobalVariable( in EmitGlobalVariable()
3636 DBuilder.createImportedModule( in EmitUsingDirective()
3653 DBuilder.createImportedDeclaration( in EmitUsingDecl()
3663 DBuilder.createImportedDeclaration( in EmitImportDecl()
3681 R = DBuilder.createImportedDeclaration( in EmitNamespaceAlias()
3686 R = DBuilder.createImportedDeclaration( in EmitNamespaceAlias()
3705 DBuilder.createNameSpace(Context, NSDecl->getName(), FileD, LineNo); in getOrCreateNameSpace()
3724 DBuilder.replaceTemporary(llvm::TempDIType(E.Decl), Ty); in finalize()
3736 DBuilder.replaceTemporary(llvm::TempDIType(Ty), in finalize()
3754 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
3761 DBuilder.retainType(cast<llvm::DIType>(MD)); in finalize()
3763 DBuilder.finalize(); in finalize()
3772 DBuilder.retainType(DieTy); in EmitExplicitCastType()