Searched refs:ModuleFileIndex (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | SourceLocationEncoding.h | 188 unsigned ModuleFileIndex = Encoded >> 32; in decode() local 190 if (!ModuleFileIndex) in decode() 193 ModuleFileIndex}; in decode() 198 return {Loc, ModuleFileIndex}; in decode()
|
H A D | ASTBitCodes.h | 100 uint32_t ModuleFileIndex = 0; variable 107 : ModuleFileIndex(ModuleFileIdx), Idx(Idx) {} in TypeIdx() 109 uint32_t getModuleFileIndex() const { return ModuleFileIndex; } in getModuleFileIndex() 111 uint64_t getValue() const { return ((uint64_t)ModuleFileIndex << 32) | Idx; } in getValue() 118 return ((uint64_t)ModuleFileIndex << 32) | Index; in asTypeID()
|
H A D | ASTReader.h | 2251 auto [Loc, ModuleFileIndex] = ReadUntranslatedSourceLocation(Raw, Seq); 2253 ModuleFileIndex == 0 ? &MF : MF.TransitiveImports[ModuleFileIndex - 1];
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclID.h | 201 unsigned ModuleFileIndex, unsigned LocalDeclID); 222 explicit GlobalDeclID(unsigned ModuleFileIndex, unsigned LocalID) in GlobalDeclID() argument 223 : Base((DeclID)ModuleFileIndex << 32 | (DeclID)LocalID) {} in GlobalDeclID()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 917 unsigned ModuleFileIndex = ID.getModuleFileIndex(); in get() local 920 assert(ModuleFileIndex <= MF.TransitiveImports.size()); in get() 923 ModuleFileIndex == 0 ? &MF : MF.TransitiveImports[ModuleFileIndex - 1]; in get() 928 if (!ModuleFileIndex) in get() 939 unsigned ModuleFileIndex, unsigned LocalDeclID) { in get() argument 940 DeclID Value = (DeclID)ModuleFileIndex << 32 | (DeclID)LocalDeclID; in get() 7157 unsigned ModuleFileIndex = getModuleFileIndexForTypeID(ID); in translateTypeIDToIndex() local 7158 assert(ModuleFileIndex && "Untranslated Local Decl?"); in translateTypeIDToIndex() 7160 ModuleFile *OwningModuleFile = &getModuleManager()[ModuleFileIndex - 1]; in translateTypeIDToIndex() 7478 unsigned ModuleFileIndex = getModuleFileIndexForTypeID(LocalID); in getGlobalTypeID() local [all …]
|
H A D | ASTWriter.cpp | 5996 unsigned ModuleFileIndex = 0; in getRawSourceLocationEncoding() local 6010 ModuleFileIndex = F->Index + 1; in getRawSourceLocationEncoding() 6014 return SourceLocationEncoding::encode(Loc, BaseOffset, ModuleFileIndex, Seq); in getRawSourceLocationEncoding() 6750 unsigned ModuleFileIndex = StoredIdx.getModuleFileIndex(); in TypeRead() local 6751 if (ModuleFileIndex == 0 && StoredIdx.getValue()) in TypeRead()
|