#include "llvm/AsmParser/LLLexer.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Instruction.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SourceMgr.h"
#include <cassert>
#include <cctype>
#include <cstdio>
#include "llvm/IR/Attributes.inc"
Go to the source code of this file.
◆ ATTRIBUTE_ENUM
#define ATTRIBUTE_ENUM |
( |
|
ENUM_NAME, |
|
|
|
DISPLAY_NAME |
|
) |
| KEYWORD(DISPLAY_NAME); |
◆ DBGRECORDTYPEKEYWORD
#define DBGRECORDTYPEKEYWORD |
( |
|
STR | ) |
|
Value: do { \
if (Keyword == "dbg_" #STR) { \
StrVal = #STR; \
} \
} while (false)
◆ DWKEYWORD
#define DWKEYWORD |
( |
|
TYPE, |
|
|
|
TOKEN |
|
) |
| |
Value: do { \
if (Keyword.starts_with("DW_" #TYPE "_")) { \
StrVal.assign(Keyword.begin(), Keyword.end()); \
return lltok::TOKEN; \
} \
} while (false)
◆ GET_ATTR_NAMES
◆ INSTKEYWORD
#define INSTKEYWORD |
( |
|
STR, |
|
|
|
Enum |
|
) |
| |
Value: do { \
if (Keyword == #STR) { \
UIntVal = Instruction::Enum; \
return lltok::kw_##STR; \
} \
} while (false)
◆ KEYWORD
Value: do { \
if (Keyword == #STR) \
return lltok::kw_##STR; \
} while (false)
◆ TYPEKEYWORD
#define TYPEKEYWORD |
( |
|
STR, |
|
|
|
LLVMTY |
|
) |
| |
Value: do { \
if (Keyword == STR) { \
TyVal = LLVMTY; \
} \
} while (false)
◆ isLabelChar()
◆ isLabelTail()
isLabelTail - Return true if this pointer points to a valid end of a label.
Definition at line 147 of file LLLexer.cpp.
References isLabelChar().
◆ UnEscapeLexed()
static void UnEscapeLexed |
( |
std::string & |
Str | ) |
|
|
static |