MLIR  20.0.0git
Namespaces | Functions
AsmParser.h File Reference
#include "mlir/IR/AsmState.h"
#include <cstddef>

Go to the source code of this file.

Namespaces

 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 
 mlir
 Include the generated interface declarations.
 

Functions

LogicalResult mlir::parseAsmSourceFile (const llvm::SourceMgr &sourceMgr, Block *block, const ParserConfig &config, AsmParserState *asmState=nullptr, AsmParserCodeCompleteContext *codeCompleteContext=nullptr)
 This parses the file specified by the indicated SourceMgr and appends parsed operations to the given block. More...
 
Attribute mlir::parseAttribute (llvm::StringRef attrStr, MLIRContext *context, Type type={}, size_t *numRead=nullptr, bool isKnownNullTerminated=false)
 This parses a single MLIR attribute to an MLIR context if it was valid. More...
 
Type mlir::parseType (llvm::StringRef typeStr, MLIRContext *context, size_t *numRead=nullptr, bool isKnownNullTerminated=false)
 This parses a single MLIR type to an MLIR context if it was valid. More...
 
AffineMap mlir::parseAffineMap (llvm::StringRef str, MLIRContext *context)
 This parses a single IntegerSet/AffineMap to an MLIR context if it was valid. More...
 
IntegerSet mlir::parseIntegerSet (llvm::StringRef str, MLIRContext *context)