/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_lexer.h | 35 enum class TokKind { 83 string TokKindToString(TokKind kind); 95 TokKind Lex() { return token_state_.current_kind = LexToken(); } 97 TokKind GetKind() const { return token_state_.current_kind; } 100 case TokKind::kName: 101 case TokKind::kAttributeName: 102 case TokKind::kDimLabels: 103 case TokKind::kDxD: 104 case TokKind::kPad: 105 case TokKind::kString [all...] |
hlo_lexer.cc | 87 TokKind HloLexer::LookAhead() { 88 if (GetKind() == TokKind::kEof || GetKind() == TokKind::kError) { 95 TokKind kind = GetKind(); 101 TokKind HloLexer::LexToken() { 113 return TokKind::kError; 116 return TokKind::kEof; 119 return TokKind::kError; 139 return TokKind::kArrow; 143 return TokKind::kEqual [all...] |
hlo_parser.cc | 285 bool ParseInt64List(const TokKind start, const TokKind end, 286 const TokKind delim, std::vector<int64>* result); 289 bool ParseList(const TokKind start, const TokKind end, const TokKind delim, 312 bool ParseToken(TokKind kind, const string& msg); 326 bool EatIfPresent(TokKind kind); 426 if (lexer_.GetKind() == TokKind::kw_HloModule) { 480 if (lexer_.GetKind() != TokKind::kw_HloModule) [all...] |
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
TGLexer.h | 29 enum TokKind { 68 tgtok::TokKind CurCode; 82 tgtok::TokKind Lex() { 90 tgtok::TokKind getCode() const { return CurCode; } 107 tgtok::TokKind LexToken(); 109 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg); 114 tgtok::TokKind LexIdentifier(); 116 tgtok::TokKind LexString(); 117 tgtok::TokKind LexVarName(); 118 tgtok::TokKind LexNumber() [all...] |
TGLexer.cpp | 41 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { 83 tgtok::TokKind TGLexer::LexToken() { 141 tgtok::TokKind TGLexer::LexString() { 193 tgtok::TokKind TGLexer::LexVarName() { 208 tgtok::TokKind TGLexer::LexIdentifier() { 225 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) 251 tgtok::TokKind Tok = LexToken(); 329 tgtok::TokKind TGLexer::LexNumber() { 384 tgtok::TokKind TGLexer::LexBracket() [all...] |
TGParser.cpp | 294 static bool isObjectStart(tgtok::TokKind K) { 805 tgtok::TokKind OpTok = Lex.getCode(); 874 tgtok::TokKind LexCode = Lex.getCode(); [all...] |
/external/llvm/lib/TableGen/ |
TGLexer.h | 30 enum TokKind { 74 tgtok::TokKind CurCode; 91 tgtok::TokKind Lex() { 99 tgtok::TokKind getCode() const { return CurCode; } 121 tgtok::TokKind LexToken(); 123 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg); 129 tgtok::TokKind LexIdentifier(); 131 tgtok::TokKind LexString(); 132 tgtok::TokKind LexVarName(); 133 tgtok::TokKind LexNumber() [all...] |
TGLexer.cpp | 42 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { 88 tgtok::TokKind TGLexer::LexToken() { 183 tgtok::TokKind TGLexer::LexString() { 235 tgtok::TokKind TGLexer::LexVarName() { 250 tgtok::TokKind TGLexer::LexIdentifier() { 266 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) 293 tgtok::TokKind Tok = LexToken(); 379 tgtok::TokKind TGLexer::LexNumber() { 434 tgtok::TokKind TGLexer::LexBracket() [all...] |
TGParser.cpp | 360 static bool isObjectStart(tgtok::TokKind K) { 880 tgtok::TokKind OpTok = Lex.getCode(); 968 tgtok::TokKind LexCode = Lex.getCode(); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
TGLexer.h | 30 enum TokKind { 75 tgtok::TokKind CurCode; 92 tgtok::TokKind Lex() { 100 tgtok::TokKind getCode() const { return CurCode; } 122 tgtok::TokKind LexToken(); 124 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg); 130 tgtok::TokKind LexIdentifier(); 132 tgtok::TokKind LexString(); 133 tgtok::TokKind LexVarName(); 134 tgtok::TokKind LexNumber() [all...] |
TGLexer.cpp | 44 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { 90 tgtok::TokKind TGLexer::LexToken() { 185 tgtok::TokKind TGLexer::LexString() { 237 tgtok::TokKind TGLexer::LexVarName() { 251 tgtok::TokKind TGLexer::LexIdentifier() { 267 tgtok::TokKind Kind = StringSwitch<tgtok::TokKind>(Str) 295 tgtok::TokKind Tok = LexToken(); 380 tgtok::TokKind TGLexer::LexNumber() { 435 tgtok::TokKind TGLexer::LexBracket() [all...] |
TGParser.cpp | 483 static bool isObjectStart(tgtok::TokKind K) { 1040 tgtok::TokKind OpTok = Lex.getCode(); [all...] |
/external/clang/lib/Parse/ |
ParseExprCXX.cpp | [all...] |