Lines Matching refs:Cursor
26 class Cursor { class
31 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} in Cursor() function in __anondf24bfd00111::Cursor
33 explicit Cursor(StringRef Str) { in Cursor() function in __anondf24bfd00111::Cursor
46 StringRef upto(Cursor C) const { in upto()
81 static Cursor skipWhitespace(Cursor C) { in skipWhitespace()
90 static Cursor skipComment(Cursor C) { in skipComment()
110 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString()
136 static Cursor lexStringConstant( in lexStringConstant()
137 Cursor C, in lexStringConstant()
152 static Cursor lexName( in lexName()
153 Cursor C, MIToken &Token, MIToken::TokenKind Type, unsigned PrefixLength, in lexName()
158 if (Cursor R = lexStringConstant(C, ErrorCallback)) { in lexName()
175 static Cursor maybeLexIntegerType(Cursor C, MIToken &Token) { in maybeLexIntegerType()
232 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) { in maybeLexIdentifier()
244 static Cursor maybeLexMachineBasicBlock( in maybeLexMachineBasicBlock()
245 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 maybeLexIRBlock( in maybeLexIRBlock()
330 Cursor C, MIToken &Token, in maybeLexIRBlock()
340 static Cursor maybeLexIRValue( in maybeLexIRValue()
341 Cursor C, MIToken &Token, in maybeLexIRValue()
351 static Cursor lexVirtualRegister(Cursor C, MIToken &Token) { in lexVirtualRegister()
362 static Cursor maybeLexRegister(Cursor C, MIToken &Token) { in maybeLexRegister()
376 static Cursor maybeLexGlobalValue( in maybeLexGlobalValue()
377 Cursor C, MIToken &Token, in maybeLexGlobalValue()
394 static Cursor maybeLexExternalSymbol( in maybeLexExternalSymbol()
395 Cursor C, MIToken &Token, in maybeLexExternalSymbol()
407 static Cursor maybeLexHexFloatingPointLiteral(Cursor C, MIToken &Token) { in maybeLexHexFloatingPointLiteral()
410 Cursor Range = C; in maybeLexHexFloatingPointLiteral()
420 static Cursor lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) { in lexFloatingPointLiteral()
436 static Cursor maybeLexNumericalLiteral(Cursor C, MIToken &Token) { in maybeLexNumericalLiteral()
459 static Cursor maybeLexExlaim( in maybeLexExlaim()
460 Cursor C, MIToken &Token, in maybeLexExlaim()
505 static Cursor maybeLexSymbol(Cursor C, MIToken &Token) { in maybeLexSymbol()
521 static Cursor maybeLexNewline(Cursor C, MIToken &Token) { in maybeLexNewline()
530 static Cursor maybeLexEscapedIRValue( in maybeLexEscapedIRValue()
531 Cursor C, MIToken &Token, in maybeLexEscapedIRValue()
557 auto C = skipComment(skipWhitespace(Cursor(Source))); in lexMIToken()
563 if (Cursor R = maybeLexIntegerType(C, Token)) in lexMIToken()
565 if (Cursor R = maybeLexMachineBasicBlock(C, Token, ErrorCallback)) in lexMIToken()
567 if (Cursor R = maybeLexIdentifier(C, Token)) in lexMIToken()
569 if (Cursor R = maybeLexJumpTableIndex(C, Token)) in lexMIToken()
571 if (Cursor R = maybeLexStackObject(C, Token)) in lexMIToken()
573 if (Cursor R = maybeLexFixedStackObject(C, Token)) in lexMIToken()
575 if (Cursor R = maybeLexConstantPoolItem(C, Token)) in lexMIToken()
577 if (Cursor R = maybeLexIRBlock(C, Token, ErrorCallback)) in lexMIToken()
579 if (Cursor R = maybeLexIRValue(C, Token, ErrorCallback)) in lexMIToken()
581 if (Cursor R = maybeLexRegister(C, Token)) in lexMIToken()
583 if (Cursor R = maybeLexGlobalValue(C, Token, ErrorCallback)) in lexMIToken()
585 if (Cursor R = maybeLexExternalSymbol(C, Token, ErrorCallback)) in lexMIToken()
587 if (Cursor R = maybeLexHexFloatingPointLiteral(C, Token)) in lexMIToken()
589 if (Cursor R = maybeLexNumericalLiteral(C, Token)) in lexMIToken()
591 if (Cursor R = maybeLexExlaim(C, Token, ErrorCallback)) in lexMIToken()
593 if (Cursor R = maybeLexSymbol(C, Token)) in lexMIToken()
595 if (Cursor R = maybeLexNewline(C, Token)) in lexMIToken()
597 if (Cursor R = maybeLexEscapedIRValue(C, Token, ErrorCallback)) in lexMIToken()