MLIR 22.0.0git
Utils.h
Go to the documentation of this file.
1//===- Utils.h - Utils for APFloat 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_ARITHANDMATHTOAPFLOAT_UTILS_H_
10#define MLIR_CONVERSION_ARITHANDMATHTOAPFLOAT_UTILS_H_
11
12namespace mlir {
13class Value;
14class OpBuilder;
15class Location;
16class FloatType;
17
18Value getAPFloatSemanticsValue(OpBuilder &b, Location loc, FloatType floatTy);
19} // namespace mlir
20
21#endif // MLIR_CONVERSION_ARITHANDMATHTOAPFLOAT_UTILS_H_
b
Return true if permutation is a valid permutation of the outer_dims_perm (case OuterOrInnerPerm::Oute...
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
Definition Location.h:76
This class helps build Operations.
Definition Builders.h:207
This class represents an instance of an SSA value in the MLIR system, representing a computable value...
Definition Value.h:96
Include the generated interface declarations.
Value getAPFloatSemanticsValue(OpBuilder &b, Location loc, FloatType floatTy)
Definition Utils.cpp:17