#include <cassert>
#include <cinttypes>
#include <limits>
#include <type_traits>
Go to the source code of this file.
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyEQ (T t, U u) noexcept |
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyNE (T t, U u) noexcept |
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyLT (T t, U u) noexcept |
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyGT (T t, U u) noexcept |
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyLE (T t, U u) noexcept |
|
template<typename T , typename U > |
constexpr bool | mlir::sparse_tensor::detail::safelyGE (T t, U u) noexcept |
|
template<typename To , typename From > |
To | mlir::sparse_tensor::detail::checkOverflowCast (From x) |
| A version of static_cast<To> which checks for overflow/underflow. More...
|
|
uint64_t | mlir::sparse_tensor::detail::checkedMul (uint64_t lhs, uint64_t rhs) |
| A version of operator* on uint64_t which guards against overflows (when assertions are enabled). More...
|
|