|
LLVM
3.7.0
|
#include "MILexer.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/ADT/Twine.h"#include <cctype>Go to the source code of this file.
Functions | |
| static Cursor | skipWhitespace (Cursor C) |
| Skip the leading whitespace characters and return the updated cursor. More... | |
| static bool | isIdentifierChar (char C) |
| static MIToken::TokenKind | getIdentifierKind (StringRef Identifier) |
| static Cursor | maybeLexIdentifier (Cursor C, MIToken &Token) |
| static Cursor | maybeLexMachineBasicBlock (Cursor C, MIToken &Token, function_ref< void(StringRef::iterator Loc, const Twine &)> ErrorCallback) |
| static Cursor | lexVirtualRegister (Cursor C, MIToken &Token) |
| static Cursor | maybeLexRegister (Cursor C, MIToken &Token) |
| static Cursor | maybeLexGlobalValue (Cursor C, MIToken &Token) |
| static Cursor | maybeLexIntegerLiteral (Cursor C, MIToken &Token) |
| static MIToken::TokenKind | symbolToken (char C) |
| static Cursor | maybeLexSymbol (Cursor C, MIToken &Token) |
|
static |
Definition at line 68 of file MILexer.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), llvm::MIToken::Identifier, llvm::MIToken::kw_dead, llvm::MIToken::kw_implicit, llvm::MIToken::kw_implicit_define, llvm::MIToken::kw_killed, llvm::MIToken::kw_undef, and llvm::MIToken::underscore.
Referenced by maybeLexIdentifier().
|
static |
Definition at line 64 of file MILexer.cpp.
Referenced by maybeLexGlobalValue(), maybeLexIdentifier(), maybeLexMachineBasicBlock(), and maybeLexRegister().
|
static |
Definition at line 118 of file MILexer.cpp.
References llvm::lltok::APSInt, and llvm::MIToken::VirtualRegister.
Referenced by maybeLexRegister().
|
static |
Definition at line 143 of file MILexer.cpp.
References llvm::lltok::APSInt, llvm::MIToken::GlobalValue, isIdentifierChar(), llvm::MIToken::NamedGlobalValue, and llvm::None.
|
static |
Definition at line 79 of file MILexer.cpp.
References getIdentifierKind(), isIdentifierChar(), and llvm::None.
|
static |
Definition at line 164 of file MILexer.cpp.
References llvm::lltok::APSInt, llvm::MIToken::IntegerLiteral, llvm::None, and llvm::tgtok::StrVal.
|
static |
Definition at line 90 of file MILexer.cpp.
References llvm::lltok::APSInt, llvm::MIToken::Error, isIdentifierChar(), llvm::MIToken::MachineBasicBlock, llvm::None, and llvm::StringRef::size().
|
static |
Definition at line 129 of file MILexer.cpp.
References isIdentifierChar(), lexVirtualRegister(), llvm::MIToken::NamedRegister, and llvm::None.
|
static |
Definition at line 189 of file MILexer.cpp.
References llvm::MIToken::Error, Kind, llvm::None, and symbolToken().
|
static |
Skip the leading whitespace characters and return the updated cursor.
Definition at line 58 of file MILexer.cpp.
|
static |
Definition at line 176 of file MILexer.cpp.
References llvm::MIToken::colon, llvm::MIToken::comma, llvm::MIToken::equal, and llvm::MIToken::Error.
Referenced by maybeLexSymbol().
1.8.6