|
MLIR 22.0.0git
|
#include "llvm/ADT/APFloat.h"#include "llvm/ADT/APSInt.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) |
| #define APFLOAT_BINARY_OP | ( | OP | ) |
Binary operations without rounding mode.
Definition at line 41 of file APFloatWrappers.cpp.
| #define APFLOAT_BINARY_OP_ROUNDING_MODE | ( | OP, | |
| ROUNDING_MODE ) |
Binary operations with rounding mode.
Definition at line 54 of file APFloatWrappers.cpp.
| #define APFLOAT_MIN_MAX_OP | ( | OP | ) |
Min/max operations.
Definition at line 156 of file APFloatWrappers.cpp.
| #define BIN_OPS_WITH_ROUNDING | ( | X | ) |
Definition at line 68 of file APFloatWrappers.cpp.
| #define MLIR_APFLOAT_WRAPPERS_EXPORT __attribute__((visibility("default"))) |
Definition at line 37 of file APFloatWrappers.cpp.
Referenced by _mlir_apfloat_compare(), _mlir_apfloat_convert_from_int(), _mlir_apfloat_convert_to_int(), _mlir_apfloat_neg(), and printApFloat().
| MLIR_APFLOAT_WRAPPERS_EXPORT int8_t _mlir_apfloat_compare | ( | int32_t | semantics, |
| uint64_t | a, | ||
| uint64_t | b ) |
Definition at line 135 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 92 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 123 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 106 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT, and result.
| MLIR_APFLOAT_WRAPPERS_EXPORT uint64_t _mlir_apfloat_neg | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 146 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.
| MLIR_APFLOAT_WRAPPERS_EXPORT void printApFloat | ( | int32_t | semantics, |
| uint64_t | a ) |
Definition at line 82 of file APFloatWrappers.cpp.
References MLIR_APFLOAT_WRAPPERS_EXPORT.