reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Metadata.def
   95 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile)

References

examples/Kaleidoscope/Chapter9/toy.cpp
  842 static DISubroutineType *CreateFunctionType(unsigned NumArgs, DIFile *Unit) {
 1241   DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU->getFilename(),
include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/IR/DIBuilder.h
  139     createCompileUnit(unsigned Lang, DIFile *File, StringRef Producer,
  156     DIFile *
  158                Optional<DIFile::ChecksumInfo<StringRef>> Checksum = None,
  177                                      DIFile *File);
  240     DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
  269                                     DIFile *File, unsigned LineNo,
  289 					   DIFile *File, unsigned LineNo,
  307         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
  322                                           DIFile *File, unsigned LineNo,
  338     DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
  352     DIObjCProperty *createObjCProperty(StringRef Name, DIFile *File,
  375         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  393         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  410                                      DIFile *File, unsigned LineNumber,
  431 				       DIFile *File, unsigned LineNumber,
  506         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  533                                        DIScope *Scope, DIFile *F, unsigned Line,
  541         unsigned Tag, StringRef Name, DIScope *Scope, DIFile *F, unsigned Line,
  583         DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  591         DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  604     createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File,
  614     createLabel(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
  630                             DIFile *File, unsigned LineNo, DIType *Ty,
  663                    DIFile *File, unsigned LineNo, DISubroutineType *Ty,
  673         DIScope *Scope, StringRef Name, StringRef LinkageName, DIFile *File,
  701                  DIFile *File, unsigned LineNo, DISubroutineType *Ty,
  716                                      StringRef Name, DIFile *File,
  747     DILexicalBlockFile *createLexicalBlockFile(DIScope *Scope, DIFile *File,
  756     DILexicalBlock *createLexicalBlock(DIScope *Scope, DIFile *File,
  765                                            DIFile *File, unsigned Line);
  773                                            DIImportedEntity *NS, DIFile *File,
  782                                            DIFile *File, unsigned Line);
  791                                                 DIFile *File, unsigned Line,
include/llvm/IR/DebugInfoMetadata.h
  407   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
  407   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
  423     return isa<DIFile>(this) ? const_cast<DIScope *>(this)
  499   static DIFile *getImpl(LLVMContext &Context, StringRef Filename,
  512   static DIFile *getImpl(LLVMContext &Context, MDString *Filename,
  561   if (auto *F = getFile())
  567   if (auto *F = getFile())
  573   if (auto *F = getFile())
  774   getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, DIFile *File,
 1167   getImpl(LLVMContext &Context, unsigned SourceLanguage, DIFile *File,
 1450   DIFile *getFile() const { return getScope()->getFile(); }
 1662           StringRef LinkageName, DIFile *File, unsigned Line,
 1874                                  DIFile *File, unsigned Line, unsigned Column,
 1922                                      DIFile *File, unsigned Discriminator,
 2247   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2247   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2263     if (auto *F = getFile())
 2269     if (auto *F = getFile())
 2275     if (auto *F = getFile())
 2622           StringRef LinkageName, DIFile *File, unsigned Line, DIType *Type,
 2699                                 DIFile *File, unsigned LineNo,
 2732   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2732   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2765                                   StringRef Name, DIFile *File, unsigned Line,
 2845                           StringRef Name, DIFile *File, unsigned Line,
 2881   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2881   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2916   getImpl(LLVMContext &Context, StringRef Name, DIFile *File, unsigned Line,
 2955   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2955   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 2961     if (auto *F = getFile())
 2967     if (auto *F = getFile())
 2973     if (auto *F = getFile())
 3002                                    DIScope *Scope, DINode *Entity, DIFile *File,
 3036   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 3036   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 3200                               unsigned Line, DIFile *File,
 3236   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
 3236   DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); }
include/llvm/IR/DiagnosticInfo.h
  346   DIFile *File = nullptr;
include/llvm/IR/Metadata.h
  982   static typename std::enable_if<std::is_base_of<MDNode, T>::value, T *>::type
  982   static typename std::enable_if<std::is_base_of<MDNode, T>::value, T *>::type
  983   replaceWithUniqued(std::unique_ptr<T, TempMDNodeDeleter> N) {
  984     return cast<T>(N.release()->replaceWithUniquedImpl());
 1042   static void dispatchRecalculateHash(NodeTy *N, std::true_type) {
 1046   static void dispatchRecalculateHash(NodeTy *, std::false_type) {}
 1048   static void dispatchResetHash(NodeTy *N, std::true_type) {
 1052   static void dispatchResetHash(NodeTy *, std::false_type) {}
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   77     return isa_impl<To, From>::doit(Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  168   using ret_type = const To &; // Normal case, return Ty&
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
lib/AsmParser/LLParser.cpp
 3899 struct ChecksumKindField : public MDFieldImpl<DIFile::ChecksumKind> {
 3900   ChecksumKindField(DIFile::ChecksumKind CSKind) : ImplTy(CSKind) {}
 4322   Optional<DIFile::ChecksumKind> CSKind =
 4323       DIFile::getChecksumKind(Lex.getStrVal());
 4612   Optional<DIFile::ChecksumInfo<MDString *>> OptChecksum;
lib/Bitcode/Reader/MetadataLoader.cpp
 1440     Optional<DIFile::ChecksumInfo<MDString *>> Checksum;
lib/Bitcode/Writer/BitcodeWriter.cpp
  310   void writeDIFile(const DIFile *N, SmallVectorImpl<uint64_t> &Record,
 1616 void ModuleBitcodeWriter::writeDIFile(const DIFile *N,
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  174 StringRef CodeViewDebug::getFullFilepath(const DIFile *File) {
  238 unsigned CodeViewDebug::maybeRecordFile(const DIFile *F) {
  253       case DIFile::CSK_MD5:  CSKind = FileChecksumKind::MD5; break;
  254       case DIFile::CSK_SHA1: CSKind = FileChecksumKind::SHA1; break;
  357   if (!Scope || isa<DIFile>(Scope))
  829   const DIFile *MainSourceFile = CU->getFile();
 2042   if (const auto *File = Ty->getFile()) {
lib/CodeGen/AsmPrinter/CodeViewDebug.h
  274   using FileToFilepathMapTy = std::map<const DIFile *, std::string>;
  277   StringRef getFullFilepath(const DIFile *File);
  279   unsigned maybeRecordFile(const DIFile *F);
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
   99 unsigned DwarfCompileUnit::getOrCreateSourceID(const DIFile *File) {
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  162   unsigned getOrCreateSourceID(const DIFile *File) override;
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  311 Optional<MD5::MD5Result> DwarfUnit::getMD5AsBytes(const DIFile *File) const {
  315   Optional<DIFile::ChecksumInfo<StringRef>> Checksum = File->getChecksum();
  316   if (!Checksum || Checksum->Kind != DIFile::CSK_MD5)
  328 unsigned DwarfTypeUnit::getOrCreateSourceID(const DIFile *File) {
  416 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, const DIFile *File) {
  620   if (!Context || isa<DIFile>(Context))
  719     if (!Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) ||
 1415   bool IndexEnumerators = !Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) ||
lib/CodeGen/AsmPrinter/DwarfUnit.h
  190   void addSourceLine(DIE &Die, unsigned Line, const DIFile *File);
  290   Optional<MD5::MD5Result> getMD5AsBytes(const DIFile *File) const;
  303   virtual unsigned getOrCreateSourceID(const DIFile *File) = 0;
  350   unsigned getOrCreateSourceID(const DIFile *File) override;
lib/CodeGen/MachineOutliner.cpp
 1160     DIFile *Unit = SP->getFile();
lib/IR/AsmWriter.cpp
 1607   void printChecksum(const DIFile::ChecksumInfo<StringRef> &N);
 1646     const DIFile::ChecksumInfo<StringRef> &Checksum) {
 1903 static void writeDIFile(raw_ostream &Out, const DIFile *N, TypePrinting *,
lib/IR/DIBuilder.cpp
  138     unsigned Lang, DIFile *File, StringRef Producer, bool isOptimized,
  164                      Metadata *NS, DIFile *File, unsigned Line, StringRef Name,
  179                                                   DINamespace *NS, DIFile *File,
  188                                                   DIFile *File, unsigned Line) {
  195                                                   DIFile *File, unsigned Line) {
  203                                                        DIFile *File,
  213 DIFile *DIBuilder::createFile(StringRef Filename, StringRef Directory,
  214                               Optional<DIFile::ChecksumInfo<StringRef>> CS,
  216   return DIFile::get(VMContext, Filename, Directory, CS, Source);
  232                                             unsigned LineNumber, DIFile *File) {
  307                                         DIFile *File, unsigned LineNo,
  334                                            DIFile *File, unsigned LineNumber,
  351     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  361     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  374 DIBuilder::createStaticMemberType(DIScope *Scope, StringRef Name, DIFile *File,
  386 DIBuilder::createObjCIVar(StringRef Name, DIFile *File, unsigned LineNumber,
  397 DIBuilder::createObjCProperty(StringRef Name, DIFile *File, unsigned LineNumber,
  444     DIScope *Context, StringRef Name, DIFile *File, unsigned LineNumber,
  461     DIScope *Context, StringRef Name, DIFile *File, unsigned LineNumber,
  474     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  486     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  504     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  575                              DIFile *F, unsigned Line, unsigned RuntimeLang,
  589     unsigned Tag, StringRef Name, DIScope *Scope, DIFile *F, unsigned Line,
  640     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  657     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  696                                                DIFile *File, unsigned LineNo,
  706     DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File,
  715     DIScope *Scope, StringRef Name, DIFile *File,
  752     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  771     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  786     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  809     DIScope *Scope, DIGlobalVariable *Decl, StringRef Name, DIFile *File,
  836                                                       DIFile *File,
  841 DILexicalBlock *DIBuilder::createLexicalBlock(DIScope *Scope, DIFile *File,
lib/IR/DebugInfo.cpp
  427     auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
  427     auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
  480     auto *File = cast_or_null<DIFile>(map(CU->getFile()));
  480     auto *File = cast_or_null<DIFile>(map(CU->getFile()));
  532       if (isa<DIFile>(N))
  709 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {
  761   auto File = unwrapDI<DIFile>(FileRef);
  809       unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine,
  820                                                   unwrapDI<DIFile>(File),
  830                                                       unwrapDI<DIFile>(File),
  842                                                     unwrapDI<DIFile>(File),
  855                   unwrapDI<DIFile>(File), Line));
  866                                                     unwrapDI<DIFile>(File),
  880                   unwrapDI<DIFile>(File), Line, {Name, NameLen}));
  912   auto Dir = unwrapDI<DIFile>(File)->getDirectory();
  918   auto Name = unwrapDI<DIFile>(File)->getFilename();
  924   if (auto Src = unwrapDI<DIFile>(File)->getSource()) {
  949       unwrapDI<DIMacroFile>(ParentMacroFile), Line, unwrapDI<DIFile>(File)));
  968     unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
  981      unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
 1038       unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
 1050       {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits,
 1068                   unwrapDI<DIFile>(File), LineNumber, unwrapDI<DIType>(Type),
 1081                   {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
 1096                   {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
 1114                   unwrapDI<DIFile>(File), LineNo,
 1136                   unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits,
 1149                   unwrapDI<DIFile>(File), Line, RuntimeLang, SizeInBits,
 1197                   unwrapDI<DIFile>(File), LineNumber,
 1214                   unwrapDI<DIFile>(File), LineNumber,
 1292       unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit,
 1342       unwrapDI<DIFile>(File), LineNo, unwrapDI<DIType>(Ty), LocalToUnit,
 1394                   unwrap<DIScope>(Scope), {Name, NameLen}, unwrap<DIFile>(File),
 1404                   unwrap<DIScope>(Scope), {Name, NameLen}, ArgNo, unwrap<DIFile>(File),
lib/IR/DebugInfoMetadata.cpp
  478 static const char *ChecksumKindName[DIFile::CSK_Last] = {
  491 Optional<DIFile::ChecksumKind> DIFile::getChecksumKind(StringRef CSKindStr) {
  493       .Case("CSK_MD5", DIFile::CSK_MD5)
  494       .Case("CSK_SHA1", DIFile::CSK_SHA1)
  498 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename,
  500                         Optional<DIFile::ChecksumInfo<MDString *>> CS,
lib/IR/LLVMContextImpl.h
  249   using KeyTy = MDNodeKeyImpl<NodeTy>;
  251   static bool isSubsetEqual(const KeyTy &LHS, const NodeTy *RHS) {
  255   static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) {
  255   static bool isSubsetEqual(const NodeTy *LHS, const NodeTy *RHS) {
  582   Optional<DIFile::ChecksumInfo<MDString *>> Checksum;
  586                 Optional<DIFile::ChecksumInfo<MDString *>> Checksum,
  590   MDNodeKeyImpl(const DIFile *N)
  594   bool isKeyOf(const DIFile *RHS) const {
 1139   using KeyTy = MDNodeKeyImpl<NodeTy>;
 1140   using SubsetEqualTy = MDNodeSubsetEqualImpl<NodeTy>;
 1142   static inline NodeTy *getEmptyKey() {
 1143     return DenseMapInfo<NodeTy *>::getEmptyKey();
 1146   static inline NodeTy *getTombstoneKey() {
 1147     return DenseMapInfo<NodeTy *>::getTombstoneKey();
 1152   static unsigned getHashValue(const NodeTy *N) {
 1156   static bool isEqual(const KeyTy &LHS, const NodeTy *RHS) {
 1162   static bool isEqual(const NodeTy *LHS, const NodeTy *RHS) {
 1162   static bool isEqual(const NodeTy *LHS, const NodeTy *RHS) {
lib/IR/Metadata.cpp
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  761 static T *uniquifyImpl(T *N, DenseSet<T *, InfoT> &Store) {
  762   if (T *U = getUniqued(Store, N))
  778   static const bool value = sizeof(check<NodeTy>(nullptr)) == sizeof(Yes);
lib/IR/MetadataImpl.h
   22 static T *getUniqued(DenseSet<T *, InfoT> &Store,
   22 static T *getUniqued(DenseSet<T *, InfoT> &Store,
   42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
   42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
lib/IR/Verifier.cpp
  531   void verifySourceDebugInfo(const DICompileUnit &U, const DIFile &F);
 1024 void Verifier::visitDIFile(const DIFile &N) {
 1026   Optional<DIFile::ChecksumInfo<StringRef>> Checksum = N.getChecksum();
 1032     case DIFile::CSK_MD5:
 1035     case DIFile::CSK_SHA1:
 5097 void Verifier::verifySourceDebugInfo(const DICompileUnit &U, const DIFile &F) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  368 Optional<llvm::DIFile::ChecksumKind>
  389   return llvm::DIFile::CSK_MD5;
  406 llvm::DIFile *CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
  424       return cast<llvm::DIFile>(V);
  432   Optional<llvm::DIFile::ChecksumKind> CSKind =
  434   Optional<llvm::DIFile::ChecksumInfo<StringRef>> CSInfo;
  440 llvm::DIFile *
  442                         Optional<llvm::DIFile::ChecksumInfo<StringRef>> CSInfo,
  474   llvm::DIFile *F = DBuilder.createFile(File, Dir, CSInfo, Source);
  520   Optional<llvm::DIFile::ChecksumKind> CSKind;
  521   Optional<llvm::DIFile::ChecksumInfo<StringRef>> CSInfo;
  615   llvm::DIFile *CUFile = DBuilder.createFile(
  831                                                llvm::DIFile *Unit) {
  865                                       llvm::DIFile *Unit) {
  878                                       llvm::DIFile *Unit) {
  978   llvm::DIFile *DefUnit = getOrCreateFile(RD->getLocation());
 1003                                                  llvm::DIFile *Unit) {
 1034     const BlockPointerType *Ty, llvm::DIFile *Unit, llvm::DIDerivedType *DescTy,
 1070                                       llvm::DIFile *Unit) {
 1111                                       llvm::DIFile *Unit) {
 1134                                       llvm::DIFile *Unit) {
 1195                                       llvm::DIFile *Unit) {
 1250   llvm::DIFile *VUnit = getOrCreateFile(Loc);
 1254   llvm::DIFile *File = getOrCreateFile(Loc);
 1279                              uint32_t AlignInBits, llvm::DIFile *tunit,
 1284   llvm::DIFile *file = getOrCreateFile(loc);
 1319       llvm::DIFile *VUnit = getOrCreateFile(Loc);
 1331       llvm::DIFile *VUnit = getOrCreateFile(f->getLocation());
 1348   llvm::DIFile *VUnit = getOrCreateFile(Var->getLocation());
 1373     const FieldDecl *field, uint64_t OffsetInBits, llvm::DIFile *tunit,
 1408     const RecordDecl *record, llvm::DIFile *tunit,
 1466                                    llvm::DIFile *Unit) {
 1475     QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile *Unit) {
 1539     const CXXMethodDecl *Method, llvm::DIFile *Unit, llvm::DIType *RecordTy) {
 1558   llvm::DIFile *MethodDefUnit = nullptr;
 1645     const CXXRecordDecl *RD, llvm::DIFile *Unit,
 1682 void CGDebugInfo::CollectCXXBases(const CXXRecordDecl *RD, llvm::DIFile *Unit,
 1698     const CXXRecordDecl *RD, llvm::DIFile *Unit,
 1747                                    llvm::DIFile *Unit) {
 1856                                            llvm::DIFile *Unit) {
 1869                                                         llvm::DIFile *Unit) {
 1883     const ClassTemplateSpecializationDecl *TSpecial, llvm::DIFile *Unit) {
 1893 llvm::DIType *CGDebugInfo::getOrCreateVTablePtrType(llvm::DIFile *Unit) {
 1971 void CGDebugInfo::CollectVTableInfo(const CXXRecordDecl *RD, llvm::DIFile *Unit,
 2235   llvm::DIFile *DefUnit = getOrCreateFile(RD->getLocation());
 2290                                       llvm::DIFile *Unit) {
 2296                                       llvm::DIFile *Unit) {
 2332                                       llvm::DIFile *Unit) {
 2347   llvm::DIFile *DefUnit = getOrCreateFile(ID->getLocation());
 2445                                                 llvm::DIFile *Unit) {
 2447   llvm::DIFile *DefUnit = getOrCreateFile(ID->getLocation());
 2489     llvm::DIFile *PUnit = getOrCreateFile(Loc);
 2533     llvm::DIFile *FieldDefUnit = getOrCreateFile(Field->getLocation());
 2578           llvm::DIFile *PUnit = getOrCreateFile(Loc);
 2609                                       llvm::DIFile *Unit) {
 2628 llvm::DIType *CGDebugInfo::CreateType(const ArrayType *Ty, llvm::DIFile *Unit) {
 2692                                       llvm::DIFile *Unit) {
 2698                                       llvm::DIFile *Unit) {
 2704                                       llvm::DIFile *U) {
 2746 llvm::DIType *CGDebugInfo::CreateType(const AtomicType *Ty, llvm::DIFile *U) {
 2751 llvm::DIType *CGDebugInfo::CreateType(const PipeType *Ty, llvm::DIFile *U) {
 2780     llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation());
 2824   llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation());
 2843   llvm::DIFile *FName = getOrCreateFile(FileLoc);
 2945 llvm::DIType *CGDebugInfo::getOrCreateType(QualType Ty, llvm::DIFile *Unit) {
 2999 llvm::DIType *CGDebugInfo::CreateTypeNode(QualType Ty, llvm::DIFile *Unit) {
 3084                                                            llvm::DIFile *Unit) {
 3113   llvm::DIFile *DefUnit = getOrCreateFile(RD->getLocation());
 3217 llvm::DIType *CGDebugInfo::CreateMemberType(llvm::DIFile *Unit, QualType FType,
 3229 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
 3268 void CGDebugInfo::collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit,
 3330   llvm::DIFile *Unit = getOrCreateFile(Loc);
 3383   llvm::DIFile *Unit = getOrCreateFile(Loc);
 3467                                                              llvm::DIFile *F) {
 3550   llvm::DIFile *Unit = getOrCreateFile(Loc);
 3668   llvm::DIFile *Unit = getOrCreateFile(Loc);
 3841   llvm::DIFile *Unit = getOrCreateFile(VD->getLocation());
 3917   llvm::DIFile *Unit = nullptr;
 4060   llvm::DIFile *Unit = getOrCreateFile(D->getLocation());
 4100   llvm::DIFile *Unit = getOrCreateFile(VD->getLocation());
 4176     const llvm::StructLayout &BlockLayout, llvm::DIFile *Unit,
 4223   llvm::DIFile *tunit = getOrCreateFile(loc);
 4357     const RecordDecl *RD, llvm::DIFile *Unit, unsigned LineNo,
 4395   llvm::DIFile *Unit = nullptr;
 4449   llvm::DIFile *Unit = getOrCreateFile(VD->getLocation());
tools/clang/lib/CodeGen/CGDebugInfo.h
   95     llvm::DIFile *Unit;
   97                             llvm::DIFile *Unit)
  156   llvm::DIType *CreateQualifiedType(QualType Ty, llvm::DIFile *Fg);
  157   llvm::DIType *CreateType(const TypedefType *Ty, llvm::DIFile *Fg);
  159                            llvm::DIFile *Fg);
  160   llvm::DIType *CreateType(const ObjCObjectPointerType *Ty, llvm::DIFile *F);
  161   llvm::DIType *CreateType(const PointerType *Ty, llvm::DIFile *F);
  162   llvm::DIType *CreateType(const BlockPointerType *Ty, llvm::DIFile *F);
  163   llvm::DIType *CreateType(const FunctionType *Ty, llvm::DIFile *F);
  171   llvm::DIType *CreateType(const ObjCInterfaceType *Ty, llvm::DIFile *F);
  173                                      llvm::DIFile *F);
  175   llvm::DIType *CreateType(const ObjCObjectType *Ty, llvm::DIFile *F);
  176   llvm::DIType *CreateType(const ObjCTypeParamType *Ty, llvm::DIFile *Unit);
  178   llvm::DIType *CreateType(const VectorType *Ty, llvm::DIFile *F);
  179   llvm::DIType *CreateType(const ArrayType *Ty, llvm::DIFile *F);
  180   llvm::DIType *CreateType(const LValueReferenceType *Ty, llvm::DIFile *F);
  181   llvm::DIType *CreateType(const RValueReferenceType *Ty, llvm::DIFile *Unit);
  182   llvm::DIType *CreateType(const MemberPointerType *Ty, llvm::DIFile *F);
  183   llvm::DIType *CreateType(const AtomicType *Ty, llvm::DIFile *F);
  184   llvm::DIType *CreateType(const PipeType *Ty, llvm::DIFile *F);
  205                                                 llvm::DIFile *F);
  208                                 llvm::DIFile *Unit);
  210   getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F);
  212   llvm::DIType *getOrCreateVTablePtrType(llvm::DIFile *F);
  217                                       QualType PointeeTy, llvm::DIFile *F);
  223                                               llvm::DIFile *F,
  229   void CollectCXXMemberFunctions(const CXXRecordDecl *Decl, llvm::DIFile *F,
  236   void CollectCXXBases(const CXXRecordDecl *Decl, llvm::DIFile *F,
  243       const CXXRecordDecl *RD, llvm::DIFile *Unit,
  252                                           llvm::DIFile *Unit);
  256                                                   llvm::DIFile *Unit);
  261                                              llvm::DIFile *Unit);
  267                            llvm::DIFile *F);
  272                                 llvm::DIFile *tunit, llvm::DIScope *scope,
  277                                 uint64_t offsetInBits, llvm::DIFile *tunit,
  298                                 llvm::DIFile *F,
  303   void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile *F,
  309   void CollectVTableInfo(const CXXRecordDecl *Decl, llvm::DIFile *F,
  331       const BlockPointerType *Ty, llvm::DIFile *Unit,
  339       const llvm::StructLayout &BlockLayout, llvm::DIFile *Unit,
  556   Optional<llvm::DIFile::ChecksumKind>
  564   llvm::DIFile *getOrCreateFile(SourceLocation Loc);
  567   llvm::DIFile *
  569              Optional<llvm::DIFile::ChecksumInfo<StringRef>> CSInfo,
  573   llvm::DIType *getOrCreateType(QualType Ty, llvm::DIFile *Fg);
  587                                                 llvm::DIFile *F);
  590   llvm::DIType *CreateTypeNode(QualType Ty, llvm::DIFile *Fg);
  593   llvm::DIType *CreateMemberType(llvm::DIFile *Unit, QualType FType,
  635   CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile *Unit,
  683   void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
  690   void collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit,
unittests/CodeGen/MachineInstrTest.cpp
  324   DIFile *DIF = DIFile::getDistinct(Ctx, "filename", "");
  324   DIFile *DIF = DIFile::getDistinct(Ctx, "filename", "");
unittests/IR/MetadataTest.cpp
   90   DIFile *getFile() {
   91     return DIFile::getDistinct(Context, "file.c", "/path/to/dir");
  928     auto *F = getFile();
 1166   DIFile *File = getFile();
 1290   DIFile *File = getFile();
 1362   DIFile *File = getFile();
 1383   DIFile *File = getFile();
 1503   DIFile *File = getFile();
 1529   DIFile *File = getFile();
 1574   DIFile *File = getFile();
 1661   DIFile::ChecksumKind CSKind = DIFile::ChecksumKind::CSK_MD5;
 1661   DIFile::ChecksumKind CSKind = DIFile::ChecksumKind::CSK_MD5;
 1663   DIFile::ChecksumInfo<StringRef> Checksum(CSKind, ChecksumString);
 1665   auto *N = DIFile::get(Context, Filename, Directory, Checksum, Source);
 1665   auto *N = DIFile::get(Context, Filename, Directory, Checksum, Source);
 1676   DIFile::ChecksumInfo<StringRef> OtherChecksum(DIFile::ChecksumKind::CSK_SHA1, ChecksumString);
 1676   DIFile::ChecksumInfo<StringRef> OtherChecksum(DIFile::ChecksumKind::CSK_SHA1, ChecksumString);
 1690   DIScope *N = DIFile::get(Context, "file", "dir");
 1698   DIFile *File = getFile();
 1758   DIFile *File = getFile();
 1796   DIFile *File = getFile();
 1949   DIFile *File = getFile();
 1974   DIFile *F = getFile();
 2002   DIFile *File = getFile();
 2135   DIFile *File = getFile();
 2222   DIFile *File = getFile();
 2257   DIFile *File = getFile();
 2401   DIFile *File = getFile();
 2448   DIFile *File = getFile();
unittests/IR/VerifierTest.cpp
  161     auto *File = DIB.createFile("not-a-CU.f", ".");
unittests/Transforms/Utils/CloningTest.cpp
  471     auto *File = DBuilder.createFile("filename.c", "/file/dir/");
  743     auto *File = DBuilder.createFile("filename.c", "/file/dir/");
usr/include/c++/7.4.0/bits/unique_ptr.h
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {
utils/unittest/googletest/include/gtest/gtest.h
 1475       T* rhs) {