|
My Project
|
#include <QuantTypes.h>


Static Public Member Functions | |
| static bool | kindof (unsigned kind) |
| Support method to enable LLVM-style type casting. More... | |
| static AnyQuantizedType | get (unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax) |
| static AnyQuantizedType | getChecked (unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax, Location location) |
| static LogicalResult | verifyConstructionInvariants (Optional< Location > loc, MLIRContext *context, unsigned flags, Type storageType, Type expressedType, int64_t storageTypeMin, int64_t storageTypeMax) |
| Verifies construction invariants and issues errors/warnings. More... | |
Static Public Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| static ClassID * | getClassID () |
| Return a unique identifier for the concrete type. More... | |
| template<typename T > | |
| static bool | classof (T val) |
Additional Inherited Members | |
Public Types inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
| Utility declarations for the concrete attribute class. More... | |
| using | ImplType = StorageT |
Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| ImplType * | getImpl () const |
| Utility for easy access to the storage instance. More... | |
Static Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| template<typename... Args> | |
| static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
| template<typename... Args> | |
| static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
| template<typename... Args> | |
| static LogicalResult | verifyConstructionInvariants (Args... args) |
| Default implementation that just returns success. More... | |
A quantized type that maps storage to/from expressed types in an unspecified way.
Typical syntax: quant.any<i8:f32> quant.any<i8> quant.any<i8<-16,15>>
Note that for the any type, the expressed type is optional.
|
static |
Gets an instance of the type with all parameters specified but not checked.
|
static |
Gets an instance of the type with all specified parameters checked. Returns a nullptr convertible type on failure.
|
inlinestatic |
Support method to enable LLVM-style type casting.
|
static |
Verifies construction invariants and issues errors/warnings.
1.8.13