• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/

Lines Matching refs:unwrapDI

709 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {
761 auto File = unwrapDI<DIFile>(FileRef);
787 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen),
798 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols));
808 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen},
809 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine,
819 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope),
820 unwrapDI<DIFile>(File),
829 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope),
830 unwrapDI<DIFile>(File),
840 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope),
841 unwrapDI<DINamespace>(NS),
842 unwrapDI<DIFile>(File),
853 unwrapDI<DIScope>(Scope),
854 unwrapDI<DIImportedEntity>(ImportedEntity),
855 unwrapDI<DIFile>(File), Line));
864 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope),
865 unwrapDI<DIModule>(M),
866 unwrapDI<DIFile>(File),
878 unwrapDI<DIScope>(Scope),
879 unwrapDI<DINode>(Decl),
880 unwrapDI<DIFile>(File), Line, {Name, NameLen}));
892 return unwrapDI<DILocation>(Location)->getLine();
896 return unwrapDI<DILocation>(Location)->getColumn();
900 return wrap(unwrapDI<DILocation>(Location)->getScope());
904 return wrap(unwrapDI<DILocation>(Location)->getInlinedAt());
908 return wrap(unwrapDI<DIScope>(Scope)->getFile());
912 auto Dir = unwrapDI<DIFile>(File)->getDirectory();
918 auto Name = unwrapDI<DIFile>(File)->getFilename();
924 if (auto Src = unwrapDI<DIFile>(File)->getSource()) {
939 unwrap(Builder)->createMacro(unwrapDI<DIMacroFile>(ParentMacroFile), Line,
949 unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File)));
968 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
969 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy)));
981 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
995 unwrapDI<DIType>(Ty), Subs));
1006 unwrapDI<DIType>(Ty), Subs));
1023 return wrap(unwrap(Builder)->createPointerType(unwrapDI<DIType>(PointeeTy),
1038 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
1040 unwrapDI<DIType>(DerivedFrom), Elts, RunTimeLang,
1041 unwrapDI<DIType>(VTableHolder), {UniqueId, UniqueIdLen}));
1049 return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope),
1050 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits,
1051 OffsetInBits, map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty)));
1067 unwrapDI<DIScope>(Scope), {Name, NameLen},
1068 unwrapDI<DIFile>(File), LineNumber, unwrapDI<DIType>(Type),
1081 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
1083 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Ty),
1084 unwrapDI<MDNode>(PropertyNode)));
1096 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
1098 PropertyAttributes, unwrapDI<DIType>(Ty)));
1104 return wrap(unwrap(Builder)->createObjectPointerType(unwrapDI<DIType>(Type)));
1113 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
1114 unwrapDI<DIScope>(Scope), AlignInBits));
1123 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy),
1134 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope),
1135 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits,
1147 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope),
1148 unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits,
1157 unwrapDI<DIType>(Type)));
1164 unwrapDI<DIType>(Type)));
1180 unwrapDI<DIType>(PointeeType),
1181 unwrapDI<DIType>(ClassType), AlignInBits, SizeInBits,
1195 unwrapDI<DIScope>(Scope), {Name, NameLen},
1196 unwrapDI<DIFile>(File), LineNumber,
1198 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(Type)));
1212 unwrapDI<DIScope>(Scope), {Name, NameLen},
1213 unwrapDI<DIFile>(File), LineNumber,
1215 map_from_llvmDIFlags(Flags), unwrapDI<DIType>(DerivedFrom),
1216 Elts, unwrapDI<DIType>(VTableHolder),
1217 unwrapDI<MDNode>(TemplateParamsNode),
1224 return wrap(unwrap(Builder)->createArtificialType(unwrapDI<DIType>(Type)));
1234 return unwrapDI<DIType>(DType)->getSizeInBits();
1238 return unwrapDI<DIType>(DType)->getOffsetInBits();
1242 return unwrapDI<DIType>(DType)->getAlignInBits();
1246 return unwrapDI<DIType>(DType)->getLine();
1250 return map_to_llvmDIFlags(unwrapDI<DIType>(DType)->getFlags());
1290 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen},
1291 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit,
1292 true, unwrap<DIExpression>(Expr), unwrapDI<MDNode>(Decl),
1297 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getVariable());
1302 return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpression());
1306 return wrap(unwrapDI<DIVariable>(Var)->getFile());
1310 return wrap(unwrapDI<DIVariable>(Var)->getScope());
1314 return unwrapDI<DIVariable>(Var)->getLine();
1324 MDNode::deleteTemporary(unwrapDI<MDNode>(TempNode));
1329 auto *Node = unwrapDI<MDNode>(TargetMetadata);
1340 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen},
1341 unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit,
1342 unwrapDI<MDNode>(Decl), nullptr, AlignInBits));
1429 return unwrapDI<DISubprogram>(Subprogram)->getLine();