Searched refs:SLocOffset (Results 1 – 3 of 3) sorted by relevance
1826 FileID getFileID(SourceLocation::UIntTy SLocOffset) const { in getFileID() argument1828 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()1831 return getFileIDSlow(SLocOffset); in getFileID()1834 bool isLocalOffset(SourceLocation::UIntTy SLocOffset) const { in isLocalOffset() argument1835 return SLocOffset < CurrentLoadedOffset; in isLocalOffset()1838 bool isLoadedOffset(SourceLocation::UIntTy SLocOffset) const { in isLoadedOffset() argument1839 return SLocOffset >= CurrentLoadedOffset; in isLoadedOffset()1852 SourceLocation::UIntTy SLocOffset) const { in isOffsetInFileID() argument1855 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()1863 return SLocOffset < NextLocalOffset; in isOffsetInFileID()[all …]
771 FileID SourceManager::getFileIDSlow(SourceLocation::UIntTy SLocOffset) const { in getFileIDSlow()772 if (!SLocOffset) in getFileIDSlow()777 if (SLocOffset < NextLocalOffset) in getFileIDSlow()778 return getFileIDLocal(SLocOffset); in getFileIDSlow()779 return getFileIDLoaded(SLocOffset); in getFileIDSlow()786 FileID SourceManager::getFileIDLocal(SourceLocation::UIntTy SLocOffset) const { in getFileIDLocal()787 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()809 if (LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) in getFileIDLocal()820 if (LocalSLocEntryTable[GreaterIndex].getOffset() <= SLocOffset) { in getFileIDLocal()841 if (MidOffset > SLocOffset) { in getFileIDLocal()[all …]
3902 SourceLocation::UIntTy SLocOffset = in ReadModuleOffsetMap() local3929 if (SLocOffset != SLocNone) in ReadModuleOffsetMap()3931 SLocOffset, static_cast<SourceLocation::IntTy>( in ReadModuleOffsetMap()3932 OM->SLocEntryBaseOffset - SLocOffset))); in ReadModuleOffsetMap()