torch-mlir/python_native
Stella Laurenzo e18e8e0a96 Add boolean/logical operations (and, or, not).
* Adds a new to_boolean op to evaluate a value as a truthy i1
* Uses cascading scf.if ops to properly evaluate and/or sequences (short-circuit and original value returning)
* Adds a helper to construct select ops and uses it to implement 'not'
2020-06-09 00:01:21 -07:00
..
CMakeLists.txt Add support for short-circuit comparisons with scf.if. 2020-06-08 17:52:07 -07:00
CoreDialects.cpp Add boolean/logical operations (and, or, not). 2020-06-09 00:01:21 -07:00
MlirInit.cpp Add pass registrations and a simple compilation example from python. 2020-06-03 23:58:58 -07:00
MlirInit.h Add pass registrations and a simple compilation example from python. 2020-06-03 23:58:58 -07:00
MlirIr.cpp Add boolean/logical operations (and, or, not). 2020-06-09 00:01:21 -07:00
MlirIr.h Refactor things so that an SCF mixin dialect helper can be used. 2020-06-08 16:10:51 -07:00
MlirPass.cpp Add pass registrations and a simple compilation example from python. 2020-06-03 23:58:58 -07:00
MlirPass.h Add pass registrations and a simple compilation example from python. 2020-06-03 23:58:58 -07:00
NpcompDialect.cpp Refactor things so that an SCF mixin dialect helper can be used. 2020-06-08 16:10:51 -07:00
NpcompModule.cpp Refactor things so that an SCF mixin dialect helper can be used. 2020-06-08 16:10:51 -07:00
NpcompModule.h Refactor things so that an SCF mixin dialect helper can be used. 2020-06-08 16:10:51 -07:00
PybindUtils.cpp Move python native library to python_native/_npcomp...so. 2020-05-06 22:44:12 -07:00
PybindUtils.h Move python native library to python_native/_npcomp...so. 2020-05-06 22:44:12 -07:00
unix_version.script Move python native library to python_native/_npcomp...so. 2020-05-06 22:44:12 -07:00