brintos

brintos / llvm-project-archived public Read only

0
0
Text · 934 B · 1ea69f9 Raw
29 lines · cpp
1//===- StandaloneDialect.cpp - Standalone dialect ---------------*- C++ -*-===//2//3// This file is licensed 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#include "Standalone/StandaloneDialect.h"10#include "Standalone/StandaloneOps.h"11#include "Standalone/StandaloneTypes.h"12 13using namespace mlir;14using namespace mlir::standalone;15 16#include "Standalone/StandaloneOpsDialect.cpp.inc"17 18//===----------------------------------------------------------------------===//19// Standalone dialect.20//===----------------------------------------------------------------------===//21 22void StandaloneDialect::initialize() {23  addOperations<24#define GET_OP_LIST25#include "Standalone/StandaloneOps.cpp.inc"26      >();27  registerTypes();28}29