Home
last modified time | relevance | path

Searched refs:Reshape (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/
H A DToyCombine.td32 // 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 DToyCombine.td32 // 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 DToyCombine.td32 // 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 DToyCombine.td32 // 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 DToyCombine.td32 // 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 Dconstant.h120 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 Dconstant.cpp141 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 Dfold-implementation.h304 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 DCh-3.md164 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 Dtransformational.h29 void RTNAME(Reshape)(Descriptor &result, const Descriptor &source,
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dreshape.cpp71 RTNAME(Reshape)(*result, *source, *shape, &pad, &order, __FILE__, __LINE__); in main()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Transforms/
H A DPasses.td43 let summary = "TOSA rank Reshape to enable Broadcasting";
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DTransformational.cpp124 auto func = fir::runtime::getRuntimeFunc<mkRTKey(Reshape)>(loc, builder); in genReshape()
/llvm-project-15.0.7/mlir/examples/toy/Ch3/include/toy/
H A DOps.td246 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 DOps.td247 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 DOps.td278 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 DOps.td279 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 DOps.td279 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 DTensorOps.td674 // Reshape statically-shaped tensor.
688 // Reshape dynamically-shaped 1D tensor.
691 // Reshape unranked tensor.
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dmemref-bound-check.mlir155 // Reshape '%in' into '%out'.
H A Dloop-fusion.mlir625 // 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 Dtransformational.cpp389 void RTNAME(Reshape)(Descriptor &result, const Descriptor &source, in RTNAME() argument
/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DOps.td303 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 DTosaOps.td1432 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 DMemRefOps.td1121 // Reshape statically-shaped memref.
1135 // Reshape dynamically-shaped 1D memref.
1138 // Reshape unranked memref.

12