OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tgtok
(Results
1 - 6
of
6
) sorted by null
/external/swiftshader/third_party/LLVM/lib/TableGen/
TGLexer.cpp
40
/// location. This is defined to always return
tgtok
::Error.
41
tgtok
::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) {
43
return
tgtok
::Error;
83
tgtok
::TokKind TGLexer::LexToken() {
96
case EOF: return
tgtok
::Eof;
97
case ':': return
tgtok
::colon;
98
case ';': return
tgtok
::semi;
99
case '.': return
tgtok
::period;
100
case ',': return
tgtok
::comma;
101
case '<': return
tgtok
::less
[
all
...]
TGLexer.h
28
namespace
tgtok
{
namespace in namespace:llvm
68
tgtok
::TokKind CurCode;
82
tgtok
::TokKind Lex() {
90
tgtok
::TokKind getCode() const { return CurCode; }
93
assert((CurCode ==
tgtok
::Id || CurCode ==
tgtok
::StrVal ||
94
CurCode ==
tgtok
::VarName || CurCode ==
tgtok
::CodeFragment) &&
99
assert(CurCode ==
tgtok
::IntVal && "This token isn't an integer");
107
tgtok
::TokKind LexToken()
[
all
...]
TGParser.cpp
294
static bool isObjectStart(
tgtok
::TokKind K) {
295
return K ==
tgtok
::Class || K ==
tgtok
::Def ||
296
K ==
tgtok
::Defm || K ==
tgtok
::Let || K ==
tgtok
::MultiClass;
310
if (Lex.getCode() !=
tgtok
::Id)
325
if (Lex.getCode() !=
tgtok
::Id) {
344
if (Lex.getCode() !=
tgtok
::Id) {
358
if (Lex.getCode() !=
tgtok
::Id)
[
all
...]
/external/llvm/lib/TableGen/
TGLexer.h
29
namespace
tgtok
{
namespace in namespace:llvm
74
tgtok
::TokKind CurCode;
91
tgtok
::TokKind Lex() {
99
tgtok
::TokKind getCode() const { return CurCode; }
102
assert((CurCode ==
tgtok
::Id || CurCode ==
tgtok
::StrVal ||
103
CurCode ==
tgtok
::VarName || CurCode ==
tgtok
::CodeFragment) &&
108
assert(CurCode ==
tgtok
::IntVal && "This token isn't an integer");
112
assert(CurCode ==
tgtok
::BinaryIntVal &
[
all
...]
TGLexer.cpp
41
/// location. This is defined to always return
tgtok
::Error.
42
tgtok
::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) {
44
return
tgtok
::Error;
88
tgtok
::TokKind TGLexer::LexToken() {
101
case EOF: return
tgtok
::Eof;
102
case ':': return
tgtok
::colon;
103
case ';': return
tgtok
::semi;
104
case '.': return
tgtok
::period;
105
case ',': return
tgtok
::comma;
106
case '<': return
tgtok
::less
[
all
...]
TGParser.cpp
360
static bool isObjectStart(
tgtok
::TokKind K) {
361
return K ==
tgtok
::Class || K ==
tgtok
::Def ||
362
K ==
tgtok
::Defm || K ==
tgtok
::Let ||
363
K ==
tgtok
::MultiClass || K ==
tgtok
::Foreach;
379
case
tgtok
::colon:
380
case
tgtok
::semi:
381
case
tgtok
::l_brace
[
all
...]
Completed in 205 milliseconds