#include "TestOpsSyntax.h"
#include "TestDialect.h"
#include "TestOps.h"
#include "mlir/IR/OpImplementation.h"
#include "llvm/Support/Base64.h"
usingnamespacemlir;
usingnamespacetest;
static ParseResult parseCustomOptionalOperand(
OpAsmParser &parser,
std::optional<OpAsmParser::UnresolvedOperand> &optOperand) { … }
static ParseResult parseCustomDirectiveOperands(
OpAsmParser &parser, OpAsmParser::UnresolvedOperand &operand,
std::optional<OpAsmParser::UnresolvedOperand> &optOperand,
SmallVectorImpl<OpAsmParser::UnresolvedOperand> &varOperands) { … }
static ParseResult
parseCustomDirectiveResults(OpAsmParser &parser, Type &operandType,
Type &optOperandType,
SmallVectorImpl<Type> &varOperandTypes) { … }
static ParseResult
parseCustomDirectiveWithTypeRefs(OpAsmParser &parser, Type operandType,
Type optOperandType,
const SmallVectorImpl<Type> &varOperandTypes) { … }
static ParseResult parseCustomDirectiveOperandsAndTypes(
OpAsmParser &parser, OpAsmParser::UnresolvedOperand &operand,
std::optional<OpAsmParser::UnresolvedOperand> &optOperand,
SmallVectorImpl<OpAsmParser::UnresolvedOperand> &varOperands,
Type &operandType, Type &optOperandType,
SmallVectorImpl<Type> &varOperandTypes) { … }
static ParseResult parseCustomDirectiveRegions(
OpAsmParser &parser, Region ®ion,
SmallVectorImpl<std::unique_ptr<Region>> &varRegions) { … }
static ParseResult
parseCustomDirectiveSuccessors(OpAsmParser &parser, Block *&successor,
SmallVectorImpl<Block *> &varSuccessors) { … }
static ParseResult parseCustomDirectiveAttributes(OpAsmParser &parser,
IntegerAttr &attr,
IntegerAttr &optAttr) { … }
static ParseResult parseCustomDirectiveSpacing(OpAsmParser &parser,
mlir::StringAttr &attr) { … }
static ParseResult parseCustomDirectiveAttrDict(OpAsmParser &parser,
NamedAttrList &attrs) { … }
static ParseResult parseCustomDirectiveOptionalOperandRef(
OpAsmParser &parser,
std::optional<OpAsmParser::UnresolvedOperand> &optOperand) { … }
static void printCustomOptionalOperand(OpAsmPrinter &printer, Operation *,
Value optOperand) { … }
static void printCustomDirectiveOperands(OpAsmPrinter &printer, Operation *,
Value operand, Value optOperand,
OperandRange varOperands) { … }
static void printCustomDirectiveResults(OpAsmPrinter &printer, Operation *,
Type operandType, Type optOperandType,
TypeRange varOperandTypes) { … }
static void printCustomDirectiveWithTypeRefs(OpAsmPrinter &printer,
Operation *op, Type operandType,
Type optOperandType,
TypeRange varOperandTypes) { … }
static void printCustomDirectiveOperandsAndTypes(
OpAsmPrinter &printer, Operation *op, Value operand, Value optOperand,
OperandRange varOperands, Type operandType, Type optOperandType,
TypeRange varOperandTypes) { … }
static void printCustomDirectiveRegions(OpAsmPrinter &printer, Operation *,
Region ®ion,
MutableArrayRef<Region> varRegions) { … }
static void printCustomDirectiveSuccessors(OpAsmPrinter &printer, Operation *,
Block *successor,
SuccessorRange varSuccessors) { … }
static void printCustomDirectiveAttributes(OpAsmPrinter &printer, Operation *,
Attribute attribute,
Attribute optAttribute) { … }
static void printCustomDirectiveSpacing(OpAsmPrinter &printer, Operation *op,
Attribute attribute) { … }
static void printCustomDirectiveAttrDict(OpAsmPrinter &printer, Operation *op,
DictionaryAttr attrs) { … }
static void printCustomDirectiveOptionalOperandRef(OpAsmPrinter &printer,
Operation *op,
Value optOperand) { … }
ParseResult ParseIntegerLiteralOp::parse(OpAsmParser &parser,
OperationState &result) { … }
void ParseIntegerLiteralOp::print(OpAsmPrinter &p) { … }
ParseResult ParseWrappedKeywordOp::parse(OpAsmParser &parser,
OperationState &result) { … }
void ParseWrappedKeywordOp::print(OpAsmPrinter &p) { … }
ParseResult ParseB64BytesOp::parse(OpAsmParser &parser,
OperationState &result) { … }
void ParseB64BytesOp::print(OpAsmPrinter &p) { … }
::llvm::LogicalResult FormatInferType2Op::inferReturnTypes(
::mlir::MLIRContext *context, ::std::optional<::mlir::Location> location,
::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes,
OpaqueProperties properties, ::mlir::RegionRange regions,
::llvm::SmallVectorImpl<::mlir::Type> &inferredReturnTypes) { … }
ParseResult WrappingRegionOp::parse(OpAsmParser &parser,
OperationState &result) { … }
void WrappingRegionOp::print(OpAsmPrinter &p) { … }
ParseResult PrettyPrintedRegionOp::parse(OpAsmParser &parser,
OperationState &result) { … }
void PrettyPrintedRegionOp::print(OpAsmPrinter &p) { … }
ParseResult PolyForOp::parse(OpAsmParser &parser, OperationState &result) { … }
void PolyForOp::print(OpAsmPrinter &p) { … }
void PolyForOp::getAsmBlockArgumentNames(Region ®ion,
OpAsmSetValueNameFn setNameFn) { … }
static ParseResult parseOptionalLoc(OpAsmParser &p, Attribute &loc) { … }
static void printOptionalLoc(OpAsmPrinter &p, Operation *op, Attribute loc) { … }
#define GET_OP_CLASSES
#include "TestOpsSyntax.cpp.inc"
void TestDialect::registerOpsSyntax() { … }