Searched refs:zeroBasedDim (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | reduction-templates.h | 106 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 D | allocatable.cpp | 48 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 D | pointer.cpp | 40 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 D | findloc.cpp | 96 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 D | reduction.cpp | 244 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 D | extrema.cpp | 76 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 D | allocatable.h | 54 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);
|
| H A D | pointer.h | 34 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);
|