Home
last modified time | relevance | path

Searched refs:xAt (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dmatmul.cpp250 SubscriptValue xAt[2], yAt[2], resAt[2]; in DoMatmul() local
251 x.GetLowerBounds(xAt); in DoMatmul()
261 xAt[1] = x1 + k; in DoMatmul()
269 ++xAt[0]; in DoMatmul()
272 SubscriptValue x1{xAt[1]}, y0{yAt[0]}; in DoMatmul()
276 xAt[1] = x1 + k; in DoMatmul()
278 accumulator.Accumulate(xAt, yAt); in DoMatmul()
282 ++xAt[0]; in DoMatmul()
285 SubscriptValue x0{xAt[0]}, y0{yAt[0]}; in DoMatmul()
289 xAt[0] = x0 + k; in DoMatmul()
[all …]
H A Dreduction-templates.h50 SubscriptValue xAt[maxRank]; in DoTotalReduction() local
51 x.GetLowerBounds(xAt); in DoTotalReduction()
60 accumulator.template AccumulateAt<TYPE>(xAt); in DoTotalReduction()
71 if (!accumulator.template AccumulateAt<TYPE>(xAt)) { in DoTotalReduction()
117 SubscriptValue xAt[maxRank]; in ReduceDimToScalar() local
118 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in ReduceDimToScalar()
122 xAt[zeroBasedDim] = at; in ReduceDimToScalar()
123 if (!accumulator.template AccumulateAt<TYPE>(xAt)) { in ReduceDimToScalar()
138 SubscriptValue xAt[maxRank], maskAt[maxRank]; in ReduceDimMaskToScalar() local
139 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in ReduceDimMaskToScalar()
[all …]
H A Dreduction.cpp233 SubscriptValue xAt[maxRank]; in GetTotalLogicalReduction() local
234 x.GetLowerBounds(xAt); in GetTotalLogicalReduction()
235 for (auto elements{x.Elements()}; elements--; x.IncrementSubscripts(xAt)) { in GetTotalLogicalReduction()
236 if (!accumulator.AccumulateAt(xAt)) { in GetTotalLogicalReduction()
247 SubscriptValue xAt[maxRank]; in ReduceLogicalDimToScalar() local
248 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in ReduceLogicalDimToScalar()
252 xAt[zeroBasedDim] = at; in ReduceLogicalDimToScalar()
253 if (!accumulator.AccumulateAt(xAt)) { in ReduceLogicalDimToScalar()
H A Ddot-product.cpp30 void AccumulateIndexed(SubscriptValue xAt, SubscriptValue yAt) { in AccumulateIndexed() argument
33 (IsLogicalElementTrue(x_, &xAt) && IsLogicalElementTrue(y_, &yAt)); in AccumulateIndexed()
35 const XT &xElement{*x_.Element<XT>(&xAt)}; in AccumulateIndexed()
98 SubscriptValue xAt{x.GetDimension(0).LowerBound()}; in DoDotProduct() local
102 accumulator.AccumulateIndexed(xAt++, yAt++); in DoDotProduct()
H A Dcharacter.cpp86 SubscriptValue ub[maxRank], xAt[maxRank], yAt[maxRank]; in Compare() local
104 x.GetLowerBounds(xAt); in Compare()
117 ++resultAt, x.IncrementSubscripts(xAt), y.IncrementSubscripts(yAt)) { in Compare()
119 x.Element<CHAR>(xAt), y.Element<CHAR>(yAt), xChars, yChars); in Compare()
488 SubscriptValue ub[maxRank], xAt[maxRank]; in MaxMinHelper() local
513 x.GetLowerBounds(xAt); in MaxMinHelper()
526 accumData += accumChars, result += chars, x.IncrementSubscripts(xAt)) { in MaxMinHelper()
527 const CHAR *xData{x.Element<CHAR>(xAt)}; in MaxMinHelper()