Home
last modified time | relevance | path

Searched refs:xRank (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dmatmul.cpp158 int xRank{x.rank()}; in DoMatmul() local
160 int resRank{xRank + yRank - 2}; in DoMatmul()
161 if (xRank * yRank != 2 * resRank) { in DoMatmul()
162 terminator.Crash("MATMUL: bad argument ranks (%d * %d)", xRank, yRank); in DoMatmul()
165 xRank == 2 ? x.GetDimension(0).Extent() : y.GetDimension(1).Extent(), in DoMatmul()
185 SubscriptValue n{x.GetDimension(xRank - 1).Extent()}; in DoMatmul()
214 } else if (xRank == 2) { // M*V -> V in DoMatmul()
271 } else if (xRank == 2) { // M*V -> V in DoMatmul()
H A Dreduction-templates.h167 int xRank{x.rank()}; in CreatePartialReductionResult()
168 if (dim < 1 || dim > xRank) { in CreatePartialReductionResult()
170 "%s: bad DIM=%d for ARRAY with rank %d", intrinsic, dim, xRank); in CreatePartialReductionResult()
177 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult()
180 result.Establish(typeCode, x.ElementBytes(), nullptr, xRank - 1, resultExtent, in CreatePartialReductionResult()
182 for (int j{0}; j + 1 < xRank; ++j) { in CreatePartialReductionResult()