Lines Matching refs:upto

46   StringRef upto(Cursor C) const {  in upto()  function in __anondf24bfd00111::Cursor
159 StringRef String = Range.upto(R); in lexName()
170 Token.reset(Type, Range.upto(C)) in lexName()
171 .setStringValue(Range.upto(C).drop_front(PrefixLength)); in lexName()
182 Token.reset(MIToken::IntegerType, Range.upto(C)); in maybeLexIntegerType()
238 auto Identifier = Range.upto(C); in maybeLexIdentifier()
261 StringRef Number = NumberRange.upto(C); in maybeLexMachineBasicBlock()
271 Range.upto(C)) in maybeLexMachineBasicBlock()
273 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock()
286 Token.reset(Kind, Range.upto(C)).setIntegerValue(APSInt(NumberRange.upto(C))); in maybeLexIndex()
299 StringRef Number = NumberRange.upto(C); in maybeLexIndexAndName()
307 Token.reset(Kind, Range.upto(C)) in maybeLexIndexAndName()
309 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
357 Token.reset(MIToken::VirtualRegister, Range.upto(C)) in lexVirtualRegister()
358 .setIntegerValue(APSInt(NumberRange.upto(C))); in lexVirtualRegister()
371 Token.reset(MIToken::NamedRegister, Range.upto(C)) in maybeLexRegister()
372 .setStringValue(Range.upto(C).drop_front(1)); // Drop the '%' in maybeLexRegister()
389 Token.reset(MIToken::GlobalValue, Range.upto(C)) in maybeLexGlobalValue()
390 .setIntegerValue(APSInt(NumberRange.upto(C))); in maybeLexGlobalValue()
416 Token.reset(MIToken::FloatingPointLiteral, Range.upto(C)); in maybeLexHexFloatingPointLiteral()
432 Token.reset(MIToken::FloatingPointLiteral, Range.upto(C)); in lexFloatingPointLiteral()
445 StringRef StrVal = Range.upto(C); in maybeLexNumericalLiteral()
467 Token.reset(MIToken::exclaim, Range.upto(C)); in maybeLexExlaim()
472 StringRef StrVal = Range.upto(C); in maybeLexExlaim()
517 Token.reset(Kind, Range.upto(C)); in maybeLexSymbol()
526 Token.reset(MIToken::Newline, Range.upto(C)); in maybeLexNewline()
548 StringRef Value = StrRange.upto(C); in maybeLexEscapedIRValue()
550 Token.reset(MIToken::QuotedIRValue, Range.upto(C)).setStringValue(Value); in maybeLexEscapedIRValue()