|
MLIR 22.0.0git
|
#include "llvm/ADT/APFloat.h"#include "llvm/ADT/APSInt.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Macros | |
| #define | MLIR_APFLOAT_WRAPPERS_EXPORT __attribute__((visibility("default"))) |
| #define | APFLOAT_BINARY_OP(OP) |
| Binary operations without rounding mode. | |
| #define | APFLOAT_BINARY_OP_ROUNDING_MODE(OP, ROUNDING_MODE) |
| Binary operations with rounding mode. | |
| #define | BIN_OPS_WITH_ROUNDING(X) |
| #define | APFLOAT_MIN_MAX_OP(OP) |
| Min/max operations. | |
Functions | |
| MLIR_APFLOAT_WRAPPERS_EXPORT void | printApFloat (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_convert (int32_t inSemantics, int32_t outSemantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_convert_to_int (int32_t semantics, int32_t resultWidth, bool isUnsigned, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_convert_from_int (int32_t semantics, int32_t inputWidth, bool isUnsigned, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT int8_t | _mlir_apfloat_compare (int32_t semantics, uint64_t a, uint64_t b) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_neg (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_abs (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT bool | _mlir_apfloat_isfinite (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT bool | _mlir_apfloat_isinfinite (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT bool | _mlir_apfloat_isnormal (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT bool | _mlir_apfloat_isnan (int32_t semantics, uint64_t a) |
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t | _mlir_apfloat_fused_multiply_add (int32_t semantics, uint64_t operand, uint64_t multiplicand, uint64_t addend) |
| #define APFLOAT_BINARY_OP | ( | OP | ) |
Binary operations without rounding mode.
Definition at line 42 of file APFloatWrappers.cpp.
| #define APFLOAT_BINARY_OP_ROUNDING_MODE | ( | OP, | |
| ROUNDING_MODE ) |
Binary operations with rounding mode.
Definition at line 55 of file APFloatWrappers.cpp.
| #define APFLOAT_MIN_MAX_OP | ( | OP | ) |
Min/max operations.
Definition at line 220 of file APFloatWrappers.cpp.
| #define BIN_OPS_WITH_ROUNDING | ( | X | ) |
Definition at line 69 of file APFloatWrappers.cpp.
| #define MLIR_APFLOAT_WRAPPERS_EXPORT __attribute__((visibility("default"))) |
Definition at line 38 of file APFloatWrappers.cpp.
Referenced by _mlir_apfloat_abs(), _mlir_apfloat_compare(), _mlir_apfloat_convert_from_int(), _mlir_apfloat_convert_to_int(), _mlir_apfloat_isfinite(), _mlir_apfloat_isinfinite(), _mlir_apfloat_isnan(), _mlir_apfloat_isnormal(), _mlir_apfloat_neg(), and printApFloat().
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_abs | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 157 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT int8_t _mlir_apfloat_compare | ( | int32_t | semantics, |
| uint64_t | a, | ||
| uint64_t | b ) |
Definition at line 136 of file APFloatWrappers.cpp.
References b, and MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_convert | ( | int32_t | inSemantics, |
| int32_t | outSemantics, | ||
| uint64_t | a ) |
Definition at line 93 of file APFloatWrappers.cpp.
References result.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_convert_from_int | ( | int32_t | semantics, |
| int32_t | inputWidth, | ||
| bool | isUnsigned, | ||
| uint64_t | a ) |
Definition at line 124 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT, and result.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_convert_to_int | ( | int32_t | semantics, |
| int32_t | resultWidth, | ||
| bool | isUnsigned, | ||
| uint64_t | a ) |
Definition at line 107 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT, and result.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_fused_multiply_add | ( | int32_t | semantics, |
| uint64_t | operand, | ||
| uint64_t | multiplicand, | ||
| uint64_t | addend ) |
Definition at line 203 of file APFloatWrappers.cpp.
| MLIR_APFLOAT_WRAPPERS_EXPORT bool _mlir_apfloat_isfinite | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 166 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT bool _mlir_apfloat_isinfinite | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 175 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT bool _mlir_apfloat_isnan | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 193 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT bool _mlir_apfloat_isnormal | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 184 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_neg | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 147 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT void printApFloat | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 83 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.