torch-mlir/lib/Dialect/Torch/Transforms
Sean Silva 84a9693006 Elide `!torch.` prefix in nested dialect types.
This leads to much more succinct types in many cases:

```
!torch.list<!torch.int>
!torch.list<int>

!torch.tuple<!torch.list<!torch.int>, !torch.list<!torch.int>>
!torch.tuple<list<int>, list<int>>

!torch.optional<!torch.list<!torch.int>>
!torch.optional<list<int>>

!torch.list<list<list<tensor>>>
!torch.list<!torch.list<!torch.list<!torch.tensor>>>
```

I would like to take this further and allow omitting the `!torch.`
prefix in all cases, but that's harder -- for example, we currently use
`FuncOp` for functions, and so I don't think we can customize the
printing there. It seems like it will be a longer road to getting that
level of customization.
2022-03-15 17:24:08 -07:00
..
AdjustCallingConventions.cpp Bump LLVM to 881ff4e4ebe8cc0cc045c7c167cffb01f94f27f8 (#539) 2022-01-25 22:16:30 -08:00
CMakeLists.txt Introduce new shape library design. 2022-03-15 12:41:58 -07:00
DecomposeComplexOps.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
DropShapeCalculations.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
GlobalizeObjectGraph.cpp Bump LLVM to 84fe34a0b7fdd7bbf179981d1583693d5d5ec68b (#544) 2022-01-27 17:21:09 -08:00
InlineGlobalSlots.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
MaximizeValueSemantics.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
PassDetail.h Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
Passes.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
PrepareForGlobalizeObjectGraph.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
ReduceOpVariants.cpp [LINALG] Fix `aten.bernoulli` op lowering 2022-03-05 09:38:22 +05:30
RefinePublicReturn.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
RefineTypes.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00
ReifyShapeCalculations.cpp Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
ShapeLibrary.cpp Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
SimplifyShapeCalculations.cpp Introduce new shape library design. 2022-03-15 12:41:58 -07:00