• Home
  • Raw
  • Download

Lines Matching refs:FID

190 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset,  in AddLineNote()  argument
192 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
221 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, in AddLineNote() argument
227 std::vector<LineEntry> &Entries = LineEntries[FID]; in AddLineNote()
244 FindNearestLineEntry(FID, Entries.back().IncludeOffset)) in AddLineNote()
255 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, in FindNearestLineEntry() argument
257 const std::vector<LineEntry> &Entries = LineEntries[FID]; in FindNearestLineEntry()
274 void LineTableInfo::AddEntry(FileID FID, in AddEntry() argument
276 LineEntries[FID] = Entries; in AddEntry()
517 FileID SourceManager::getPreviousFileID(FileID FID) const { in getPreviousFileID()
518 if (FID.isInvalid()) in getPreviousFileID()
521 int ID = FID.ID; in getPreviousFileID()
537 FileID SourceManager::getNextFileID(FileID FID) const { in getNextFileID()
538 if (FID.isInvalid()) in getNextFileID()
541 int ID = FID.ID; in getNextFileID()
586 FileID FID = FileID::get(LocalSLocEntryTable.size()-1); in createFileID() local
587 return LastFileIDLookup = FID; in createFileID()
682 StringRef SourceManager::getBufferData(FileID FID, bool *Invalid) const { in getBufferData() argument
684 const SLocEntry &SLoc = getSLocEntry(FID, &MyInvalid); in getBufferData()
930 FileID FID; in getDecomposedExpansionLocSlowCase() local
936 FID = getFileID(Loc); in getDecomposedExpansionLocSlowCase()
937 E = &getSLocEntry(FID); in getDecomposedExpansionLocSlowCase()
941 return std::make_pair(FID, Offset); in getDecomposedExpansionLocSlowCase()
948 FileID FID; in getDecomposedSpellingLocSlowCase() local
954 FID = getFileID(Loc); in getDecomposedSpellingLocSlowCase()
955 E = &getSLocEntry(FID); in getDecomposedSpellingLocSlowCase()
959 return std::make_pair(FID, Offset); in getDecomposedSpellingLocSlowCase()
1005 FileID FID = getFileID(Loc); in isMacroArgExpansion() local
1006 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion()
1017 FileID FID = getFileID(Loc); in isMacroBodyExpansion() local
1018 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion()
1061 FileID FID = getFileID(Loc); in isAtEndOfImmediateMacroExpansion() local
1063 if (isInFileID(NextLoc, FID)) in isAtEndOfImmediateMacroExpansion()
1068 getSLocEntry(FID, &Invalid).getExpansion(); in isAtEndOfImmediateMacroExpansion()
1076 FileID NextFID = getNextFileID(FID); in isAtEndOfImmediateMacroExpansion()
1125 unsigned SourceManager::getColumnNumber(FileID FID, unsigned FilePos, in getColumnNumber() argument
1128 llvm::MemoryBuffer *MemBuf = getBuffer(FID, &MyInvalid); in getColumnNumber()
1144 if (LastLineNoFileIDQuery == FID && in getColumnNumber()
1283 unsigned SourceManager::getLineNumber(FileID FID, unsigned FilePos, in getLineNumber() argument
1285 if (FID.isInvalid()) { in getLineNumber()
1292 if (LastLineNoFileIDQuery == FID) in getLineNumber()
1296 const SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); in getLineNumber()
1339 if (LastLineNoFileIDQuery == FID) { in getLineNumber()
1370 LastLineNoFileIDQuery = FID; in getLineNumber()
1544 unsigned SourceManager::getFileIDSize(FileID FID) const { in getFileIDSize()
1546 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getFileIDSize()
1550 int ID = FID.ID; in getFileIDSize()
1715 SourceLocation SourceManager::translateLineCol(FileID FID, in translateLineCol() argument
1722 if (FID.isInvalid()) in translateLineCol()
1726 const SLocEntry &Entry = getSLocEntry(FID, &Invalid); in translateLineCol()
1782 FileID FID) const { in computeMacroArgsCache()
1783 assert(FID.isValid()); in computeMacroArgsCache()
1791 int ID = FID.ID; in computeMacroArgsCache()
1810 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
1823 if (!isInFileID(ExpInfo.getExpansionLocStart(), FID)) in computeMacroArgsCache()
1830 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in computeMacroArgsCache()
1839 FileID FID, in associateFileChunkWithMacroArgExp() argument
1867 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in associateFileChunkWithMacroArgExp()
1888 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1931 FileID FID; in getMacroArgExpandedLocation() local
1933 std::tie(FID, Offset) = getDecomposedLoc(Loc); in getMacroArgExpandedLocation()
1934 if (FID.isInvalid()) in getMacroArgExpandedLocation()
1937 MacroArgsMap *&MacroArgsCache = MacroArgsCacheMap[FID]; in getMacroArgExpandedLocation()
1939 computeMacroArgsCache(MacroArgsCache, FID); in getMacroArgExpandedLocation()
1954 SourceManager::getDecomposedIncludedLoc(FileID FID) const { in getDecomposedIncludedLoc()
1955 if (FID.isInvalid()) in getDecomposedIncludedLoc()
1963 InsertOp = IncludedLocMap.insert(std::make_pair(FID, DecompTy())); in getDecomposedIncludedLoc()
1970 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getDecomposedIncludedLoc()