reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/MIRParser/MILexer.cpp
   55   StringRef upto(Cursor C) const {
   90 static Cursor skipWhitespace(Cursor C) {
   90 static Cursor skipWhitespace(Cursor C) {
   99 static Cursor skipComment(Cursor C) {
   99 static Cursor skipComment(Cursor C) {
  119   Cursor C = Cursor(Value.substr(1, Value.size() - 2));
  145 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) {
  145 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) {
  159 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type,
  159 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type,
  161   auto Range = C;
  164     if (Cursor R = lexStringConstant(C, ErrorCallback)) {
  259 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) {
  259 static Cursor maybeLexIdentifier(Cursor C, MIToken &Token) {
  262   auto Range = C;
  271 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token,
  271 static Cursor maybeLexMachineBasicBlock(Cursor C, MIToken &Token,
  276   auto Range = C;
  284   auto NumberRange = C;
  306 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule,
  306 static Cursor maybeLexIndex(Cursor C, MIToken &Token, StringRef Rule,
  310   auto Range = C;
  312   auto NumberRange = C;
  319 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule,
  319 static Cursor maybeLexIndexAndName(Cursor C, MIToken &Token, StringRef Rule,
  323   auto Range = C;
  325   auto NumberRange = C;
  342 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) {
  342 static Cursor maybeLexJumpTableIndex(Cursor C, MIToken &Token) {
  346 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) {
  346 static Cursor maybeLexStackObject(Cursor C, MIToken &Token) {
  350 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) {
  350 static Cursor maybeLexFixedStackObject(Cursor C, MIToken &Token) {
  354 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) {
  354 static Cursor maybeLexConstantPoolItem(Cursor C, MIToken &Token) {
  358 static Cursor maybeLexSubRegisterIndex(Cursor C, MIToken &Token,
  358 static Cursor maybeLexSubRegisterIndex(Cursor C, MIToken &Token,
  367 static Cursor maybeLexIRBlock(Cursor C, MIToken &Token,
  367 static Cursor maybeLexIRBlock(Cursor C, MIToken &Token,
  377 static Cursor maybeLexIRValue(Cursor C, MIToken &Token,
  377 static Cursor maybeLexIRValue(Cursor C, MIToken &Token,
  387 static Cursor maybeLexStringConstant(Cursor C, MIToken &Token,
  387 static Cursor maybeLexStringConstant(Cursor C, MIToken &Token,
  395 static Cursor lexVirtualRegister(Cursor C, MIToken &Token) {
  395 static Cursor lexVirtualRegister(Cursor C, MIToken &Token) {
  396   auto Range = C;
  398   auto NumberRange = C;
  411 static Cursor lexNamedVirtualRegister(Cursor C, MIToken &Token) {
  411 static Cursor lexNamedVirtualRegister(Cursor C, MIToken &Token) {
  412   Cursor Range = C;
  421 static Cursor maybeLexRegister(Cursor C, MIToken &Token,
  421 static Cursor maybeLexRegister(Cursor C, MIToken &Token,
  437   auto Range = C;
  446 static Cursor maybeLexGlobalValue(Cursor C, MIToken &Token,
  446 static Cursor maybeLexGlobalValue(Cursor C, MIToken &Token,
  453   auto Range = C;
  455   auto NumberRange = C;
  463 static Cursor maybeLexExternalSymbol(Cursor C, MIToken &Token,
  463 static Cursor maybeLexExternalSymbol(Cursor C, MIToken &Token,
  471 static Cursor maybeLexMCSymbol(Cursor C, MIToken &Token,
  471 static Cursor maybeLexMCSymbol(Cursor C, MIToken &Token,
  476   auto Start = C;
  497   Cursor R = lexStringConstant(C, ErrorCallback);
  522 static Cursor lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) {
  522 static Cursor lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) {
  522 static Cursor lexFloatingPointLiteral(Cursor Range, Cursor C, MIToken &Token) {
  538 static Cursor maybeLexHexadecimalLiteral(Cursor C, MIToken &Token) {
  538 static Cursor maybeLexHexadecimalLiteral(Cursor C, MIToken &Token) {
  541   Cursor Range = C;
  560 static Cursor maybeLexNumericalLiteral(Cursor C, MIToken &Token) {
  560 static Cursor maybeLexNumericalLiteral(Cursor C, MIToken &Token) {
  563   auto Range = C;
  585 static Cursor maybeLexExlaim(Cursor C, MIToken &Token,
  585 static Cursor maybeLexExlaim(Cursor C, MIToken &Token,
  589   auto Range = C;
  636 static Cursor maybeLexSymbol(Cursor C, MIToken &Token) {
  636 static Cursor maybeLexSymbol(Cursor C, MIToken &Token) {
  646   auto Range = C;
  652 static Cursor maybeLexNewline(Cursor C, MIToken &Token) {
  652 static Cursor maybeLexNewline(Cursor C, MIToken &Token) {
  655   auto Range = C;
  661 static Cursor maybeLexEscapedIRValue(Cursor C, MIToken &Token,
  661 static Cursor maybeLexEscapedIRValue(Cursor C, MIToken &Token,
  665   auto Range = C;
  667   auto StrRange = C;
  686   auto C = skipComment(skipWhitespace(Cursor(Source)));
  692   if (Cursor R = maybeLexMachineBasicBlock(C, Token, ErrorCallback))
  694   if (Cursor R = maybeLexIdentifier(C, Token))
  696   if (Cursor R = maybeLexJumpTableIndex(C, Token))
  698   if (Cursor R = maybeLexStackObject(C, Token))
  700   if (Cursor R = maybeLexFixedStackObject(C, Token))
  702   if (Cursor R = maybeLexConstantPoolItem(C, Token))
  704   if (Cursor R = maybeLexSubRegisterIndex(C, Token, ErrorCallback))
  706   if (Cursor R = maybeLexIRBlock(C, Token, ErrorCallback))
  708   if (Cursor R = maybeLexIRValue(C, Token, ErrorCallback))
  710   if (Cursor R = maybeLexRegister(C, Token, ErrorCallback))
  712   if (Cursor R = maybeLexGlobalValue(C, Token, ErrorCallback))
  714   if (Cursor R = maybeLexExternalSymbol(C, Token, ErrorCallback))
  716   if (Cursor R = maybeLexMCSymbol(C, Token, ErrorCallback))
  718   if (Cursor R = maybeLexHexadecimalLiteral(C, Token))
  720   if (Cursor R = maybeLexNumericalLiteral(C, Token))
  722   if (Cursor R = maybeLexExlaim(C, Token, ErrorCallback))
  724   if (Cursor R = maybeLexSymbol(C, Token))
  726   if (Cursor R = maybeLexNewline(C, Token))
  728   if (Cursor R = maybeLexEscapedIRValue(C, Token, ErrorCallback))
  730   if (Cursor R = maybeLexStringConstant(C, Token, ErrorCallback))