Extend the OpDSL with index attributes. After tensors and scalars, index attributes are the third operand type. An index attribute represents a compile-time constant that is limited to index expressions. A use cases are the strides and dilations defined by convolution and pooling operations. The patch only updates the OpDSL. The C++ yaml codegen is updated by a followup patch. Differential Revision: https://reviews.llvm.org/D104711 |
||
|---|---|---|
| .. | ||
| AffineExpr.cpp | ||
| AffineMap.cpp | ||
| BuiltinAttributes.cpp | ||
| BuiltinTypes.cpp | ||
| CMakeLists.txt | ||
| Diagnostics.cpp | ||
| DialectHandle.cpp | ||
| IR.cpp | ||
| IntegerSet.cpp | ||
| Pass.cpp | ||
| Support.cpp | ||