|
MLIR 22.0.0git
|
#include "Parser.h"#include "ParserState.h"#include "mlir/IR/AffineExpr.h"#include "mlir/IR/AffineMap.h"#include "mlir/IR/AsmState.h"#include "mlir/IR/Diagnostics.h"#include "mlir/IR/IntegerSet.h"#include "mlir/IR/OpImplementation.h"#include "mlir/Support/LLVM.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MemoryBuffer.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/raw_ostream.h"#include <cassert>#include <cstdint>#include <utility>Go to the source code of this file.
Functions | |
| static bool | isIdentifier (const Token &token) |
| Returns true if the given token can be represented as an identifier. | |
| static void | parseAffineMapOrIntegerSet (StringRef inputStr, MLIRContext *context, AffineMap &map, IntegerSet &set) |
Returns true if the given token can be represented as an identifier.
Definition at line 282 of file AffineParser.cpp.
References mlir::Token::isAny(), and mlir::Token::isKeyword().
|
static |
Definition at line 762 of file AffineParser.cpp.
References mlir::config, mlir::detail::Parser::emitError(), mlir::Token::getLoc(), mlir::detail::Parser::getToken(), mlir::Token::isNot(), and mlir::detail::Parser::parseAffineMapOrIntegerSetReference().