Lines Matching refs:Cursor
30 class Cursor { class
35 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} in Cursor() function in __anondf24bfd00111::Cursor
37 explicit Cursor(StringRef Str) { in Cursor() function in __anondf24bfd00111::Cursor
50 StringRef upto(Cursor C) const { in upto()
85 static Cursor skipWhitespace(Cursor C) { in skipWhitespace()
94 static Cursor skipComment(Cursor C) { in skipComment()
114 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString()
140 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant()
154 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName()
159 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName()
176 static Cursor maybeLexIntegerType(Cursor C, MIToken &Token) { in maybeLexIntegerType()
233 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier()
245 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token, in maybeLexMachineBasicBlock()
277 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndex()
290 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule, in maybeLexIndexAndName()
313 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) { in maybeLexJumpTableIndex()
317 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) { in maybeLexStackObject()
321 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) { in maybeLexFixedStackObject()
325 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) { in maybeLexConstantPoolItem()
329 static Cursor maybeLexSubRegisterIndex(Cursor C, MIToken &Token, in maybeLexSubRegisterIndex()
338 static Cursor maybeLexIRBlock(Cursor C, MIToken &Token, in maybeLexIRBlock()
348 static Cursor maybeLexIRValue(Cursor C, MIToken &Token, in maybeLexIRValue()
358 static Cursor lexVirtualRegister(Cursor C, MIToken &Token) { in lexVirtualRegister()
369 static Cursor maybeLexRegister(Cursor C, MIToken &Token) { in maybeLexRegister()
383 static Cursor maybeLexGlobalValue(Cursor C, MIToken &Token, in maybeLexGlobalValue()
400 static Cursor maybeLexExternalSymbol(Cursor C, MIToken &Token, in maybeLexExternalSymbol()
412 static Cursor maybeLexHexFloatingPointLiteral(Cursor C, MIToken &Token) { in maybeLexHexFloatingPointLiteral()
415 Cursor Range = C; in maybeLexHexFloatingPointLiteral()
425 static Cursor lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) { in lexFloatingPointLiteral()
441 static Cursor maybeLexNumericalLiteral(Cursor C, MIToken &Token) { in maybeLexNumericalLiteral()
464 static Cursor maybeLexExlaim(Cursor C, MIToken &Token, in maybeLexExlaim()
513 static Cursor maybeLexSymbol(Cursor C, MIToken &Token) { in maybeLexSymbol()
529 static Cursor maybeLexNewline(Cursor C, MIToken &Token) { in maybeLexNewline()
538 static Cursor maybeLexEscapedIRValue(Cursor C, MIToken &Token, in maybeLexEscapedIRValue()
563 auto C = skipComment(skipWhitespace(Cursor(Source))); in lexMIToken()
569 if (Cursor R = maybeLexIntegerType(C, Token)) in lexMIToken()
571 if (Cursor R = maybeLexMachineBasicBlock(C, Token, ErrorCallback)) in lexMIToken()
573 if (Cursor R = maybeLexIdentifier(C, Token)) in lexMIToken()
575 if (Cursor R = maybeLexJumpTableIndex(C, Token)) in lexMIToken()
577 if (Cursor R = maybeLexStackObject(C, Token)) in lexMIToken()
579 if (Cursor R = maybeLexFixedStackObject(C, Token)) in lexMIToken()
581 if (Cursor R = maybeLexConstantPoolItem(C, Token)) in lexMIToken()
583 if (Cursor R = maybeLexSubRegisterIndex(C, Token, ErrorCallback)) in lexMIToken()
585 if (Cursor R = maybeLexIRBlock(C, Token, ErrorCallback)) in lexMIToken()
587 if (Cursor R = maybeLexIRValue(C, Token, ErrorCallback)) in lexMIToken()
589 if (Cursor R = maybeLexRegister(C, Token)) in lexMIToken()
591 if (Cursor R = maybeLexGlobalValue(C, Token, ErrorCallback)) in lexMIToken()
593 if (Cursor R = maybeLexExternalSymbol(C, Token, ErrorCallback)) in lexMIToken()
595 if (Cursor R = maybeLexHexFloatingPointLiteral(C, Token)) in lexMIToken()
597 if (Cursor R = maybeLexNumericalLiteral(C, Token)) in lexMIToken()
599 if (Cursor R = maybeLexExlaim(C, Token, ErrorCallback)) in lexMIToken()
601 if (Cursor R = maybeLexSymbol(C, Token)) in lexMIToken()
603 if (Cursor R = maybeLexNewline(C, Token)) in lexMIToken()
605 if (Cursor R = maybeLexEscapedIRValue(C, Token, ErrorCallback)) in lexMIToken()