Lines Matching refs:unwrapDI
1047 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) { in unwrapDI() function
1094 unwrap(Builder)->finalizeSubprogram(unwrapDI<DISubprogram>(subprogram)); in LLVMDIBuilderFinalizeSubprogram()
1105 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
1132 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
1143 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
1153 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
1154 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
1164 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
1165 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
1174 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
1175 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
1185 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1186 unwrapDI<DINamespace>(NS), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1187 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1200 unwrapDI<DIScope>(Scope), unwrapDI<DIImportedEntity>(ImportedEntity), in LLVMDIBuilderCreateImportedModuleFromAlias()
1201 unwrapDI<DIFile>(File), Line, Elts)); in LLVMDIBuilderCreateImportedModuleFromAlias()
1213 unwrapDI<DIScope>(Scope), unwrapDI<DIModule>(M), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
1226 unwrapDI<DIScope>(Scope), unwrapDI<DINode>(Decl), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedDeclaration()
1239 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
1243 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn()
1247 return wrap(unwrapDI<DILocation>(Location)->getScope()); in LLVMDILocationGetScope()
1251 return wrap(unwrapDI<DILocation>(Location)->getInlinedAt()); in LLVMDILocationGetInlinedAt()
1255 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile()
1259 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
1265 auto Name = unwrapDI<DIFile>(File)->getFilename(); in LLVMDIFileGetFilename()
1271 if (auto Src = unwrapDI<DIFile>(File)->getSource()) { in LLVMDIFileGetSource()
1286 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line, in LLVMDIBuilderCreateMacro()
1296 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File))); in LLVMDIBuilderCreateTempMacroFile()
1324 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType()
1325 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
1333 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateSetType()
1334 LineNumber, SizeInBits, AlignInBits, unwrapDI<DIType>(BaseTy))); in LLVMDIBuilderCreateSetType()
1344 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateSubrangeType()
1346 unwrapDI<DIType>(BaseTy), unwrap(LowerBound), unwrap(UpperBound), in LLVMDIBuilderCreateSubrangeType()
1354 MDNode *MDN = unwrapDI<MDNode>(MD); in unwrapExprVar()
1371 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateDynamicArrayType()
1372 Size, AlignInBits, unwrapDI<DIType>(Ty), Subs, in LLVMDIBuilderCreateDynamicArrayType()
1394 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateUnionType()
1408 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
1419 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
1437 unwrapDI<DIType>(PointeeTy), SizeInBits, AlignInBits, AddressSpace, in LLVMDIBuilderCreatePointerType()
1451 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStructType()
1453 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
1454 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateStructType()
1462 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateMemberType()
1463 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1464 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
1479 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStaticMemberType()
1480 LineNumber, unwrapDI<DIType>(Type), map_from_llvmDIFlags(Flags), in LLVMDIBuilderCreateStaticMemberType()
1492 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1494 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty), in LLVMDIBuilderCreateObjCIVar()
1495 unwrapDI<MDNode>(PropertyNode))); in LLVMDIBuilderCreateObjCIVar()
1507 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1509 PropertyAttributes, unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateObjCProperty()
1515 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type), in LLVMDIBuilderCreateObjectPointerType()
1525 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
1526 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef()
1535 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
1546 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1547 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateForwardDecl()
1559 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType()
1560 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateReplaceableCompositeType()
1569 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateQualifiedType()
1576 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateReferenceType()
1592 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
1593 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits, in LLVMDIBuilderCreateMemberPointerType()
1607 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
1608 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateBitFieldMemberType()
1610 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateBitFieldMemberType()
1624 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateClassType()
1626 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom), Elts, in LLVMDIBuilderCreateClassType()
1627 /*RunTimeLang=*/0, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1628 unwrapDI<MDNode>(TemplateParamsNode), in LLVMDIBuilderCreateClassType()
1635 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateArtificialType()
1639 return unwrapDI<DINode>(MD)->getTag(); in LLVMGetDINodeTag()
1643 StringRef Str = unwrapDI<DIType>(DType)->getName(); in LLVMDITypeGetName()
1649 return unwrapDI<DIType>(DType)->getSizeInBits(); in LLVMDITypeGetSizeInBits()
1653 return unwrapDI<DIType>(DType)->getOffsetInBits(); in LLVMDITypeGetOffsetInBits()
1657 return unwrapDI<DIType>(DType)->getAlignInBits(); in LLVMDITypeGetAlignInBits()
1661 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
1665 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags()); in LLVMDITypeGetFlags()
1705 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression()
1706 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1707 true, unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl), in LLVMDIBuilderCreateGlobalVariableExpression()
1712 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable()); in LLVMDIGlobalVariableExpressionGetVariable()
1717 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression()); in LLVMDIGlobalVariableExpressionGetExpression()
1721 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile()
1725 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope()
1729 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
1739 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode)); in LLVMDisposeTemporaryMDNode()
1744 auto *Node = unwrapDI<MDNode>(TargetMetadata); in LLVMMetadataReplaceAllUsesWith()
1755 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen}, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1756 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1757 unwrapDI<MDNode>(Decl), nullptr, AlignInBits)); in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1870 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
1875 unwrapDI<DISubprogram>(Subprogram) in LLVMDISubprogramReplaceType()
1876 ->replaceType(unwrapDI<DISubroutineType>(SubroutineType)); in LLVMDISubprogramReplaceType()
1896 unwrapDI<DIScope>(Context), StringRef(Name, NameLen), in LLVMDIBuilderCreateLabel()
1897 unwrapDI<DIFile>(File), LineNo, /*Column*/ 0, /*IsArtificial*/ false, in LLVMDIBuilderCreateLabel()
1906 unwrapDI<DILabel>(LabelInfo), unwrapDI<DILocation>(Location), in LLVMDIBuilderInsertLabelBefore()
1925 unwrapDI<DILabel>(LabelInfo), unwrapDI<DILocation>(Location), in LLVMDIBuilderInsertLabelAtEnd()