Searched refs:SLocOffset (Results 1 – 4 of 4) sorted by relevance
1853 FileID getFileID(SourceLocation::UIntTy SLocOffset) const { in getFileID() argument1855 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()1858 return getFileIDSlow(SLocOffset); in getFileID()1861 bool isLocalOffset(SourceLocation::UIntTy SLocOffset) const { in isLocalOffset() argument1862 return SLocOffset < CurrentLoadedOffset; in isLocalOffset()1865 bool isLoadedOffset(SourceLocation::UIntTy SLocOffset) const { in isLoadedOffset() argument1866 return SLocOffset >= CurrentLoadedOffset; in isLoadedOffset()1882 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()1890 return SLocOffset < NextLocalOffset; in isOffsetInFileID()1894 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()[all …]
769 if (!SLocOffset) in getFileIDSlow()774 if (SLocOffset < NextLocalOffset) in getFileIDSlow()775 return getFileIDLocal(SLocOffset); in getFileIDSlow()776 return getFileIDLoaded(SLocOffset); in getFileIDSlow()784 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()806 if (LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) in getFileIDLocal()817 if (LocalSLocEntryTable[GreaterIndex].getOffset() <= SLocOffset) { in getFileIDLocal()838 if (MidOffset > SLocOffset) { in getFileIDLocal()845 SLocOffset < getLocalSLocEntry(MiddleIndex + 1).getOffset()) { in getFileIDLocal()864 if (SLocOffset < CurrentLoadedOffset) { in getFileIDLoaded()[all …]
2159 int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override;
1498 int ASTReader::getSLocEntryID(SourceLocation::UIntTy SLocOffset) { in getSLocEntryID() argument1500 GlobalSLocOffsetMap.find(SourceManager::MaxLoadedOffset - SLocOffset - 1); in getSLocEntryID()1508 llvm::index_range(0, F->LocalNumSLocEntries), SLocOffset, in getSLocEntryID()4076 SourceLocation::UIntTy SLocOffset = in ReadModuleOffsetMap() local4103 if (SLocOffset != SLocNone) in ReadModuleOffsetMap()4105 SLocOffset, static_cast<SourceLocation::IntTy>( in ReadModuleOffsetMap()4106 OM->SLocEntryBaseOffset - SLocOffset))); in ReadModuleOffsetMap()