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

References

lib/CodeGen/MIRParser/MILexer.cpp
  273   bool IsReference = C.remaining().startswith("%bb.");
  274   if (!IsReference && !C.remaining().startswith("bb."))
  276   auto Range = C;
  278   C.advance(PrefixLength); // Skip '%bb.' or 'bb.'
  279   if (!isdigit(C.peek())) {
  280     Token.reset(MIToken::Error, C.remaining());
  281     ErrorCallback(C.location(), "expected a number after '%bb.'");
  282     return C;
  284   auto NumberRange = C;
  285   while (isdigit(C.peek()))
  286     C.advance();
  287   StringRef Number = NumberRange.upto(C);
  292   if (C.peek() == '.') {
  293     C.advance(); // Skip '.'
  295     while (isIdentifierChar(C.peek()))
  296       C.advance();
  300               Range.upto(C))
  302       .setStringValue(Range.upto(C).drop_front(StringOffset));
  303   return C;