Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp127 int CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() local
128 assert(CurBuf != -1 && "Invalid or unspecified location!"); in PrintIncludeStack()
130 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
133 << getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in PrintIncludeStack()
134 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
148 int CurBuf = FindBufferContainingLoc(Loc); in GetMessage() local
149 assert(CurBuf != -1 && "Invalid or unspecified location!"); in GetMessage()
151 MemoryBuffer *CurMB = getBufferInfo(CurBuf).Buffer; in GetMessage()
176 CurMB->getBufferIdentifier(), FindLineNumber(Loc, CurBuf), in GetMessage()
191 int CurBuf = FindBufferContainingLoc(Loc); in PrintMessage() local
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGLexer.cpp30 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in TGLexer()
31 CurPtr = CurBuf->getBufferStart(); in TGLexer()
54 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()
62 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in getNextChar()
148 if (*CurPtr == 0 && CurPtr == CurBuf->getBufferEnd()) in LexString()
181 if (CurPtr == CurBuf->getBufferEnd()) in LexString()
272 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); in LexInclude()
273 CurPtr = CurBuf->getBufferStart(); in LexInclude()
286 if (CurPtr == CurBuf->getBufferEnd()) in SkipBCPLComment()
DTGLexer.h64 const MemoryBuffer *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/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/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmLexer.cpp25 CurBuf = NULL; in AsmLexer()
34 CurBuf = buf; in setBuffer()
39 CurPtr = CurBuf->getBufferStart(); in setBuffer()
60 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()
332 (*CurPtr != 0 || CurPtr != CurBuf->getBufferEnd())) { in LexUntilEndOfStatement()
343 (*CurPtr != 0 || CurPtr != CurBuf->getBufferEnd())) { in LexUntilEndOfLine()
DDarwinAsmParser.cpp484 int CurBuf = getSourceManager().FindBufferContainingLoc(IDLoc); in ParseDirectiveSecureLogUnique() local
485 *OS << getSourceManager().getBufferInfo(CurBuf).Buffer->getBufferIdentifier() in ParseDirectiveSecureLogUnique()
486 << ":" << 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/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DAsmLexer.h34 const MemoryBuffer *CurBuf; variable
/external/llvm/include/llvm/MC/MCParser/
DAsmLexer.h31 StringRef CurBuf; variable
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLLexer.h31 MemoryBuffer *CurBuf; variable
DLLLexer.cpp190 : CurBuf(StartBuf), ErrorInfo(Err), SM(sm), Context(C), APFloatVal(0.0) { in LLLexer()
191 CurPtr = CurBuf->getBufferStart(); in LLLexer()
195 return CurBuf->getBufferIdentifier(); in getFilename()
205 if (CurPtr-1 != CurBuf->getBufferEnd()) in getNextChar()
/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()