#include "mlir/Dialect/Async/IR/Async.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/Interfaces/FunctionImplementation.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/TypeSwitch.h"
usingnamespacemlir;
usingnamespacemlir::async;
#include "mlir/Dialect/Async/IR/AsyncOpsDialect.cpp.inc"
constexpr StringRef AsyncDialect::kAllowedToBlockAttrName;
void AsyncDialect::initialize() { … }
constexpr char kOperandSegmentSizesAttr[] = …;
OperandRange ExecuteOp::getEntrySuccessorOperands(RegionBranchPoint point) { … }
bool ExecuteOp::areTypesCompatible(Type lhs, Type rhs) { … }
void ExecuteOp::getSuccessorRegions(RegionBranchPoint point,
SmallVectorImpl<RegionSuccessor> ®ions) { … }
void ExecuteOp::build(OpBuilder &builder, OperationState &result,
TypeRange resultTypes, ValueRange dependencies,
ValueRange operands, BodyBuilderFn bodyBuilder) { … }
void ExecuteOp::print(OpAsmPrinter &p) { … }
ParseResult ExecuteOp::parse(OpAsmParser &parser, OperationState &result) { … }
LogicalResult ExecuteOp::verifyRegions() { … }
LogicalResult CreateGroupOp::canonicalize(CreateGroupOp op,
PatternRewriter &rewriter) { … }
void AwaitOp::build(OpBuilder &builder, OperationState &result, Value operand,
ArrayRef<NamedAttribute> attrs) { … }
static ParseResult parseAwaitResultType(OpAsmParser &parser, Type &operandType,
Type &resultType) { … }
static void printAwaitResultType(OpAsmPrinter &p, Operation *op,
Type operandType, Type resultType) { … }
LogicalResult AwaitOp::verify() { … }
void FuncOp::build(OpBuilder &builder, OperationState &state, StringRef name,
FunctionType type, ArrayRef<NamedAttribute> attrs,
ArrayRef<DictionaryAttr> argAttrs) { … }
ParseResult FuncOp::parse(OpAsmParser &parser, OperationState &result) { … }
void FuncOp::print(OpAsmPrinter &p) { … }
LogicalResult FuncOp::verify() { … }
LogicalResult CallOp::verifySymbolUses(SymbolTableCollection &symbolTable) { … }
FunctionType CallOp::getCalleeType() { … }
LogicalResult ReturnOp::verify() { … }
#define GET_OP_CLASSES
#include "mlir/Dialect/Async/IR/AsyncOps.cpp.inc"
#define GET_TYPEDEF_CLASSES
#include "mlir/Dialect/Async/IR/AsyncOpsTypes.cpp.inc"
void ValueType::print(AsmPrinter &printer) const { … }
Type ValueType::parse(mlir::AsmParser &parser) { … }