Lines Matching refs:unwrapDI

867 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {  in unwrapDI()  function
920 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
947 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
958 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
968 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
969 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
979 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
980 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
989 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
990 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
1000 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1001 unwrapDI<DINamespace>(NS), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1002 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1013 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromAlias()
1014 unwrapDI<DIImportedEntity>(ImportedEntity), in LLVMDIBuilderCreateImportedModuleFromAlias()
1015 unwrapDI<DIFile>(File), Line)); in LLVMDIBuilderCreateImportedModuleFromAlias()
1024 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromModule()
1025 unwrapDI<DIModule>(M), in LLVMDIBuilderCreateImportedModuleFromModule()
1026 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
1038 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedDeclaration()
1039 unwrapDI<DINode>(Decl), in LLVMDIBuilderCreateImportedDeclaration()
1040 unwrapDI<DIFile>(File), Line, {Name, NameLen})); in LLVMDIBuilderCreateImportedDeclaration()
1052 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
1056 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn()
1060 return wrap(unwrapDI<DILocation>(Location)->getScope()); in LLVMDILocationGetScope()
1064 return wrap(unwrapDI<DILocation>(Location)->getInlinedAt()); in LLVMDILocationGetInlinedAt()
1068 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile()
1072 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
1078 auto Name = unwrapDI<DIFile>(File)->getFilename(); in LLVMDIFileGetFilename()
1084 if (auto Src = unwrapDI<DIFile>(File)->getSource()) { in LLVMDIFileGetSource()
1099 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line, in LLVMDIBuilderCreateMacro()
1109 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File))); in LLVMDIBuilderCreateTempMacroFile()
1128 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType()
1129 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
1141 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateUnionType()
1155 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
1166 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
1183 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
1198 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStructType()
1200 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
1201 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateStructType()
1209 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateMemberType()
1210 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1211 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
1227 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateStaticMemberType()
1228 unwrapDI<DIFile>(File), LineNumber, unwrapDI<DIType>(Type), in LLVMDIBuilderCreateStaticMemberType()
1241 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1243 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty), in LLVMDIBuilderCreateObjCIVar()
1244 unwrapDI<MDNode>(PropertyNode))); in LLVMDIBuilderCreateObjCIVar()
1256 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1258 PropertyAttributes, unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateObjCProperty()
1264 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateObjectPointerType()
1273 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
1274 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef()
1283 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
1294 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1295 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateForwardDecl()
1307 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType()
1308 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateReplaceableCompositeType()
1317 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateQualifiedType()
1324 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateReferenceType()
1340 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
1341 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits, in LLVMDIBuilderCreateMemberPointerType()
1355 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
1356 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateBitFieldMemberType()
1358 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateBitFieldMemberType()
1372 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateClassType()
1373 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateClassType()
1375 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom), in LLVMDIBuilderCreateClassType()
1376 Elts, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1377 unwrapDI<MDNode>(TemplateParamsNode), in LLVMDIBuilderCreateClassType()
1384 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateArtificialType()
1394 return unwrapDI<DIType>(DType)->getSizeInBits(); in LLVMDITypeGetSizeInBits()
1398 return unwrapDI<DIType>(DType)->getOffsetInBits(); in LLVMDITypeGetOffsetInBits()
1402 return unwrapDI<DIType>(DType)->getAlignInBits(); in LLVMDITypeGetAlignInBits()
1406 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
1410 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags()); in LLVMDITypeGetFlags()
1450 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression()
1451 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1452 true, unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl), in LLVMDIBuilderCreateGlobalVariableExpression()
1457 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable()); in LLVMDIGlobalVariableExpressionGetVariable()
1462 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression()); in LLVMDIGlobalVariableExpressionGetExpression()
1466 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile()
1470 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope()
1474 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
1484 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode)); in LLVMDisposeTemporaryMDNode()
1489 auto *Node = unwrapDI<MDNode>(TargetMetadata); in LLVMMetadataReplaceAllUsesWith()
1500 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen}, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1501 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1502 unwrapDI<MDNode>(Decl), nullptr, AlignInBits)); in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1589 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()