Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DTGLexer.cpp31 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
32 CurPtr = CurBuf.begin(); in TGLexer()
55 if (CurPtr-1 != CurBuf.end()) in getNextChar()
63 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in getNextChar()
190 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()
223 if (CurPtr == CurBuf.end()) in LexString()
322 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
323 CurPtr = CurBuf.begin(); in LexInclude()
336 if (CurPtr == CurBuf.end()) in SkipBCPLComment()
DTGLexer.h70 StringRef CurBuf; variable
/external/llvm/lib/Support/
DSourceMgr.cpp124 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
125 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()
127 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
130 << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
131 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
148 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
149 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()
151 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()
190 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
207 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp48 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
49 CurPtr = CurBuf.begin(); in TGLexer()
89 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF()
113 if (CurPtr-1 != CurBuf.end()) in getNextChar()
261 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()
294 if (CurPtr == CurBuf.end()) in LexString()
388 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
389 CurPtr = CurBuf.begin(); in LexInclude()
405 if (CurPtr == CurBuf.end()) in SkipBCPLComment()
858 } while (CurPtr != CurBuf.end()); in prepSkipRegion()
[all …]
DTGLexer.h78 StringRef CurBuf; variable
101 return CurCode = LexToken(CurPtr == CurBuf.begin()); in Lex()
/external/llvm-project/llvm/lib/TableGen/
DTGLexer.cpp49 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in TGLexer()
50 CurPtr = CurBuf.begin(); in TGLexer()
90 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in processEOF()
114 if (CurPtr-1 != CurBuf.end()) in getNextChar()
274 if (*CurPtr == 0 && CurPtr == CurBuf.end()) in LexString()
307 if (CurPtr == CurBuf.end()) in LexString()
409 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); in LexInclude()
410 CurPtr = CurBuf.begin(); in LexInclude()
426 if (CurPtr == CurBuf.end()) in SkipBCPLComment()
884 } while (CurPtr != CurBuf.end()); in prepSkipRegion()
[all …]
DTGLexer.h84 StringRef CurBuf; variable
107 return CurCode = LexToken(CurPtr == CurBuf.begin()); in Lex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp153 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
154 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()
156 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
159 << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
160 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
175 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
176 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()
178 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()
217 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
234 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local
[all …]
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp253 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
254 assert(CurBuf && "Invalid or unspecified location!"); in PrintIncludeStack()
256 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
258 OS << "Included from " << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
259 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
273 unsigned CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
274 assert(CurBuf && "Invalid or unspecified location!"); in GetMessage()
276 const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf); in GetMessage()
316 LineAndCol = getLineAndColumn(Loc, CurBuf); in GetMessage()
333 unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc()); in PrintMessage() local
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmLexer.cpp42 CurBuf = Buf; in setBuffer()
47 CurPtr = CurBuf.begin(); in setBuffer()
62 if (CurPtr == CurBuf.end()) in getNextChar()
68 if (CurPtr == CurBuf.end()) in peekNextChar()
192 while (CurPtr != CurBuf.end()) { in LexSlash()
223 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()
621 *CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfStatement()
630 while (*CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfLine()
758 if (CurPtr != CurBuf.end() && *CurPtr == '\n') in LexToken()
DDarwinAsmParser.cpp791 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local
792 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()
793 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp40 CurBuf = Buf; in setBuffer()
45 CurPtr = CurBuf.begin(); in setBuffer()
59 if (CurPtr == CurBuf.end()) in getNextChar()
183 while (CurPtr != CurBuf.end()) { in LexSlash()
214 if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n') in LexLineComment()
493 *CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfStatement()
502 while (*CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfLine()
621 if (CurPtr != CurBuf.end() && *CurPtr == '\n') in LexToken()
DDarwinAsmParser.cpp791 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local
792 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()
793 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp35 CurBuf = Buf; in setBuffer()
40 CurPtr = CurBuf.begin(); in setBuffer()
54 if (CurPtr == CurBuf.end()) in getNextChar()
174 while (CurPtr != CurBuf.end()) { in LexSlash()
425 *CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfStatement()
434 while (*CurPtr != '\n' && *CurPtr != '\r' && CurPtr != CurBuf.end()) { in LexUntilEndOfLine()
DDarwinAsmParser.cpp713 unsigned CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in parseDirectiveSecureLogUnique() local
714 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in parseDirectiveSecureLogUnique()
715 << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":" in parseDirectiveSecureLogUnique()
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h31 StringRef CurBuf; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DAsmLexer.h29 StringRef CurBuf; variable
/external/llvm-project/llvm/include/llvm/MC/MCParser/
DAsmLexer.h29 StringRef CurBuf; variable
/external/llvm/lib/AsmParser/
DLLLexer.h31 StringRef CurBuf; variable
DLLLexer.cpp168 : CurBuf(StartBuf), ErrorInfo(Err), SM(sm), Context(C), APFloatVal(0.0) { in LLLexer()
169 CurPtr = CurBuf.begin(); in LLLexer()
179 if (CurPtr-1 != CurBuf.end()) in getNextChar()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.h30 StringRef CurBuf; variable
DLLLexer.cpp161 : CurBuf(StartBuf), ErrorInfo(Err), SM(SM), Context(C), APFloatVal(0.0), in LLLexer()
163 CurPtr = CurBuf.begin(); in LLLexer()
173 if (CurPtr-1 != CurBuf.end()) in getNextChar()
/external/llvm-project/llvm/lib/AsmParser/
DLLLexer.h30 StringRef CurBuf; variable
DLLLexer.cpp161 : CurBuf(StartBuf), ErrorInfo(Err), SM(SM), Context(C), APFloatVal(0.0), in LLLexer()
163 CurPtr = CurBuf.begin(); in LLLexer()
173 if (CurPtr-1 != CurBuf.end()) in getNextChar()
/external/llvm-project/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp221 unsigned CurBuf = SrcMgr.FindBufferContainingLoc(L); in getIncludePath() local
222 assert(CurBuf && "Invalid or unspecified location!"); in getIncludePath()
224 Stream << SrcMgr.getBufferInfo(CurBuf).Buffer->getBufferIdentifier() << ":" in getIncludePath()
225 << SrcMgr.FindLineNumber(L, CurBuf); in getIncludePath()