MLIR Passes v1.0
Loading...
Searching...
No Matches
Pipelines.hpp
Go to the documentation of this file.
1/* This code and any associated documentation is provided "as is"
2
3Copyright 2025 Munich Quantum Software Stack Project
4
5Licensed under the Apache License, Version 2.0 with LLVM Exceptions (the
6"License"); you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9https://github.com/Munich-Quantum-Software-Stack/passes/blob/develop/LICENSE
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14License for the specific language governing permissions and limitations under
15the License.
16
17SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
18*****************************************************************************
19 author Martin Letras
20 date April 2025
21 version 1.0
22****************************************************************************/
36#pragma once
37
38#include "mlir/Conversion/MathToFuncs/MathToFuncs.h"
39#include "mlir/Dialect/Func/IR/FuncOps.h"
40#include "mlir/Pass/PassManager.h"
41#include "mlir/Transforms/Passes.h"
42
43namespace mqss::opt {
51void O1(mlir::PassManager &pm);
59void O2(mlir::PassManager &pm);
67void O3(mlir::PassManager &pm);
68} // namespace mqss::opt
void O1(mlir::PassManager &pm)
Function defining the optimization level O1.
void O3(mlir::PassManager &pm)
Function defining the optimization level O3.
void O2(mlir::PassManager &pm)
Function defining the optimization level O2.