MLIR 22.0.0git
PtrToLLVM.h
Go to the documentation of this file.
1//===- PtrToLLVM.h - Ptr to LLVM dialect conversion -------------*- 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-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef MLIR_CONVERSION_PTRTOLLVM_PTRTOLLVM_H
10#define MLIR_CONVERSION_PTRTOLLVM_PTRTOLLVM_H
11
12#include <memory>
13
14namespace mlir {
15class DialectRegistry;
18namespace ptr {
19/// Populate the convert to LLVM patterns for the `ptr` dialect.
22/// Register the convert to LLVM interface for the `ptr` dialect.
24} // namespace ptr
25} // namespace mlir
26
27#endif // MLIR_CONVERSION_PTRTOLLVM_PTRTOLLVM_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Conversion from types to the LLVM IR dialect.
void populatePtrToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Populate the convert to LLVM patterns for the ptr dialect.
void registerConvertPtrToLLVMInterface(DialectRegistry &registry)
Register the convert to LLVM interface for the ptr dialect.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns