Lines Matching refs:LocalID
1504 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const { in getGlobalPreprocessedEntityID()
1506 I = M.PreprocessedEntityRemap.find(LocalID - NUM_PREDEF_PP_ENTITY_IDS); in getGlobalPreprocessedEntityID()
1510 return LocalID + I->second; in getGlobalPreprocessedEntityID()
6059 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType() argument
6060 return GetType(getGlobalTypeID(F, LocalID)); in getLocalType()
6064 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
6065 unsigned FastQuals = LocalID & Qualifiers::FastMask; in getGlobalTypeID()
6066 unsigned LocalIndex = LocalID >> Qualifiers::FastWidth; in getGlobalTypeID()
6069 return LocalID; in getGlobalTypeID()
6203 unsigned LocalID = Record[Idx++]; in ReadCXXCtorInitializersRef() local
6204 return getGlobalBitOffset(M, M.CXXCtorInitializersOffsets[LocalID - 1]); in ReadCXXCtorInitializersRef()
6235 unsigned LocalID = Record[Idx++]; in readCXXBaseSpecifiers() local
6236 return getGlobalBitOffset(M, M.CXXBaseSpecifiersOffsets[LocalID - 1]); in readCXXBaseSpecifiers()
6263 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
6264 if (LocalID < NUM_PREDEF_DECL_IDS) in getGlobalDeclID()
6265 return LocalID; in getGlobalDeclID()
6268 = F.DeclRemap.find(LocalID - NUM_PREDEF_DECL_IDS); in getGlobalDeclID()
6271 return LocalID + I->second; in getGlobalDeclID()
7563 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier() argument
7564 return DecodeIdentifierInfo(getGlobalIdentifierID(M, LocalID)); in getLocalIdentifier()
7567 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID() argument
7568 if (LocalID < NUM_PREDEF_IDENT_IDS) in getGlobalIdentifierID()
7569 return LocalID; in getGlobalIdentifierID()
7572 = M.IdentifierRemap.find(LocalID - NUM_PREDEF_IDENT_IDS); in getGlobalIdentifierID()
7576 return LocalID + I->second; in getGlobalIdentifierID()
7605 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID() argument
7606 if (LocalID < NUM_PREDEF_MACRO_IDS) in getGlobalMacroID()
7607 return LocalID; in getGlobalMacroID()
7610 = M.MacroRemap.find(LocalID - NUM_PREDEF_MACRO_IDS); in getGlobalMacroID()
7613 return LocalID + I->second; in getGlobalMacroID()
7617 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID() argument
7618 if (LocalID < NUM_PREDEF_SUBMODULE_IDS) in getGlobalSubmoduleID()
7619 return LocalID; in getGlobalSubmoduleID()
7622 = M.SubmoduleRemap.find(LocalID - NUM_PREDEF_SUBMODULE_IDS); in getGlobalSubmoduleID()
7626 return LocalID + I->second; in getGlobalSubmoduleID()
7647 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector() argument
7648 return DecodeSelector(getGlobalSelectorID(M, LocalID)); in getLocalSelector()
7686 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
7687 if (LocalID < NUM_PREDEF_SELECTOR_IDS) in getGlobalSelectorID()
7688 return LocalID; in getGlobalSelectorID()
7691 = M.SelectorRemap.find(LocalID - NUM_PREDEF_SELECTOR_IDS); in getGlobalSelectorID()
7695 return LocalID + I->second; in getGlobalSelectorID()