Lines Matching refs:unwrapDI

1014 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {  in unwrapDI()  function
1061 unwrap(Builder)->finalizeSubprogram(unwrapDI<DISubprogram>(subprogram)); in LLVMDIBuilderFinalizeSubprogram()
1072 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
1099 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
1110 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
1120 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
1121 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
1131 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
1132 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
1141 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
1142 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
1152 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1153 unwrapDI<DINamespace>(NS), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1154 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1167 unwrapDI<DIScope>(Scope), unwrapDI<DIImportedEntity>(ImportedEntity), in LLVMDIBuilderCreateImportedModuleFromAlias()
1168 unwrapDI<DIFile>(File), Line, Elts)); in LLVMDIBuilderCreateImportedModuleFromAlias()
1180 unwrapDI<DIScope>(Scope), unwrapDI<DIModule>(M), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
1193 unwrapDI<DIScope>(Scope), unwrapDI<DINode>(Decl), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedDeclaration()
1206 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
1210 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn()
1214 return wrap(unwrapDI<DILocation>(Location)->getScope()); in LLVMDILocationGetScope()
1218 return wrap(unwrapDI<DILocation>(Location)->getInlinedAt()); in LLVMDILocationGetInlinedAt()
1222 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile()
1226 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
1232 auto Name = unwrapDI<DIFile>(File)->getFilename(); in LLVMDIFileGetFilename()
1238 if (auto Src = unwrapDI<DIFile>(File)->getSource()) { in LLVMDIFileGetSource()
1253 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line, in LLVMDIBuilderCreateMacro()
1263 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File))); in LLVMDIBuilderCreateTempMacroFile()
1282 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType()
1283 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
1295 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateUnionType()
1309 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
1320 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
1337 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
1352 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStructType()
1354 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
1355 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateStructType()
1363 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateMemberType()
1364 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1365 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
1380 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStaticMemberType()
1381 LineNumber, unwrapDI<DIType>(Type), map_from_llvmDIFlags(Flags), in LLVMDIBuilderCreateStaticMemberType()
1393 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1395 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty), in LLVMDIBuilderCreateObjCIVar()
1396 unwrapDI<MDNode>(PropertyNode))); in LLVMDIBuilderCreateObjCIVar()
1408 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1410 PropertyAttributes, unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateObjCProperty()
1416 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateObjectPointerType()
1425 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
1426 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef()
1435 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
1446 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1447 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateForwardDecl()
1459 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType()
1460 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateReplaceableCompositeType()
1469 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateQualifiedType()
1476 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateReferenceType()
1492 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
1493 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits, in LLVMDIBuilderCreateMemberPointerType()
1507 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
1508 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateBitFieldMemberType()
1510 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateBitFieldMemberType()
1524 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateClassType()
1526 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom), Elts, in LLVMDIBuilderCreateClassType()
1527 /*RunTimeLang=*/0, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1528 unwrapDI<MDNode>(TemplateParamsNode), in LLVMDIBuilderCreateClassType()
1535 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateArtificialType()
1539 return unwrapDI<DINode>(MD)->getTag(); in LLVMGetDINodeTag()
1543 StringRef Str = unwrapDI<DIType>(DType)->getName(); in LLVMDITypeGetName()
1549 return unwrapDI<DIType>(DType)->getSizeInBits(); in LLVMDITypeGetSizeInBits()
1553 return unwrapDI<DIType>(DType)->getOffsetInBits(); in LLVMDITypeGetOffsetInBits()
1557 return unwrapDI<DIType>(DType)->getAlignInBits(); in LLVMDITypeGetAlignInBits()
1561 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
1565 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags()); in LLVMDITypeGetFlags()
1605 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression()
1606 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1607 true, unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl), in LLVMDIBuilderCreateGlobalVariableExpression()
1612 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable()); in LLVMDIGlobalVariableExpressionGetVariable()
1617 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression()); in LLVMDIGlobalVariableExpressionGetExpression()
1621 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile()
1625 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope()
1629 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
1639 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode)); in LLVMDisposeTemporaryMDNode()
1644 auto *Node = unwrapDI<MDNode>(TargetMetadata); in LLVMMetadataReplaceAllUsesWith()
1655 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen}, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1656 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1657 unwrapDI<MDNode>(Decl), nullptr, AlignInBits)); in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1744 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()