HomeSort by relevance Sort by last modified time
    Searched refs:tgtok (Results 1 - 3 of 3) sorted by null

  /external/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;
87 tgtok::TokKind TGLexer::LexToken() {
100 case EOF: return tgtok::Eof;
101 case ':': return tgtok::colon;
102 case ';': return tgtok::semi;
103 case '.': return tgtok::period;
104 case ',': return tgtok::comma;
105 case '<': return tgtok::less
    [all...]
TGLexer.h 28 namespace tgtok { namespace in namespace:llvm
69 tgtok::TokKind CurCode;
83 tgtok::TokKind Lex() {
91 tgtok::TokKind getCode() const { return CurCode; }
94 assert((CurCode == tgtok::Id || CurCode == tgtok::StrVal ||
95 CurCode == tgtok::VarName || CurCode == tgtok::CodeFragment) &&
100 assert(CurCode == tgtok::IntVal && "This token isn't an integer");
108 tgtok::TokKind LexToken()
    [all...]
TGParser.cpp 297 static bool isObjectStart(tgtok::TokKind K) {
298 return K == tgtok::Class || K == tgtok::Def ||
299 K == tgtok::Defm || K == tgtok::Let || K == tgtok::MultiClass;
314 case tgtok::colon:
315 case tgtok::semi:
316 case tgtok::l_brace:
350 if (Lex.getCode() != tgtok::Id)
    [all...]

Completed in 59 milliseconds