Home
last modified time | relevance | path

Searched refs:zeroBasedDim (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dreduction-templates.h106 for (; j < zeroBasedDim; ++j) { in GetExpandedSubscripts()
119 const auto &dim{x.GetDimension(zeroBasedDim)}; in ReduceDimToScalar()
122 xAt[zeroBasedDim] = at; in ReduceDimToScalar()
128 accumulator.GetResult(result, zeroBasedDim); in ReduceDimToScalar()
141 const auto &xDim{x.GetDimension(zeroBasedDim)}; in ReduceDimMaskToScalar()
147 maskAt[zeroBasedDim] = maskPos; in ReduceDimMaskToScalar()
149 xAt[zeroBasedDim] = xPos; in ReduceDimMaskToScalar()
156 accumulator.GetResult(result, zeroBasedDim); in ReduceDimMaskToScalar()
172 int zeroBasedDim{dim - 1}; in CreatePartialReductionResult()
174 for (int j{0}; j < zeroBasedDim; ++j) { in CreatePartialReductionResult()
[all …]
H A Dallocatable.cpp48 void RTNAME(AllocatableSetBounds)(Descriptor &descriptor, int zeroBasedDim, in RTNAME()
50 INTERNAL_CHECK(zeroBasedDim >= 0 && zeroBasedDim < descriptor.rank()); in RTNAME()
51 descriptor.GetDimension(zeroBasedDim).SetBounds(lower, upper); in RTNAME()
H A Dpointer.cpp40 void RTNAME(PointerSetBounds)(Descriptor &pointer, int zeroBasedDim, in RTNAME()
42 INTERNAL_CHECK(zeroBasedDim >= 0 && zeroBasedDim < pointer.rank()); in RTNAME()
43 pointer.GetDimension(zeroBasedDim).SetBounds(lower, upper); in RTNAME()
H A Dfindloc.cpp96 template <typename A> void GetResult(A *p, int zeroBasedDim = -1) { in GetResult() argument
97 if (zeroBasedDim >= 0) { in GetResult()
98 *p = location_[zeroBasedDim] - in GetResult()
99 array_.GetDimension(zeroBasedDim).LowerBound() + 1; in GetResult()
H A Dreduction.cpp244 inline auto ReduceLogicalDimToScalar(const Descriptor &x, int zeroBasedDim, in ReduceLogicalDimToScalar() argument
248 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in ReduceLogicalDimToScalar()
249 const auto &dim{x.GetDimension(zeroBasedDim)}; in ReduceLogicalDimToScalar()
252 xAt[zeroBasedDim] = at; in ReduceLogicalDimToScalar()
H A Dextrema.cpp76 template <typename A> void GetResult(A *p, int zeroBasedDim = -1) { in GetResult() argument
77 if (zeroBasedDim >= 0) { in GetResult()
78 *p = extremumLoc_[zeroBasedDim] - in GetResult()
79 array_.GetDimension(zeroBasedDim).LowerBound() + 1; in GetResult()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dallocatable.h54 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);
H A Dpointer.h34 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);