Lines Matching refs:DBuilder
69 DBuilder(CGM.getModule()) { in CGDebugInfo()
190 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlockFile( in setLocation()
196 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation()
473 llvm::DIFile *F = DBuilder.createFile(File, Dir, CSInfo, Source); in createFile()
621 llvm::DIFile *CUFile = DBuilder.createFile( in CreateCompileUnit()
636 TheCU = DBuilder.createCompileUnit( in CreateCompileUnit()
658 return DBuilder.createNullPtrType(); in CreateType()
664 DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
678 DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
683 auto *ISATy = DBuilder.createPointerType(ClassTy, Size); in CreateType()
685 ObjTy = DBuilder.createStructType(TheCU, "objc_object", TheCU->getFile(), 0, in CreateType()
689 DBuilder.replaceArrays( in CreateType()
690 ObjTy, DBuilder.getOrCreateArray(&*DBuilder.createMemberType( in CreateType()
697 SelTy = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
744 auto *UpperBound = DBuilder.createExpression(Expr); in CreateType()
746 llvm::Metadata *Subscript = DBuilder.getOrCreateSubrange( in CreateType()
748 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscript); in CreateType()
752 return DBuilder.createVectorType(/*Size*/ 0, Align, ElemTy, in CreateType()
857 return DBuilder.createBasicType(BTName, Size, Encoding); in CreateType()
861 return DBuilder.createUnspecifiedType("auto"); in CreateType()
871 return DBuilder.createBasicType(Name, CGM.getContext().getTypeSize(Ty), in CreateType()
882 return DBuilder.createBasicType("complex", Size, Encoding); in CreateType()
916 return DBuilder.createQualifiedType(Tag, FromTy); in CreateQualifiedType()
1056 llvm::DICompositeType *RetTy = DBuilder.createReplaceableCompositeType( in getOrCreateRecordFwdDecl()
1061 DBuilder.replaceArrays(RetTy, llvm::DINodeArray(), in getOrCreateRecordFwdDecl()
1084 return DBuilder.createReferenceType(Tag, getOrCreateType(PointeeTy, Unit), in CreatePointerLikeType()
1087 return DBuilder.createPointerType(getOrCreateType(PointeeTy, Unit), Size, in CreatePointerLikeType()
1095 Cache = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, Name, in getOrCreateStructPtrType()
1098 Cache = DBuilder.createPointerType(Cache, Size); in getOrCreateStructPtrType()
1129 EltTys.push_back(DBuilder.createMemberType( in collectDefaultElementTypesForBlockPointer()
1150 Elements = DBuilder.getOrCreateArray(EltTys); in CreateType()
1156 DBuilder.createStructType(Unit, "__block_descriptor", nullptr, 0, in CreateType()
1162 auto *DescTy = DBuilder.createPointerType(EltTy, Size); in CreateType()
1167 Elements = DBuilder.getOrCreateArray(EltTys); in CreateType()
1173 EltTy = DBuilder.createStructType(Unit, "", nullptr, 0, FieldOffset, 0, in CreateType()
1176 return DBuilder.createPointerType(EltTy, Size); in CreateType()
1197 return DBuilder.createTypedef(Src, OS.str(), getOrCreateFile(Loc), in CreateType()
1216 return DBuilder.createTypedef(Underlying, Ty->getDecl()->getName(), in CreateType()
1274 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in CreateType()
1279 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in CreateType()
1282 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(EltTys); in CreateType()
1283 return DBuilder.createSubroutineType(EltTypeArray, llvm::DINode::FlagZero, in CreateType()
1341 return DBuilder.createBitFieldMemberType( in createBitFieldType()
1367 return DBuilder.createMemberType(scope, name, file, line, SizeInBits, Align, in createFieldType()
1436 llvm::DIDerivedType *GV = DBuilder.createStaticMemberType( in CreateRecordStaticField()
1573 DBuilder.createPointerType(PointeeType, Size, Align); in getOrCreateInstanceMethodType()
1578 ThisPtrType = DBuilder.createObjectPointerType(ThisPtrType); in getOrCreateInstanceMethodType()
1583 ThisPtrType = DBuilder.createObjectPointerType(ThisPtrType); in getOrCreateInstanceMethodType()
1591 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(Elts); in getOrCreateInstanceMethodType()
1599 return DBuilder.createSubroutineType(EltTypeArray, Flags, in getOrCreateInstanceMethodType()
1738 llvm::DISubprogram *SP = DBuilder.createMethod( in CreateCXXMemberFunction()
1842 llvm::DIType *DTy = DBuilder.createInheritance(RecordTy, BaseTy, BaseOffset, in CollectCXXBasesAux()
1870 TemplateParams.push_back(DBuilder.createTemplateTypeParameter( in CollectTemplateParams()
1886 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1933 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1952 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1956 TemplateParams.push_back(DBuilder.createTemplateTemplateParameter( in CollectTemplateParams()
1961 TemplateParams.push_back(DBuilder.createTemplateParameterPack( in CollectTemplateParams()
1973 TemplateParams.push_back(DBuilder.createTemplateValueParameter( in CollectTemplateParams()
1983 return DBuilder.getOrCreateArray(TemplateParams); in CollectTemplateParams()
2033 llvm::DITypeRefArray SElements = DBuilder.getOrCreateTypeArray(STy); in getOrCreateVTablePtrType()
2034 llvm::DIType *SubTy = DBuilder.createSubroutineType(SElements); in getOrCreateVTablePtrType()
2040 llvm::DIType *vtbl_ptr_type = DBuilder.createPointerType( in getOrCreateVTablePtrType()
2042 VTablePtrType = DBuilder.createPointerType(vtbl_ptr_type, Size); in getOrCreateVTablePtrType()
2139 llvm::DIType *VTableType = DBuilder.createPointerType( in CollectVTableInfo()
2144 VPtrTy = DBuilder.createPointerType(VTableType, PtrWidth); in CollectVTableInfo()
2156 DBuilder.createMemberType(Unit, getVTableName(RD), Unit, 0, Size, 0, 0, in CollectVTableInfo()
2436 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in CreateTypeDefinition()
2437 DBuilder.replaceArrays(FwdDecl, Elements); in CreateTypeDefinition()
2459 return DBuilder.createTypedef( in CreateType()
2500 return DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType()
2515 llvm::DIType *FwdDecl = DBuilder.createReplaceableCompositeType( in CreateType()
2613 DBuilder.createModule(Parent, Mod.getModuleName(), ConfigMacros, in getOrCreateModuleRef()
2635 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition()
2656 llvm::DIType *InhTag = DBuilder.createInheritance(RealDecl, SClassTy, 0, 0, in CreateTypeDefinition()
2668 llvm::MDNode *PropertyNode = DBuilder.createObjCProperty( in CreateTypeDefinition()
2757 PropertyNode = DBuilder.createObjCProperty( in CreateTypeDefinition()
2770 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
2776 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in CreateTypeDefinition()
2777 DBuilder.replaceArrays(RealDecl, Elements); in CreateTypeDefinition()
2792 Subscript = DBuilder.getOrCreateSubrange( in CreateType()
2799 Subscript = DBuilder.getOrCreateSubrange( in CreateType()
2803 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscript); in CreateType()
2808 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray); in CreateType()
2828 Subscripts.push_back(DBuilder.getOrCreateSubrange( in CreateType()
2831 Subscripts.push_back(DBuilder.getOrCreateSubrange( in CreateType()
2834 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscripts); in CreateType()
2835 return DBuilder.createArrayType(Size, Align, ElementTy, SubscriptArray); in CreateType()
2888 Subscripts.push_back(DBuilder.getOrCreateSubrange( in CreateType()
2895 Subscripts.push_back(DBuilder.getOrCreateSubrange( in CreateType()
2902 llvm::DINodeArray SubscriptArray = DBuilder.getOrCreateArray(Subscripts); in CreateType()
2904 return DBuilder.createArrayType(Size, Align, getOrCreateType(EltTy, Unit), in CreateType()
2948 return DBuilder.createMemberPointerType( in CreateType()
2954 return DBuilder.createMemberPointerType( in CreateType()
2963 return DBuilder.createQualifiedType(llvm::dwarf::DW_TAG_atomic_type, FromTy); in CreateType()
2996 llvm::TempDIScope TmpContext(DBuilder.createReplaceableCompositeType( in CreateEnumType()
3001 llvm::DIType *RetTy = DBuilder.createReplaceableCompositeType( in CreateEnumType()
3033 DBuilder.createEnumerator(Enum->getName(), Value, !IsSigned)); in CreateTypeDefinition()
3037 llvm::DINodeArray EltArray = DBuilder.getOrCreateArray(Enumerators); in CreateTypeDefinition()
3043 return DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, in CreateTypeDefinition()
3052 return DBuilder.createMacro(Parent, Line, MType, Name, Value); in CreateMacro()
3060 return DBuilder.createTempMacroFile(Parent, Line, FName); in CreateTempMacroFile()
3326 DBuilder.replaceArrays(Res, T ? T->getElements() : llvm::DINodeArray()); in getOrCreateLimitedType()
3380 llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType( in CreateLimitedType()
3413 DBuilder.replaceArrays(RealDecl, llvm::DINodeArray(), in CreateLimitedType()
3439 DBuilder.replaceVTableHolder(RealDecl, ContainingType); in CollectContainingType()
3448 DBuilder.createMemberType(Unit, Name, Unit, 0, FieldSize, FieldAlign, in CreateMemberType()
3578 return DBuilder.createFunction( in getFunctionFwdDeclOrStub()
3584 llvm::DISubprogram *SP = DBuilder.createTempFunctionFwdDecl( in getFunctionFwdDeclOrStub()
3616 auto *GV = DBuilder.createTempGlobalVariableFwdDecl( in getGlobalVariableForwardDeclaration()
3716 llvm::DISubprogram *FD = DBuilder.createFunction( in getObjCMethodDeclaration()
3719 DBuilder.finalizeSubprogram(FD); in getObjCMethodDeclaration()
3732 return DBuilder.createSubroutineType(DBuilder.getOrCreateTypeArray(None)); in getOrCreateFunctionType()
3764 Elts.push_back(DBuilder.createArtificialType( in getOrCreateFunctionType()
3771 Elts.push_back(DBuilder.createUnspecifiedParameter()); in getOrCreateFunctionType()
3773 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(Elts); in getOrCreateFunctionType()
3774 return DBuilder.createSubroutineType(EltTypeArray, llvm::DINode::FlagZero, in getOrCreateFunctionType()
3787 EltTys.push_back(DBuilder.createUnspecifiedParameter()); in getOrCreateFunctionType()
3788 llvm::DITypeRefArray EltTypeArray = DBuilder.getOrCreateTypeArray(EltTys); in getOrCreateFunctionType()
3789 return DBuilder.createSubroutineType(EltTypeArray, llvm::DINode::FlagZero, in getOrCreateFunctionType()
3882 llvm::DISubprogram *SP = DBuilder.createFunction( in EmitFunctionStart()
3948 llvm::DISubprogram *SP = DBuilder.createFunction( in EmitFunctionDecl()
3956 DBuilder.finalizeSubprogram(SP); in EmitFunctionDecl()
4026 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlock( in CreateLexicalBlock()
4088 DBuilder.finalizeSubprogram(Fn->getSubprogram()); in EmitFunctionEnd()
4150 llvm::DIType *FieldTy = DBuilder.createMemberType( in EmitTypeForVarWithBlocksAttr()
4156 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in EmitTypeForVarWithBlocksAttr()
4157 return {DBuilder.createStructType(Unit, "", Unit, 0, FieldOffset, 0, in EmitTypeForVarWithBlocksAttr()
4258 auto *D = DBuilder.createAutoVariable( in EmitDeclare()
4263 DBuilder.insertDeclare( in EmitDeclare()
4264 Storage, D, DBuilder.createExpression(Expr), in EmitDeclare()
4282 auto *D = ArgNo ? DBuilder.createParameterVariable( in EmitDeclare()
4285 : DBuilder.createAutoVariable(Scope, Name, Unit, Line, Ty, in EmitDeclare()
4290 DBuilder.insertDeclare(Storage, D, DBuilder.createExpression(Expr), in EmitDeclare()
4323 DBuilder.createLabel(Scope, Name, Unit, Line, CGM.getLangOpts().Optimize); in EmitLabel()
4326 DBuilder.insertLabel(L, in EmitLabel()
4336 return DBuilder.createObjectPointerType(Ty); in CreateSelfType()
4396 auto *D = DBuilder.createAutoVariable( in EmitDeclareOfBlockDeclRefVariable()
4403 auto *Expr = DBuilder.createExpression(addr); in EmitDeclareOfBlockDeclRefVariable()
4405 DBuilder.insertDeclare(Storage, D, Expr, DL, InsertPoint); in EmitDeclareOfBlockDeclRefVariable()
4407 DBuilder.insertDeclare(Storage, D, Expr, DL, Builder.GetInsertBlock()); in EmitDeclareOfBlockDeclRefVariable()
4553 fieldType = DBuilder.createPointerType(fieldType, PtrInfo.Width); in EmitDeclareOfBlockLiteralArgVariable()
4554 fieldType = DBuilder.createMemberType(tunit, name, tunit, line, in EmitDeclareOfBlockLiteralArgVariable()
4569 llvm::DINodeArray fieldsArray = DBuilder.getOrCreateArray(fields); in EmitDeclareOfBlockLiteralArgVariable()
4572 DBuilder.createStructType(tunit, typeName.str(), tunit, line, in EmitDeclareOfBlockLiteralArgVariable()
4575 type = DBuilder.createPointerType(type, CGM.PointerWidthInBits); in EmitDeclareOfBlockLiteralArgVariable()
4582 auto *debugVar = DBuilder.createParameterVariable( in EmitDeclareOfBlockLiteralArgVariable()
4586 DBuilder.insertDeclare(Alloca, debugVar, DBuilder.createExpression(), in EmitDeclareOfBlockLiteralArgVariable()
4626 GVE = DBuilder.createGlobalVariableExpression( in CollectAnonRecordDecls()
4693 GVE = DBuilder.createGlobalVariableExpression( in EmitGlobalVariable()
4696 Expr.empty() ? nullptr : DBuilder.createExpression(Expr), in EmitGlobalVariable()
4773 DBuilder.createConstantValueExpression(Init.getInt().getExtValue()); in EmitGlobalVariable()
4775 InitExpr = DBuilder.createConstantValueExpression( in EmitGlobalVariable()
4787 GV.reset(DBuilder.createGlobalVariableExpression( in EmitGlobalVariable()
4806 DBuilder.createGlobalVariableExpression( in EmitExternalVariable()
4826 DBuilder.createImportedModule( in EmitUsingDirective()
4853 DBuilder.createImportedDeclaration( in EmitUsingDecl()
4865 DBuilder.createImportedDeclaration( in EmitImportDecl()
4884 R = DBuilder.createImportedDeclaration( in EmitNamespaceAlias()
4889 R = DBuilder.createImportedDeclaration( in EmitNamespaceAlias()
4909 DBuilder.createNameSpace(Context, NSDecl->getName(), NSDecl->isInline()); in getOrCreateNamespace()
4927 DBuilder.replaceTemporary(llvm::TempDIType(E.Decl), Ty); in finalize()
4950 llvm::DINodeArray Elements = DBuilder.getOrCreateArray(EltTys); in finalize()
4951 DBuilder.replaceArrays(InterfaceDecl, Elements); in finalize()
4963 DBuilder.replaceTemporary(llvm::TempDIType(Ty), in finalize()
4983 DBuilder.replaceTemporary(std::move(FwdDecl), cast<llvm::MDNode>(Repl)); in finalize()
4990 DBuilder.retainType(cast<llvm::DIType>(MD)); in finalize()
4992 DBuilder.finalize(); in finalize()
4999 DBuilder.retainType(DieTy); in EmitExplicitCastType()
5005 DBuilder.retainType(DieTy); in EmitAndRetainType()