Lines Matching refs:unwrapDI

709 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {  in unwrapDI()  function
761 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
787 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
798 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
808 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
809 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
819 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
820 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
829 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
830 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
840 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
841 unwrapDI<DINamespace>(NS), in LLVMDIBuilderCreateImportedModuleFromNamespace()
842 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
853 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromAlias()
854 unwrapDI<DIImportedEntity>(ImportedEntity), in LLVMDIBuilderCreateImportedModuleFromAlias()
855 unwrapDI<DIFile>(File), Line)); in LLVMDIBuilderCreateImportedModuleFromAlias()
864 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromModule()
865 unwrapDI<DIModule>(M), in LLVMDIBuilderCreateImportedModuleFromModule()
866 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
878 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedDeclaration()
879 unwrapDI<DINode>(Decl), in LLVMDIBuilderCreateImportedDeclaration()
880 unwrapDI<DIFile>(File), Line, {Name, NameLen})); in LLVMDIBuilderCreateImportedDeclaration()
892 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
896 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn()
900 return wrap(unwrapDI<DILocation>(Location)->getScope()); in LLVMDILocationGetScope()
911 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType()
912 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
924 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateUnionType()
938 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
949 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
966 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
981 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStructType()
983 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
984 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateStructType()
992 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateMemberType()
993 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
994 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
1010 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateStaticMemberType()
1011 unwrapDI<DIFile>(File), LineNumber, unwrapDI<DIType>(Type), in LLVMDIBuilderCreateStaticMemberType()
1024 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1026 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty), in LLVMDIBuilderCreateObjCIVar()
1027 unwrapDI<MDNode>(PropertyNode))); in LLVMDIBuilderCreateObjCIVar()
1039 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1041 PropertyAttributes, unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateObjCProperty()
1047 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateObjectPointerType()
1056 unwrapDI<DIType>(Type), {Name, NameLen}, in LLVMDIBuilderCreateTypedef()
1057 unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
1058 unwrapDI<DIScope>(Scope))); in LLVMDIBuilderCreateTypedef()
1067 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
1078 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1079 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateForwardDecl()
1091 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType()
1092 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateReplaceableCompositeType()
1101 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateQualifiedType()
1108 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateReferenceType()
1124 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
1125 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits, in LLVMDIBuilderCreateMemberPointerType()
1139 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
1140 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateBitFieldMemberType()
1142 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateBitFieldMemberType()
1156 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateClassType()
1157 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateClassType()
1159 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom), in LLVMDIBuilderCreateClassType()
1160 Elts, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1161 unwrapDI<MDNode>(TemplateParamsNode), in LLVMDIBuilderCreateClassType()
1168 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateArtificialType()
1178 return unwrapDI<DIType>(DType)->getSizeInBits(); in LLVMDITypeGetSizeInBits()
1182 return unwrapDI<DIType>(DType)->getOffsetInBits(); in LLVMDITypeGetOffsetInBits()
1186 return unwrapDI<DIType>(DType)->getAlignInBits(); in LLVMDITypeGetAlignInBits()
1190 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
1194 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags()); in LLVMDITypeGetFlags()
1234 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression()
1235 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1236 unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl), in LLVMDIBuilderCreateGlobalVariableExpression()
1247 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode)); in LLVMDisposeTemporaryMDNode()
1252 auto *Node = unwrapDI<MDNode>(TargetMetadata); in LLVMMetadataReplaceAllUsesWith()
1263 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen}, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1264 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1265 unwrapDI<MDNode>(Decl), nullptr, AlignInBits)); in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()