Home
last modified time | relevance | path

Searched refs:resRank (Results 1 – 25 of 31) sorted by relevance

12

/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/runtime/
H A Dmatmul.cpp63 int resRank{xRank + yRank - 2}; in DoMatmul() local
64 if (xRank * yRank != 2 * resRank) { in DoMatmul()
69 resRank == 2 ? y.GetDimension(1).Extent() : 0}; in DoMatmul()
72 RCAT, RKIND, nullptr, resRank, extent, CFI_attribute_allocatable); in DoMatmul()
73 for (int j{0}; j < resRank; ++j) { in DoMatmul()
81 RUNTIME_CHECK(terminator, resRank == result.rank()); in DoMatmul()
85 resRank == 1 || result.GetDimension(1).Extent() == extent[1]); in DoMatmul()
100 if (resRank == 2) { // M*M -> M in DoMatmul()
H A DISO_Fortran_binding.cpp282 CFI_rank_t resRank{0}; in CFI_section() local
328 resRank += (stride != 0); in CFI_section()
330 if (resRank != result->rank) { in CFI_section()
337 resRank = 0; in CFI_section()
340 result->dim[resRank].lower_bound = 0; in CFI_section()
341 result->dim[resRank].extent = extent[j]; in CFI_section()
342 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
343 ++resRank; in CFI_section()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/runtime/
H A Dmatmul.cpp63 int resRank{xRank + yRank - 2}; in DoMatmul() local
64 if (xRank * yRank != 2 * resRank) { in DoMatmul()
69 resRank == 2 ? y.GetDimension(1).Extent() : 0}; in DoMatmul()
72 RCAT, RKIND, nullptr, resRank, extent, CFI_attribute_allocatable); in DoMatmul()
73 for (int j{0}; j < resRank; ++j) { in DoMatmul()
81 RUNTIME_CHECK(terminator, resRank == result.rank()); in DoMatmul()
85 resRank == 1 || result.GetDimension(1).Extent() == extent[1]); in DoMatmul()
100 if (resRank == 2) { // M*M -> M in DoMatmul()
H A DISO_Fortran_binding.cpp282 CFI_rank_t resRank{0}; in CFI_section() local
328 resRank += (stride != 0); in CFI_section()
330 if (resRank != result->rank) { in CFI_section()
337 resRank = 0; in CFI_section()
340 result->dim[resRank].lower_bound = 0; in CFI_section()
341 result->dim[resRank].extent = extent[j]; in CFI_section()
342 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
343 ++resRank; in CFI_section()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/runtime/
H A Dmatmul.cpp63 int resRank{xRank + yRank - 2}; in DoMatmul() local
64 if (xRank * yRank != 2 * resRank) { in DoMatmul()
69 resRank == 2 ? y.GetDimension(1).Extent() : 0}; in DoMatmul()
72 RCAT, RKIND, nullptr, resRank, extent, CFI_attribute_allocatable); in DoMatmul()
73 for (int j{0}; j < resRank; ++j) { in DoMatmul()
81 RUNTIME_CHECK(terminator, resRank == result.rank()); in DoMatmul()
85 resRank == 1 || result.GetDimension(1).Extent() == extent[1]); in DoMatmul()
100 if (resRank == 2) { // M*M -> M in DoMatmul()
H A DISO_Fortran_binding.cpp282 CFI_rank_t resRank{0}; in CFI_section() local
328 resRank += (stride != 0); in CFI_section()
330 if (resRank != result->rank) { in CFI_section()
337 resRank = 0; in CFI_section()
340 result->dim[resRank].lower_bound = 0; in CFI_section()
341 result->dim[resRank].extent = extent[j]; in CFI_section()
342 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
343 ++resRank; in CFI_section()
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/runtime/
H A Dmatmul.cpp63 int resRank{xRank + yRank - 2}; in DoMatmul() local
64 if (xRank * yRank != 2 * resRank) { in DoMatmul()
69 resRank == 2 ? y.GetDimension(1).Extent() : 0}; in DoMatmul()
72 RCAT, RKIND, nullptr, resRank, extent, CFI_attribute_allocatable); in DoMatmul()
73 for (int j{0}; j < resRank; ++j) { in DoMatmul()
81 RUNTIME_CHECK(terminator, resRank == result.rank()); in DoMatmul()
85 resRank == 1 || result.GetDimension(1).Extent() == extent[1]); in DoMatmul()
100 if (resRank == 2) { // M*M -> M in DoMatmul()
H A DISO_Fortran_binding.cpp282 CFI_rank_t resRank{0};
328 resRank += (stride != 0);
330 if (resRank != result->rank) {
337 resRank = 0;
340 result->dim[resRank].lower_bound = 0;
341 result->dim[resRank].extent = extent[j];
342 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm;
343 ++resRank;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/flang/runtime/
H A DISO_Fortran_binding.cpp279 CFI_rank_t resRank{0}; in CFI_section() local
325 resRank += (stride != 0); in CFI_section()
327 if (resRank != result->rank) { in CFI_section()
334 resRank = 0; in CFI_section()
337 result->dim[resRank].lower_bound = 0; in CFI_section()
338 result->dim[resRank].extent = extent[j]; in CFI_section()
339 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
340 ++resRank; in CFI_section()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/flang/runtime/
H A DISO_Fortran_binding.cpp279 CFI_rank_t resRank{0}; in CFI_section() local
325 resRank += (stride != 0); in CFI_section()
327 if (resRank != result->rank) { in CFI_section()
334 resRank = 0; in CFI_section()
337 result->dim[resRank].lower_bound = 0; in CFI_section()
338 result->dim[resRank].extent = extent[j]; in CFI_section()
339 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
340 ++resRank; in CFI_section()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/flang/runtime/
H A DISO_Fortran_binding.cpp279 CFI_rank_t resRank{0}; in CFI_section() local
325 resRank += (stride != 0); in CFI_section()
327 if (resRank != result->rank) { in CFI_section()
334 resRank = 0; in CFI_section()
337 result->dim[resRank].lower_bound = 0; in CFI_section()
338 result->dim[resRank].extent = extent[j]; in CFI_section()
339 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
340 ++resRank; in CFI_section()
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/runtime/
H A DISO_Fortran_binding.cpp279 CFI_rank_t resRank{0}; in CFI_section() local
325 resRank += (stride != 0); in CFI_section()
327 if (resRank != result->rank) { in CFI_section()
334 resRank = 0; in CFI_section()
337 result->dim[resRank].lower_bound = 0; in CFI_section()
338 result->dim[resRank].extent = extent[j]; in CFI_section()
339 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
340 ++resRank; in CFI_section()
/dports/devel/f18/f18-1688bef/runtime/
H A DISO_Fortran_binding.cc219 CFI_rank_t resRank{0}; in CFI_section() local
265 resRank += (stride != 0); in CFI_section()
267 if (resRank != result->rank) { in CFI_section()
274 resRank = 0; in CFI_section()
277 result->dim[resRank].lower_bound = 0; in CFI_section()
278 result->dim[resRank].extent = extent[j]; in CFI_section()
279 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
280 ++resRank; in CFI_section()
/dports/science/gnudatalanguage/gdl-1.0.1/src/
H A Ddatatypes.cpp4298 if( resRank < srcRank) in Rebin()
4301 nDim = resRank; in Rebin()
4342 if( resRank < srcRank) in Rebin()
4345 nDim = resRank; in Rebin()
4384 if( resRank < srcRank) in Rebin()
4387 nDim = resRank; in Rebin()
4426 if( resRank < srcRank) in Rebin()
4429 nDim = resRank; in Rebin()
4468 if( resRank < srcRank) in Rebin()
4471 nDim = resRank; in Rebin()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1518 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1519 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1532 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1538 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
H A DVectorOps.cpp887 int64_t resRank = resultType.getRank(); in verify() local
890 if (resRank != v1Rank || v1Rank != v2Rank) in verify()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1564 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1565 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1578 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1584 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
H A DVectorOps.cpp1092 int64_t resRank = resultType.getRank(); in verify() local
1095 if (resRank != v1Rank || v1Rank != v2Rank) in verify()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1580 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1581 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1594 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1600 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1580 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1581 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1594 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1600 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1075 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1076 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1089 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1095 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1070 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1071 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1084 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1090 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1070 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1071 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1084 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1090 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Dialect/Vector/
H A DVectorTransforms.cpp1070 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
1071 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
1084 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
1090 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/lib/Dialect/VectorOps/
H A DVectorOps.cpp661 int64_t resRank = resultType.getRank(); in verify() local
664 if (resRank != v1Rank || v1Rank != v2Rank) in verify()

12