My Project
TypeUtils.h
Go to the documentation of this file.
1 //===- TypeUtils.h - Helper function for manipulating types -----*- C++ -*-===//
2 //
3 // Part of the MLIR 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 // This file defines various helper functions for manipulating types. The
10 // process of quantizing typically involves a number of type manipulations
11 // that are not very common elsewhere, and it is best to name them and define
12 // them here versus inline in the rest of the tool.
13 //
14 //===----------------------------------------------------------------------===//
15 
16 #ifndef THIRD_PARTY_MLIR_EDGE_FXPSOLVER_SUPPORT_TYPEUTILS_H_
17 #define THIRD_PARTY_MLIR_EDGE_FXPSOLVER_SUPPORT_TYPEUTILS_H_
18 
19 #include "mlir/IR/Types.h"
20 
21 namespace mlir {
22 namespace quantizer {
23 
27 
28 } // namespace quantizer
29 } // namespace mlir
30 
31 #endif // THIRD_PARTY_MLIR_EDGE_FXPSOLVER_SUPPORT_TYPEUTILS_H_
Definition: InferTypeOpInterface.cpp:20
Definition: Attributes.h:139
Type getElementOrPrimitiveType(Type t)
Definition: TypeUtils.cpp:16