/external/deqp/framework/xexml/ |
D | xeXMLParser.cpp | 403 Token curToken = m_tokenizer.getToken(); in advance() local 406 while (curToken == TOKEN_COMMENT) in advance() 409 curToken = m_tokenizer.getToken(); in advance() 412 if (curToken == TOKEN_INCOMPLETE) in advance() 425 switch (curToken) in advance() 459 if (curToken == TOKEN_PROCESSING_INSTRUCTION_END) in advance() 462 if (curToken != TOKEN_IDENTIFIER && curToken != TOKEN_EQUAL && curToken != TOKEN_STRING) in advance() 467 if (curToken != TOKEN_IDENTIFIER) in advance() 474 if (curToken != TOKEN_IDENTIFIER) in advance() 481 if (curToken != TOKEN_TAG_END) in advance() [all …]
|
/external/llvm-project/mlir/lib/Parser/ |
D | Parser.h | 59 return emitError(state.curToken.getLoc(), message); 99 const Token &getToken() const { return state.curToken; } in getToken() 100 StringRef getTokenSpelling() const { return state.curToken.getSpelling(); } in getTokenSpelling() 105 if (state.curToken.isNot(kind)) in consumeIf() 113 assert(state.curToken.isNot(Token::eof, Token::error) && in consumeToken() 115 state.curToken = state.lex.lexToken(); in consumeToken() 122 assert(state.curToken.is(kind) && "consumed an unexpected token"); in consumeToken()
|
D | ParserState.h | 52 : context(ctx), lex(sourceMgr, ctx), curToken(lex.lexToken()), in ParserState() 73 Token curToken; member
|
D | DialectSymbolParser.cpp | 85 Token curToken = parser.getToken(); in parseOptionalInteger() local 86 if (curToken.isNot(Token::integer, Token::minus)) in parseOptionalInteger()
|
D | AttributeParser.cpp | 369 auto loc = state.curToken.getLoc(); in parseDecOrHexAttr()
|
/external/llvm-project/mlir/tools/mlir-linalg-ods-gen/ |
D | mlir-linalg-ods-gen.cpp | 342 : lexer(mgr), curToken(lexer.lexToken()), context(ctx) {} in Parser() 350 assert(curToken.getKind() != Token::Kind::eof && in consumeToken() 351 curToken.getKind() != Token::Kind::error && in consumeToken() 353 curToken = lexer.lexToken(); in consumeToken() 356 assert(curToken.getKind() == kind && "unexpected token"); in consumeToken() 357 curToken = lexer.lexToken(); in consumeToken() 360 if (curToken.getKind() != kind) in parseToken() 361 return emitError(curToken.getLoc(), msg); in parseToken() 370 return emitError(curToken.getLoc(), msg); in emitError() 373 if (curToken.isNot(kind)) in consumeIf() [all …]
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | OpFormatGen.cpp | 2036 : lexer(mgr, op), curToken(lexer.lexToken()), fmt(format), op(op), in FormatParser() 2144 assert(curToken.getKind() != Token::eof && in consumeToken() 2145 curToken.getKind() != Token::error && in consumeToken() 2147 curToken = lexer.lexToken(); in consumeToken() 2150 if (curToken.getKind() != kind) in parseToken() 2151 return emitError(curToken.getLoc(), msg); in parseToken() 2170 Token curToken; member in __anon81548fc81611::FormatParser 2188 llvm::SMLoc loc = curToken.getLoc(); in parse() 2191 while (curToken.getKind() != Token::eof) { in parse() 2488 if (curToken.isKeyword()) in parseElement() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch1/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/ |
D | Parser.h | 476 auto curToken = lexer.getCurToken(); 479 << "' " << context << " but has Token " << curToken; 480 if (isprint(curToken)) 481 llvm::errs() << " '" << (char)curToken << "'";
|
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/ |
D | Parser.h | 670 auto curToken = lexer.getCurToken(); 673 << "' " << context << " but has Token " << curToken; 674 if (isprint(curToken)) 675 llvm::errs() << " '" << (char)curToken << "'";
|