Home | History | Annotate | Download | only in Serialization

Lines Matching refs:LocalID

972     uint32_t LocalID = endian::readNext<uint32_t, little, unaligned>(d);
973 Val.insert(Reader.getGlobalDeclID(F, LocalID));
1501 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const {
1503 I = M.PreprocessedEntityRemap.find(LocalID - NUM_PREDEF_PP_ENTITY_IDS);
1507 return LocalID + I->second;
6123 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) {
6124 return GetType(getGlobalTypeID(F, LocalID));
6128 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const {
6129 unsigned FastQuals = LocalID & Qualifiers::FastMask;
6130 unsigned LocalIndex = LocalID >> Qualifiers::FastWidth;
6133 return LocalID;
6275 unsigned LocalID = Record[Idx++];
6276 return getGlobalBitOffset(M, M.CXXCtorInitializersOffsets[LocalID - 1]);
6307 unsigned LocalID = Record[Idx++];
6308 return getGlobalBitOffset(M, M.CXXBaseSpecifiersOffsets[LocalID - 1]);
6335 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const {
6336 if (LocalID < NUM_PREDEF_DECL_IDS)
6337 return LocalID;
6340 = F.DeclRemap.find(LocalID - NUM_PREDEF_DECL_IDS);
6343 return LocalID + I->second;
7440 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) {
7441 return DecodeIdentifierInfo(getGlobalIdentifierID(M, LocalID));
7444 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) {
7445 if (LocalID < NUM_PREDEF_IDENT_IDS)
7446 return LocalID;
7449 = M.IdentifierRemap.find(LocalID - NUM_PREDEF_IDENT_IDS);
7453 return LocalID + I->second;
7482 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) {
7483 if (LocalID < NUM_PREDEF_MACRO_IDS)
7484 return LocalID;
7487 = M.MacroRemap.find(LocalID - NUM_PREDEF_MACRO_IDS);
7490 return LocalID + I->second;
7494 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) {
7495 if (LocalID < NUM_PREDEF_SUBMODULE_IDS)
7496 return LocalID;
7499 = M.SubmoduleRemap.find(LocalID - NUM_PREDEF_SUBMODULE_IDS);
7503 return LocalID + I->second;
7569 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) {
7570 return DecodeSelector(getGlobalSelectorID(M, LocalID));
7608 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const {
7609 if (LocalID < NUM_PREDEF_SELECTOR_IDS)
7610 return LocalID;
7613 = M.SelectorRemap.find(LocalID - NUM_PREDEF_SELECTOR_IDS);
7617 return LocalID + I->second;