Home
last modified time | relevance | path

Searched refs:rhsShape (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp657 auto rhsShape = llvm::to_vector<6>( in fold() local
663 if (!OpTrait::util::getBroadcastedShape(lhsShape, rhsShape, resultShape)) in fold()
856 auto rhsShape = llvm::to_vector<6>( in fold() local
860 resultShape.append(rhsShape.begin(), rhsShape.end()); in fold()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp461 ShapeAdaptor rhsShape = operands.getShape(1); in inferReturnTypeComponents() local
472 if (rhsShape.hasRank()) { in inferReturnTypeComponents()
474 ? rhsShape.getDimSize(0) in inferReturnTypeComponents()
476 outShape[2] = rhsShape.getDimSize(2); in inferReturnTypeComponents()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp860 ArrayRef<int64_t> rhsShape, in findIntermediateShape() argument
869 if (lhsShape.empty() || rhsShape.empty()) { in findIntermediateShape()
875 while (currLhsDim < lhsShape.size() && currRhsDim < rhsShape.size()) { in findIntermediateShape()
876 int64_t rhsSize = rhsShape[currRhsDim]; in findIntermediateShape()
879 currRhsDim < rhsShape.size()) { in findIntermediateShape()
885 rhsSize *= rhsShape[currRhsDim]; in findIntermediateShape()
903 while (currRhsDim < rhsShape.size()) { in findIntermediateShape()
904 if (rhsShape[currRhsDim++] != 1) { in findIntermediateShape()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp614 ArrayRef<int64_t> rhsShape = contractOp.getRhsType().getShape(); in matchAndRewrite() local
627 if (rhsShape[dim] != 1) in matchAndRewrite()
678 rhsDims.append(rhsShape.begin(), rhsShape.end()); in matchAndRewrite()