torch-mlir/test/Dialect/Torch/GlobalizeObjectGraph
Sean Silva 784156a998 Add `!torch.bool` type.
This finishes removing the dependence on the basicpy dialect!

Changes:
- Add `!torch.bool` type and replace use of `!basicpy.BoolType` in
  Torch-related code.
- Rename BuiltinTensorize to BackendTypeConversion since now it handles
  bool conversions (and, when we add !torch.int and !torch.float, it
  will handle those as well), and generalize the related utilities (I
  also moved them to Torch/Transforms since they aren't really part of
  Torch/IR).
  - Add `torch.to_i1` and `torch.from_i1` ops for materializations
- [cleanup] Reorganize `torch.constant.*` ops in TorchOps.td
- Remove dependency of `torch` dialect on `basicpy` dialect and also
  `std` dialect. For `std`, we use some call related ops, but the
  `torch` dialect itself never produces them (we have passes that do
  though).

This is fairly mechanical. Recommended review order:
- New stuff in Torch/IR
- New BuiltinTypeConversion files.
- Mechnical fixups elsewhere.
2021-06-16 13:22:00 -07:00
..
basic.mlir Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
error.mlir Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
free-functions.mlir Move GlobalizeObjectGraph tests to their own directory 2021-04-27 12:18:54 -07:00
initializers.mlir Add TorchList type and prim::ListConstruct #218 2021-06-10 14:31:35 -07:00
methods.mlir Move GlobalizeObjectGraph tests to their own directory 2021-04-27 12:18:54 -07:00
module-uses-error.mlir Add TorchList type and prim::ListConstruct #218 2021-06-10 14:31:35 -07:00
module-uses.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
multiple-instances-error.mlir Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
multiple-instances-multiple-module-args.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
multiple-instances.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
submodules.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
visibility.mlir Move GlobalizeObjectGraph tests to their own directory 2021-04-27 12:18:54 -07:00