/dports/devel/f18/f18-1688bef/lib/evaluate/ |
H A D | tools.cc | 610 if (int xRank{x.Rank()}; xRank > 0) { in ConvertToType() local 611 if (symbol.Rank() != xRank) { in ConvertToType()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/flang/lib/Evaluate/ |
H A D | tools.cpp | 664 if (int xRank{x.Rank()}; xRank > 0) { in ConvertToType() local 665 if (symbol.Rank() != xRank) { in ConvertToType()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/runtime/ |
H A D | matmul.cpp | 61 int xRank{x.rank()}; in DoMatmul() local 63 int resRank{xRank + yRank - 2}; in DoMatmul() 64 if (xRank * yRank != 2 * resRank) { in DoMatmul() 65 terminator.Crash("MATMUL: bad argument ranks (%d * %d)", xRank, yRank); in DoMatmul() 68 xRank == 2 ? x.GetDimension(0).Extent() : y.GetDimension(1).Extent(), in DoMatmul() 90 SubscriptValue n{x.GetDimension(xRank - 1).Extent()}; in DoMatmul() 140 if (xRank == 2) { // M*V -> V in DoMatmul()
|
H A D | reduction-templates.h | 167 int xRank{x.rank()}; in CreatePartialReductionResult() 168 if (dim < 1 || dim > xRank) { in CreatePartialReductionResult() 169 terminator.Crash("%s: bad DIM=%d for rank %d", intrinsic, dim, xRank); in CreatePartialReductionResult() 176 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult() 179 result.Establish(typeCode, x.ElementBytes(), nullptr, xRank - 1, resultExtent, in CreatePartialReductionResult() 181 for (int j{0}; j + 1 < xRank; ++j) { in CreatePartialReductionResult()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/runtime/ |
H A D | matmul.cpp | 61 int xRank{x.rank()}; in DoMatmul() local 63 int resRank{xRank + yRank - 2}; in DoMatmul() 64 if (xRank * yRank != 2 * resRank) { in DoMatmul() 65 terminator.Crash("MATMUL: bad argument ranks (%d * %d)", xRank, yRank); in DoMatmul() 68 xRank == 2 ? x.GetDimension(0).Extent() : y.GetDimension(1).Extent(), in DoMatmul() 90 SubscriptValue n{x.GetDimension(xRank - 1).Extent()}; in DoMatmul() 140 if (xRank == 2) { // M*V -> V in DoMatmul()
|
H A D | reduction-templates.h | 167 int xRank{x.rank()}; in CreatePartialReductionResult() 168 if (dim < 1 || dim > xRank) { in CreatePartialReductionResult() 169 terminator.Crash("%s: bad DIM=%d for rank %d", intrinsic, dim, xRank); in CreatePartialReductionResult() 176 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult() 179 result.Establish(typeCode, x.ElementBytes(), nullptr, xRank - 1, resultExtent, in CreatePartialReductionResult() 181 for (int j{0}; j + 1 < xRank; ++j) { in CreatePartialReductionResult()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/runtime/ |
H A D | matmul.cpp | 61 int xRank{x.rank()}; in DoMatmul() local 63 int resRank{xRank + yRank - 2}; in DoMatmul() 64 if (xRank * yRank != 2 * resRank) { in DoMatmul() 65 terminator.Crash("MATMUL: bad argument ranks (%d * %d)", xRank, yRank); in DoMatmul() 68 xRank == 2 ? x.GetDimension(0).Extent() : y.GetDimension(1).Extent(), in DoMatmul() 90 SubscriptValue n{x.GetDimension(xRank - 1).Extent()}; in DoMatmul() 140 if (xRank == 2) { // M*V -> V in DoMatmul()
|
H A D | reduction-templates.h | 167 int xRank{x.rank()}; in CreatePartialReductionResult() 168 if (dim < 1 || dim > xRank) { in CreatePartialReductionResult() 169 terminator.Crash("%s: bad DIM=%d for rank %d", intrinsic, dim, xRank); in CreatePartialReductionResult() 176 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult() 179 result.Establish(typeCode, x.ElementBytes(), nullptr, xRank - 1, resultExtent, in CreatePartialReductionResult() 181 for (int j{0}; j + 1 < xRank; ++j) { in CreatePartialReductionResult()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/runtime/ |
H A D | matmul.cpp | 61 int xRank{x.rank()}; in DoMatmul() local 63 int resRank{xRank + yRank - 2}; in DoMatmul() 64 if (xRank * yRank != 2 * resRank) { in DoMatmul() 65 terminator.Crash("MATMUL: bad argument ranks (%d * %d)", xRank, yRank); in DoMatmul() 68 xRank == 2 ? x.GetDimension(0).Extent() : y.GetDimension(1).Extent(), in DoMatmul() 90 SubscriptValue n{x.GetDimension(xRank - 1).Extent()}; in DoMatmul() 140 if (xRank == 2) { // M*V -> V in DoMatmul()
|
H A D | reduction-templates.h | 167 int xRank{x.rank()}; in CreatePartialReductionResult() 168 if (dim < 1 || dim > xRank) { in CreatePartialReductionResult() 169 terminator.Crash("%s: bad DIM=%d for rank %d", intrinsic, dim, xRank); in CreatePartialReductionResult() 176 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult() 179 result.Establish(typeCode, x.ElementBytes(), nullptr, xRank - 1, resultExtent, in CreatePartialReductionResult() 181 for (int j{0}; j + 1 < xRank; ++j) { in CreatePartialReductionResult()
|