brintos

brintos / llvm-project-archived public Read only

0
0
Text · 908 B · 5ab70a5 Raw
23 lines · c
1//===-- MyExtension.h - Transform dialect tutorial --------------*- c++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file defines Transform dialect extension operations used in the10// Chapter 2 of the Transform dialect tutorial.11//12//===----------------------------------------------------------------------===//13 14#include "mlir/Bytecode/BytecodeOpInterface.h"15#include "mlir/Dialect/Transform/IR/TransformDialect.h"16#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"17 18#define GET_OP_CLASSES19#include "MyExtension.h.inc"20 21// Registers our Transform dialect extension.22void registerMyExtension(::mlir::DialectRegistry &registry);23