forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeGenDialect.cpp
More file actions
27 lines (22 loc) · 1.16 KB
/
Copy pathCodeGenDialect.cpp
File metadata and controls
27 lines (22 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*******************************************************************************
* Copyright (c) 2022 - 2026 NVIDIA Corporation & Affiliates. *
* All rights reserved. *
* *
* This source code and the accompanying materials are made available under *
* the terms of the Apache License 2.0 which accompanies this distribution. *
******************************************************************************/
#include "cudaq/Optimizer/CodeGen/CodeGenDialect.h"
#include "CodeGenOps.h"
#include "mlir/IR/DialectImplementation.h"
//===----------------------------------------------------------------------===//
// Generated logic
//===----------------------------------------------------------------------===//
#include "cudaq/Optimizer/CodeGen/CodeGenDialect.cpp.inc"
//===----------------------------------------------------------------------===//
void cudaq::codegen::CodeGenDialect::initialize() {
registerTypes();
addOperations<
#define GET_OP_LIST
#include "cudaq/Optimizer/CodeGen/CodeGenOps.cpp.inc"
>();
}