Lines Matching refs:LocalID

2007                                          unsigned LocalID) const {  in getGlobalPreprocessedEntityID()
2012 I = M.PreprocessedEntityRemap.find(LocalID - NUM_PREDEF_PP_ENTITY_IDS); in getGlobalPreprocessedEntityID()
2016 return LocalID + I->second; in getGlobalPreprocessedEntityID()
7466 QualType ASTReader::getLocalType(ModuleFile &F, LocalTypeID LocalID) { in getLocalType() argument
7467 return GetType(getGlobalTypeID(F, LocalID)); in getLocalType()
7471 LocalTypeID LocalID) const { in getGlobalTypeID()
7472 if (isPredefinedType(LocalID)) in getGlobalTypeID()
7473 return LocalID; in getGlobalTypeID()
7478 unsigned ModuleFileIndex = getModuleFileIndexForTypeID(LocalID); in getGlobalTypeID()
7479 LocalID &= llvm::maskTrailingOnes<TypeID>(32); in getGlobalTypeID()
7482 LocalID -= NUM_PREDEF_TYPE_IDS << Qualifiers::FastWidth; in getGlobalTypeID()
7487 return ((uint64_t)ModuleFileIndex << 32) | LocalID; in getGlobalTypeID()
7683 LocalDeclID LocalID) const { in getGlobalDeclID()
7684 if (LocalID < NUM_PREDEF_DECL_IDS) in getGlobalDeclID()
7685 return GlobalDeclID(LocalID.getRawValue()); in getGlobalDeclID()
7687 unsigned OwningModuleFileIndex = LocalID.getModuleFileIndex(); in getGlobalDeclID()
7688 DeclID ID = LocalID.getLocalDeclIndex(); in getGlobalDeclID()
8943 unsigned LocalID = ID & llvm::maskTrailingOnes<IdentifierID>(32); in translateIdentifierIDToIndex() local
8949 assert(LocalID < MF.LocalNumIdentifiers); in translateIdentifierIDToIndex()
8950 return {&MF, MF.BaseIdentifierID + LocalID}; in translateIdentifierIDToIndex()
8983 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, uint64_t LocalID) { in getLocalIdentifier() argument
8984 return DecodeIdentifierInfo(getGlobalIdentifierID(M, LocalID)); in getLocalIdentifier()
8987 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, uint64_t LocalID) { in getGlobalIdentifierID() argument
8988 if (LocalID < NUM_PREDEF_IDENT_IDS) in getGlobalIdentifierID()
8989 return LocalID; in getGlobalIdentifierID()
8994 unsigned ModuleFileIndex = LocalID >> 32; in getGlobalIdentifierID()
8995 LocalID &= llvm::maskTrailingOnes<IdentifierID>(32); in getGlobalIdentifierID()
9001 LocalID -= NUM_PREDEF_IDENT_IDS; in getGlobalIdentifierID()
9003 return ((IdentifierID)(MF->Index + 1) << 32) | LocalID; in getGlobalIdentifierID()
9033 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID() argument
9034 if (LocalID < NUM_PREDEF_MACRO_IDS) in getGlobalMacroID()
9035 return LocalID; in getGlobalMacroID()
9041 = M.MacroRemap.find(LocalID - NUM_PREDEF_MACRO_IDS); in getGlobalMacroID()
9044 return LocalID + I->second; in getGlobalMacroID()
9048 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) const { in getGlobalSubmoduleID()
9049 if (LocalID < NUM_PREDEF_SUBMODULE_IDS) in getGlobalSubmoduleID()
9050 return LocalID; in getGlobalSubmoduleID()
9056 = M.SubmoduleRemap.find(LocalID - NUM_PREDEF_SUBMODULE_IDS); in getGlobalSubmoduleID()
9060 return LocalID + I->second; in getGlobalSubmoduleID()
9136 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector() argument
9137 return DecodeSelector(getGlobalSelectorID(M, LocalID)); in getLocalSelector()
9175 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
9176 if (LocalID < NUM_PREDEF_SELECTOR_IDS) in getGlobalSelectorID()
9177 return LocalID; in getGlobalSelectorID()
9183 = M.SelectorRemap.find(LocalID - NUM_PREDEF_SELECTOR_IDS); in getGlobalSelectorID()
9187 return LocalID + I->second; in getGlobalSelectorID()