Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/runtime/
H A Dmatmul.cpp160 int resRank{xRank + yRank - 2}; in DoMatmul() local
161 if (xRank * yRank != 2 * resRank) { in DoMatmul()
166 resRank == 2 ? y.GetDimension(1).Extent() : 0}; in DoMatmul()
169 RCAT, RKIND, nullptr, resRank, extent, CFI_attribute_allocatable); in DoMatmul()
170 for (int j{0}; j < resRank; ++j) { in DoMatmul()
178 RUNTIME_CHECK(terminator, resRank == result.rank()); in DoMatmul()
183 resRank == 1 || result.GetDimension(1).Extent() == extent[1]); in DoMatmul()
198 if (resRank == 2) { // M*M -> M in DoMatmul()
254 if (resRank == 2) { // M*M -> M in DoMatmul()
H A DISO_Fortran_binding.cpp306 CFI_rank_t resRank{0}; in CFI_section() local
352 resRank += (stride != 0); in CFI_section()
354 if (resRank != result->rank) { in CFI_section()
361 resRank = 0; in CFI_section()
364 result->dim[resRank].extent = extent[j]; in CFI_section()
365 result->dim[resRank].lower_bound = extent[j] == 0 ? 1 in CFI_section()
368 result->dim[resRank].sm = actualStride[j] * source->dim[j].sm; in CFI_section()
369 ++resRank; in CFI_section()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp914 int64_t resRank = resultVectorType.getRank(); in matchAndRewrite() local
915 if ((srcRank == 2 && resRank == 1) || (srcRank == 1 && resRank == 2)) in matchAndRewrite()
933 SmallVector<int64_t, 4> resIdx(resRank); in matchAndRewrite()
939 incIdx(resIdx, resultVectorType, resRank - 1); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp1786 int64_t resRank = resultType.getRank(); in verify() local
1789 if (resRank != v1Rank || v1Rank != v2Rank) in verify()