Lines Matching refs:unwrapDI

865 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {  in unwrapDI()  function
912 unwrap(Builder)->finalizeSubprogram(unwrapDI<DISubprogram>(subprogram)); in LLVMDIBuilderFinalizeSubprogram()
923 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
950 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
961 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
971 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
972 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
982 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
983 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
992 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
993 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
1003 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1004 unwrapDI<DINamespace>(NS), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1005 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
1018 unwrapDI<DIScope>(Scope), unwrapDI<DIImportedEntity>(ImportedEntity), in LLVMDIBuilderCreateImportedModuleFromAlias()
1019 unwrapDI<DIFile>(File), Line, Elts)); in LLVMDIBuilderCreateImportedModuleFromAlias()
1031 unwrapDI<DIScope>(Scope), unwrapDI<DIModule>(M), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
1044 unwrapDI<DIScope>(Scope), unwrapDI<DINode>(Decl), unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedDeclaration()
1057 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
1061 return unwrapDI<DILocation>(Location)->getColumn(); in LLVMDILocationGetColumn()
1065 return wrap(unwrapDI<DILocation>(Location)->getScope()); in LLVMDILocationGetScope()
1069 return wrap(unwrapDI<DILocation>(Location)->getInlinedAt()); in LLVMDILocationGetInlinedAt()
1073 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile()
1077 auto Dir = unwrapDI<DIFile>(File)->getDirectory(); in LLVMDIFileGetDirectory()
1083 auto Name = unwrapDI<DIFile>(File)->getFilename(); in LLVMDIFileGetFilename()
1089 if (auto Src = unwrapDI<DIFile>(File)->getSource()) { in LLVMDIFileGetSource()
1104 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line, in LLVMDIBuilderCreateMacro()
1114 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File))); in LLVMDIBuilderCreateTempMacroFile()
1133 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType()
1134 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
1146 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateUnionType()
1160 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
1171 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
1188 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy), in LLVMDIBuilderCreatePointerType()
1203 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateStructType()
1205 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang, in LLVMDIBuilderCreateStructType()
1206 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen})); in LLVMDIBuilderCreateStructType()
1214 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateMemberType()
1215 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1216 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
1232 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateStaticMemberType()
1233 unwrapDI<DIFile>(File), LineNumber, unwrapDI<DIType>(Type), in LLVMDIBuilderCreateStaticMemberType()
1246 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1248 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty), in LLVMDIBuilderCreateObjCIVar()
1249 unwrapDI<MDNode>(PropertyNode))); in LLVMDIBuilderCreateObjCIVar()
1261 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1263 PropertyAttributes, unwrapDI<DIType>(Ty))); in LLVMDIBuilderCreateObjCProperty()
1269 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateObjectPointerType()
1278 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
1279 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef()
1288 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
1299 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1300 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateForwardDecl()
1312 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType()
1313 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits, in LLVMDIBuilderCreateReplaceableCompositeType()
1322 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateQualifiedType()
1329 unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateReferenceType()
1345 unwrapDI<DIType>(PointeeType), in LLVMDIBuilderCreateMemberPointerType()
1346 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits, in LLVMDIBuilderCreateMemberPointerType()
1360 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
1361 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateBitFieldMemberType()
1363 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateBitFieldMemberType()
1377 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateClassType()
1378 unwrapDI<DIFile>(File), LineNumber, in LLVMDIBuilderCreateClassType()
1380 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom), in LLVMDIBuilderCreateClassType()
1381 Elts, unwrapDI<DIType>(VTableHolder), in LLVMDIBuilderCreateClassType()
1382 unwrapDI<MDNode>(TemplateParamsNode), in LLVMDIBuilderCreateClassType()
1389 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type))); in LLVMDIBuilderCreateArtificialType()
1399 return unwrapDI<DIType>(DType)->getSizeInBits(); in LLVMDITypeGetSizeInBits()
1403 return unwrapDI<DIType>(DType)->getOffsetInBits(); in LLVMDITypeGetOffsetInBits()
1407 return unwrapDI<DIType>(DType)->getAlignInBits(); in LLVMDITypeGetAlignInBits()
1411 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
1415 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags()); in LLVMDITypeGetFlags()
1455 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression()
1456 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateGlobalVariableExpression()
1457 true, unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl), in LLVMDIBuilderCreateGlobalVariableExpression()
1462 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable()); in LLVMDIGlobalVariableExpressionGetVariable()
1467 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression()); in LLVMDIGlobalVariableExpressionGetExpression()
1471 return wrap(unwrapDI<DIVariable>(Var)->getFile()); in LLVMDIVariableGetFile()
1475 return wrap(unwrapDI<DIVariable>(Var)->getScope()); in LLVMDIVariableGetScope()
1479 return unwrapDI<DIVariable>(Var)->getLine(); in LLVMDIVariableGetLine()
1489 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode)); in LLVMDisposeTemporaryMDNode()
1494 auto *Node = unwrapDI<MDNode>(TargetMetadata); in LLVMMetadataReplaceAllUsesWith()
1505 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen}, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1506 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit, in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1507 unwrapDI<MDNode>(Decl), nullptr, AlignInBits)); in LLVMDIBuilderCreateTempGlobalVariableFwdDecl()
1594 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()