MLIR  19.0.0git
Functions
AffineParser.cpp File Reference
#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 "mlir/Support/LogicalResult.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. More...
 
static void parseAffineMapOrIntegerSet (StringRef inputStr, MLIRContext *context, AffineMap &map, IntegerSet &set)
 

Function Documentation

◆ isIdentifier()

static bool isIdentifier ( const Token token)
static

Returns true if the given token can be represented as an identifier.

Definition at line 283 of file AffineParser.cpp.

References mlir::Token::isAny(), and mlir::Token::isKeyword().

◆ parseAffineMapOrIntegerSet()

static void parseAffineMapOrIntegerSet ( StringRef  inputStr,
MLIRContext context,
AffineMap map,
IntegerSet set 
)
static

Definition at line 763 of file AffineParser.cpp.