Searched refs:SLocOffset (Results 1 – 6 of 6) sorted by relevance
988 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local991 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()994 return getFileIDSlow(SLocOffset); in getFileID()1619 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument1622 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()1630 return SLocOffset < NextLocalOffset; in isOffsetInFileID()1634 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()1663 FileID getFileIDSlow(unsigned SLocOffset) const;1664 FileID getFileIDLocal(unsigned SLocOffset) const;1665 FileID getFileIDLoaded(unsigned SLocOffset) const;
711 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()712 if (!SLocOffset) in getFileIDSlow()717 if (SLocOffset < NextLocalOffset) in getFileIDSlow()718 return getFileIDLocal(SLocOffset); in getFileIDSlow()719 return getFileIDLoaded(SLocOffset); in getFileIDSlow()726 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()727 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()743 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()756 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()789 if (MidOffset > SLocOffset) { in getFileIDLocal()[all …]
757 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()758 if (!SLocOffset) in getFileIDSlow()763 if (SLocOffset < NextLocalOffset) in getFileIDSlow()764 return getFileIDLocal(SLocOffset); in getFileIDSlow()765 return getFileIDLoaded(SLocOffset); in getFileIDSlow()772 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()773 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()789 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()802 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()829 if (MidOffset > SLocOffset) { in getFileIDLocal()[all …]
1093 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local1096 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()1099 return getFileIDSlow(SLocOffset); in getFileID()1794 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument1797 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()1805 return SLocOffset < NextLocalOffset; in isOffsetInFileID()1809 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()1837 FileID getFileIDSlow(unsigned SLocOffset) const;1838 FileID getFileIDLocal(unsigned SLocOffset) const;1839 FileID getFileIDLoaded(unsigned SLocOffset) const;
2882 uint32_t SLocOffset = in ReadASTBlock() local2907 mapOffset(SLocOffset, OM->SLocEntryBaseOffset, SLocRemap); in ReadASTBlock()
3846 uint32_t SLocOffset = in ReadModuleOffsetMap() local3871 mapOffset(SLocOffset, OM->SLocEntryBaseOffset, SLocRemap); in ReadModuleOffsetMap()