Home
last modified time | relevance | path

Searched refs:srcVectorType (Results 1 – 11 of 11) sorted by relevance

/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp145 VectorType srcVectorType = in matchAndRewrite() local
150 srcVectorType, dstVectorType, rewriter)); in matchAndRewrite()
164 Value expandRanks(Value value, Location loc, VectorType srcVectorType, in expandRanks() argument
169 int64_t srcRank = srcVectorType ? srcVectorType.getRank() : 0; in expandRanks()
179 assert((srcVectorType != nullptr) && (srcRank > 0) && in expandRanks()
182 if (srcVectorType.getDimSize(r) != dstVectorType.getDimSize(r)) { in expandRanks()
203 Value duplicateOneRank(Value value, Location loc, VectorType srcVectorType, in duplicateOneRank() argument
216 Value expand = expandRanks(value, loc, srcVectorType, in duplicateOneRank()
243 Value stretchOneRank(Value value, Location loc, VectorType srcVectorType, in stretchOneRank() argument
249 bool atStretch = dim != srcVectorType.getDimSize(0); in stretchOneRank()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/Vector/
H A DVectorMultiDimReductionTransforms.cpp378 auto srcVectorType = multiReductionOp.getSourceVectorType(); in matchAndRewrite() local
379 auto srcShape = srcVectorType.getShape(); in matchAndRewrite()
381 srcVectorType.getElementType()); in matchAndRewrite()
H A DVectorOps.cpp1332 VectorType srcVectorType = srcType.dyn_cast<VectorType>(); in isBroadcastableTo() local
1333 if (!srcVectorType) in isBroadcastableTo()
1336 int64_t srcRank = srcVectorType.getRank(); in isBroadcastableTo()
1344 int64_t srcDim = srcVectorType.getDimSize(r); in isBroadcastableTo()
1567 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1568 if (srcVectorType && in verify()
1569 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1573 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Dialect/VectorOps/
H A DVectorOps.cpp602 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
606 if (srcVectorType) { in verify()
607 int64_t srcRank = srcVectorType.getRank(); in verify()
615 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
806 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
807 if (srcVectorType && in verify()
808 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
812 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp840 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
844 if (srcVectorType) { in verify()
845 int64_t srcRank = srcVectorType.getRank(); in verify()
853 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
990 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
991 if (srcVectorType && in verify()
992 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
996 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1034 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1038 if (srcVectorType) { in verify()
1039 int64_t srcRank = srcVectorType.getRank(); in verify()
1047 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
1207 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1208 if (srcVectorType && in verify()
1209 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1213 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1065 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1069 if (srcVectorType) { in verify()
1070 int64_t srcRank = srcVectorType.getRank(); in verify()
1078 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
1268 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1269 if (srcVectorType && in verify()
1270 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1274 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1065 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1069 if (srcVectorType) { in verify()
1070 int64_t srcRank = srcVectorType.getRank(); in verify()
1078 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
1268 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1269 if (srcVectorType && in verify()
1270 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1274 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1301 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1305 if (srcVectorType) { in verify()
1306 int64_t srcRank = srcVectorType.getRank(); in verify()
1314 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
1516 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1517 if (srcVectorType && in verify()
1518 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1522 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1301 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1305 if (srcVectorType) { in verify()
1306 int64_t srcRank = srcVectorType.getRank(); in verify()
1314 int64_t srcDim = srcVectorType.getDimSize(r); in verify()
1516 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>(); in verify() local
1517 if (srcVectorType && in verify()
1518 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1522 else if (!srcVectorType && (positionAttr.size() != in verify()
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorOps.cpp1301 VectorType srcVectorType = op.getSourceType().dyn_cast<VectorType>();
1305 if (srcVectorType) {
1306 int64_t srcRank = srcVectorType.getRank();
1314 int64_t srcDim = srcVectorType.getDimSize(r);
1516 auto srcVectorType = op.getSourceType().dyn_cast<VectorType>();
1517 if (srcVectorType &&
1518 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() !=
1522 else if (!srcVectorType && (positionAttr.size() !=