| /llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/ |
| H A D | ToyCombine.td | 32 // Reshape(Reshape(x)) = Reshape(x) 43 // Reshape(Constant(x)) = x' 57 // Reshape(x) = x, where input and output shapes are identical
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | ToyCombine.td | 32 // Reshape(Reshape(x)) = Reshape(x) 43 // Reshape(Constant(x)) = x' 57 // Reshape(x) = x, where input and output shapes are identical
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/ |
| H A D | ToyCombine.td | 32 // Reshape(Reshape(x)) = Reshape(x) 43 // Reshape(Constant(x)) = x' 57 // Reshape(x) = x, where input and output shapes are identical
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/ |
| H A D | ToyCombine.td | 32 // Reshape(Reshape(x)) = Reshape(x) 43 // Reshape(Constant(x)) = x' 57 // Reshape(x) = x, where input and output shapes are identical
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/ |
| H A D | ToyCombine.td | 32 // Reshape(Reshape(x)) = Reshape(x) 43 // Reshape(Constant(x)) = x' 57 // Reshape(x) = x, where input and output shapes are identical
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | constant.h | 120 std::vector<Element> Reshape(const ConstantSubscripts &) const; 149 Constant Reshape(ConstantSubscripts &&) const; 190 Constant Reshape(ConstantSubscripts &&) const; 227 Constant Reshape(ConstantSubscripts &&) const;
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | constant.cpp | 141 auto ConstantBase<RESULT, ELEMENT>::Reshape( in Reshape() function in Fortran::evaluate::ConstantBase 178 auto Constant<T>::Reshape(ConstantSubscripts &&dims) const -> Constant { in Reshape() function in Fortran::evaluate::Constant 179 return {Base::Reshape(dims), std::move(dims)}; in Reshape() 266 auto Constant<Type<TypeCategory::Character, KIND>>::Reshape( in Reshape() function in Fortran::evaluate::Constant::Character 349 auto Constant<SomeDerived>::Reshape(ConstantSubscripts &&dims) const in Reshape() function in Fortran::evaluate::Constant 351 return {result().derivedTypeSpec(), Base::Reshape(dims), std::move(dims)}; in Reshape()
|
| H A D | fold-implementation.h | 304 return constant->Reshape(common::Clone(structures.shape())); in ApplyComponent() 881 ? source->Reshape(std::move(shape.value())) in RESHAPE() 882 : pad->Reshape(std::move(shape.value()))}; in RESHAPE() 930 Constant<T> spread{source->Reshape(std::move(shape))}; in SPREAD() 1318 return Expr<T>{constant->Reshape(std::move(*shape))}; in FromArrayConstructor()
|
| /llvm-project-15.0.7/mlir/docs/Tutorials/Toy/ |
| H A D | Ch-3.md | 164 the Reshape op. 183 // Reshape(Reshape(x)) = Reshape(x) 207 optimize Reshape of a constant value by reshaping the constant in place and
|
| /llvm-project-15.0.7/flang/include/flang/Runtime/ |
| H A D | transformational.h | 29 void RTNAME(Reshape)(Descriptor &result, const Descriptor &source,
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | reshape.cpp | 71 RTNAME(Reshape)(*result, *source, *shape, &pad, &order, __FILE__, __LINE__); in main()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Transforms/ |
| H A D | Passes.td | 43 let summary = "TOSA rank Reshape to enable Broadcasting";
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/ |
| H A D | Transformational.cpp | 124 auto func = fir::runtime::getRuntimeFunc<mkRTKey(Reshape)>(loc, builder); in genReshape()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/ |
| H A D | Ops.td | 246 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/include/toy/ |
| H A D | Ops.td | 247 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/ |
| H A D | Ops.td | 278 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/include/toy/ |
| H A D | Ops.td | 279 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/include/toy/ |
| H A D | Ops.td | 279 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Tensor/IR/ |
| H A D | TensorOps.td | 674 // Reshape statically-shaped tensor. 688 // Reshape dynamically-shaped 1D tensor. 691 // Reshape unranked tensor.
|
| /llvm-project-15.0.7/mlir/test/Transforms/ |
| H A D | memref-bound-check.mlir | 155 // Reshape '%in' into '%out'.
|
| H A D | loop-fusion.mlir | 625 // Reshape from a 64 x f32 to 16 x 4 x f32. 655 // Reshape a 16x4xf32 to 64xf32.
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | transformational.cpp | 389 void RTNAME(Reshape)(Descriptor &result, const Descriptor &source, in RTNAME() argument
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | Ops.td | 303 Reshape operation is transforming its input tensor into a new tensor with
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/IR/ |
| H A D | TosaOps.td | 1432 let summary = "Reshape operator"; 1436 specified by the shape argument. Reshape may operate on tensors of any rank.
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/MemRef/IR/ |
| H A D | MemRefOps.td | 1121 // Reshape statically-shaped memref. 1135 // Reshape dynamically-shaped 1D memref. 1138 // Reshape unranked memref.
|