#include "mlir/Dialect/IRDL/IR/IRDL.h"
#include "mlir/Dialect/IRDL/IRDLSymbols.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/ExtensibleDialect.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/Operation.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Support/Casting.h"
usingnamespacemlir;
usingnamespacemlir::irdl;
#include "mlir/Dialect/IRDL/IR/IRDL.cpp.inc"
#include "mlir/Dialect/IRDL/IR/IRDLDialect.cpp.inc"
void IRDLDialect::initialize() { … }
static ParseResult parseSingleBlockRegion(OpAsmParser &p, Region ®ion) { … }
static void printSingleBlockRegion(OpAsmPrinter &p, Operation *op,
Region ®ion) { … }
LogicalResult DialectOp::verify() { … }
LogicalResult OperandsOp::verify() { … }
LogicalResult ResultsOp::verify() { … }
LogicalResult AttributesOp::verify() { … }
LogicalResult BaseOp::verify() { … }
static LogicalResult
checkSymbolIsTypeOrAttribute(SymbolTableCollection &symbolTable,
Operation *source, SymbolRefAttr symbol) { … }
LogicalResult BaseOp::verifySymbolUses(SymbolTableCollection &symbolTable) { … }
LogicalResult
ParametricOp::verifySymbolUses(SymbolTableCollection &symbolTable) { … }
static ParseResult
parseValueWithVariadicity(OpAsmParser &p,
OpAsmParser::UnresolvedOperand &operand,
VariadicityAttr &variadicityAttr) { … }
static ParseResult parseValuesWithVariadicity(
OpAsmParser &p, SmallVectorImpl<OpAsmParser::UnresolvedOperand> &operands,
VariadicityArrayAttr &variadicityAttr) { … }
static void printValuesWithVariadicity(OpAsmPrinter &p, Operation *op,
OperandRange operands,
VariadicityArrayAttr variadicityAttr) { … }
static ParseResult
parseAttributesOp(OpAsmParser &p,
SmallVectorImpl<OpAsmParser::UnresolvedOperand> &attrOperands,
ArrayAttr &attrNamesAttr) { … }
static void printAttributesOp(OpAsmPrinter &p, AttributesOp op,
OperandRange attrArgs, ArrayAttr attrNames) { … }
LogicalResult RegionOp::verify() { … }
#include "mlir/Dialect/IRDL/IR/IRDLInterfaces.cpp.inc"
#define GET_TYPEDEF_CLASSES
#include "mlir/Dialect/IRDL/IR/IRDLTypesGen.cpp.inc"
#include "mlir/Dialect/IRDL/IR/IRDLEnums.cpp.inc"
#define GET_ATTRDEF_CLASSES
#include "mlir/Dialect/IRDL/IR/IRDLAttributes.cpp.inc"
#define GET_OP_CLASSES
#include "mlir/Dialect/IRDL/IR/IRDLOps.cpp.inc"