Home
last modified time | relevance | path

Searched refs:CurBuf (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp49 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
50 CurPtr = CurBuf.begin(); in TGLexer()
92 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF()
117 if (CurPtr - 1 == CurBuf.end()) { in getNextChar()
278 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()
311 if (CurPtr == CurBuf.end()) in LexString()
416 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
417 CurPtr = CurBuf.begin(); in LexInclude()
428 auto EOLPos = CurBuf.find_first_of("\r\n", CurPtr - CurBuf.data()); in SkipBCPLComment()
429 CurPtr = (EOLPos == StringRef::npos) ? CurBuf.end() : CurBuf.data() + EOLPos; in SkipBCPLComment()
[all …]
H A DTGLexer.h193 StringRef CurBuf; variable
216 return CurCode = LexToken(CurPtr == CurBuf.begin()); in Lex()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp265 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
266 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()
268 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
270 OS << "Included from " << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
271 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
285 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
286 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()
288 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()
327 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
344 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp43 CurBuf = Buf; in setBuffer()
48 CurPtr = CurBuf.begin(); in setBuffer()
63 if (CurPtr == CurBuf.end()) in getNextChar()
69 if (CurPtr == CurBuf.end()) in peekNextChar()
200 while (CurPtr != CurBuf.end()) { in LexSlash()
232 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()
669 *CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfStatement()
678 while (*CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfLine()
807 if (CurPtr != CurBuf.end() && *CurPtr == '\n') in LexToken()
H A DDarwinAsmParser.cpp789 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local
790 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()
791 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h29 StringRef CurBuf; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLLexer.h30 StringRef CurBuf; variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp282 unsigned CurBuf = SrcMgr.FindBufferContainingLoc(L); in getIncludePath() local
283 assert(CurBuf && "Invalid or unspecified location!"); in getIncludePath()
285 Stream << SrcMgr.getBufferInfo(CurBuf).Buffer->getBufferIdentifier() << ":" in getIncludePath()
286 << SrcMgr.FindLineNumber(L, CurBuf); in getIncludePath()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp161 : CurBuf(StartBuf), ErrorInfo(Err), SM(SM), Context(C) { in LLLexer()
162 CurPtr = CurBuf.begin(); in LLLexer()
172 if (CurPtr-1 != CurBuf.end()) in getNextChar()