Home
last modified time | relevance | path

Searched refs:dimExtent (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dtransformational.cpp159 SubscriptValue dimExtent{extent[dim - 1]}; in RTNAME() local
162 for (std::size_t n{result.Elements()}; n > 0; n -= dimExtent) { in RTNAME()
169 sourceDim = dimLB + shiftCount % dimExtent; in RTNAME()
171 sourceDim += dimExtent; in RTNAME()
173 for (resDim = 1; resDim <= dimExtent; ++resDim) { in RTNAME()
175 if (++sourceDim == dimLB + dimExtent) { in RTNAME()
256 SubscriptValue dimExtent{extent[dim - 1]}; in RTNAME() local
259 for (std::size_t n{result.Elements()}; n > 0; n -= dimExtent) { in RTNAME()
267 for (resDim = 1; resDim <= dimExtent; ++resDim) { in RTNAME()
268 if (sourceDim >= dimLB && sourceDim < dimLB + dimExtent) { in RTNAME()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold-reduction.h97 ConstantSubscript dimExtent{array.shape().at(*dim - 1)}; in DoReduction()
104 for (ConstantSubscript j{0}; j < dimExtent; ++j, ++dimAt) { in DoReduction()
H A Dfold-implementation.h620 ConstantSubscript dimExtent{array->shape()[zbDim]}; in CSHIFT()
634 dimIndex = dimLB + ((dimIndex - dimLB + shiftCount) % dimExtent); in CSHIFT()
636 dimIndex += dimExtent; in CSHIFT()
637 } else if (dimIndex >= dimLB + dimExtent) { in CSHIFT()
638 dimIndex -= dimExtent; in CSHIFT()
728 ConstantSubscript dimExtent{array->shape()[zbDim]}; in EOSHIFT()
747 if (dimIndex >= dimLB && dimIndex < dimLB + dimExtent) { in EOSHIFT()