llvm-project/mlir/unittests
Lei Zhang 2fa865719b Move BitEnumAttr from SPIRVBase.td to OpBase.td
BitEnumAttr is a mechanism for modelling attributes whose value is
a bitfield. It should not be scoped to the SPIR-V dialect and can
be used by other dialects too.

This CL is mostly shuffling code around and adding tests and docs.
Functionality changes are:

* Fixed to use `getZExtValue()` instead of `getSExtValue()` when
  getting the value from the underlying IntegerAttr for a case.
* Changed to auto-detect whether there is a case whose value is
  all bits unset (i.e., zero). If so handle it specially in all
  helper methods.

PiperOrigin-RevId: 277964926
2019-11-01 11:18:19 -07:00
..
Dialect Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
IR Switch explicit create methods to match generated build's order 2019-09-28 09:35:58 -07:00
Pass Generalize the analysis manager framework to work on any operation at any nesting. 2019-08-28 15:11:17 -07:00
Quantizer/Support Start to introduce the "Quantizer" tool, which is responsible for transforming a computation expressed in floating point to one operating in terms of quantized types (where possible), either using quant-aware-training hints where available or post-training statistics. 2019-05-20 13:42:30 -07:00
SDBM Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
TableGen Move BitEnumAttr from SPIRVBase.td to OpBase.td 2019-11-01 11:18:19 -07:00
CMakeLists.txt Move SDBM infrastructure into a new SDBM dialect 2019-06-01 19:54:33 -07:00