Searched refs:SLocOffset (Results 1 – 4 of 4) sorted by relevance
559 virtual int getSLocEntryID(SourceLocation::UIntTy SLocOffset) = 0;1906 FileID getFileID(SourceLocation::UIntTy SLocOffset) const { in getFileID() argument1908 if (SLocOffset >= LastLookupStartOffset && SLocOffset < LastLookupEndOffset) in getFileID()1910 return getFileIDSlow(SLocOffset); in getFileID()1913 bool isLocalOffset(SourceLocation::UIntTy SLocOffset) const { in isLocalOffset() argument1914 return SLocOffset < CurrentLoadedOffset; in isLocalOffset()1917 bool isLoadedOffset(SourceLocation::UIntTy SLocOffset) const { in isLoadedOffset() argument1918 return SLocOffset >= CurrentLoadedOffset; in isLoadedOffset()1931 SourceLocation::UIntTy SLocOffset) const { in isOffsetInFileID() argument1934 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()[all …]
796 FileID SourceManager::getFileIDSlow(SourceLocation::UIntTy SLocOffset) const { in getFileIDSlow()797 if (!SLocOffset) in getFileIDSlow()802 if (SLocOffset < NextLocalOffset) in getFileIDSlow()803 return getFileIDLocal(SLocOffset); in getFileIDSlow()804 return getFileIDLoaded(SLocOffset); in getFileIDSlow()811 FileID SourceManager::getFileIDLocal(SourceLocation::UIntTy SLocOffset) const { in getFileIDLocal()812 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()813 assert(SLocOffset >= LocalSLocEntryTable[0].getOffset() && SLocOffset > 0 && in getFileIDLocal()837 if (LastLookupStartOffset < SLocOffset) in getFileIDLocal()847 if (LocalLocOffsetTable[GreaterIndex] <= SLocOffset) { in getFileIDLocal()[all …]
2369 int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override;
1717 int ASTReader::getSLocEntryID(SourceLocation::UIntTy SLocOffset) { in getSLocEntryID() argument1719 GlobalSLocOffsetMap.find(SourceManager::MaxLoadedOffset - SLocOffset - 1); in getSLocEntryID()1727 llvm::index_range(0, F->LocalNumSLocEntries), SLocOffset, in getSLocEntryID()