Home
last modified time | relevance | path

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

/llvm-project/flang/runtime/
H A Dreduction-templates.h118 const Descriptor &descriptor, int zeroBasedDim, in GetExpandedSubscripts()
123 for (; j < zeroBasedDim; ++j) { in GetExpandedSubscripts()
133 int zeroBasedDim, SubscriptValue subscripts[], TYPE *result, in ReduceDimToScalar()
136 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in ReduceDimToScalar()
137 const auto &dim{x.GetDimension(zeroBasedDim)}; in ReduceDimToScalar()
140 xAt[zeroBasedDim] = at; in ReduceDimToScalar()
146 accumulator.GetResult(result, zeroBasedDim); in ReduceDimToScalar()
148 accumulator.template GetResult<TYPE>(result, zeroBasedDim);
154 int zeroBasedDim, SubscriptValue subscripts[], const Descriptor &mask, in ReduceDimMaskToScalar()
157 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscript in ReduceDimMaskToScalar()
114 GetExpandedSubscripts(SubscriptValue at[],const Descriptor & descriptor,int zeroBasedDim,const SubscriptValue from[]) GetExpandedSubscripts() argument
129 ReduceDimToScalar(const Descriptor & x,int zeroBasedDim,SubscriptValue subscripts[],TYPE * result,ACCUMULATOR & accumulator) ReduceDimToScalar() argument
150 ReduceDimMaskToScalar(const Descriptor & x,int zeroBasedDim,SubscriptValue subscripts[],const Descriptor & mask,TYPE * result,ACCUMULATOR & accumulator) ReduceDimMaskToScalar() argument
[all...]
H A Dallocatable.cpp111 void RTDEF(AllocatableSetBounds)(Descriptor &descriptor, int zeroBasedDim, in RTDEF()
113 INTERNAL_CHECK(zeroBasedDim >= 0 && zeroBasedDim < descriptor.rank()); in RTDEF()
115 descriptor.GetDimension(zeroBasedDim).SetBounds(lower, upper); in RTDEF()
H A Dpointer.cpp43 void RTDEF(PointerSetBounds)(Descriptor &pointer, int zeroBasedDim, in RTDEF()
45 INTERNAL_CHECK(zeroBasedDim >= 0 && zeroBasedDim < pointer.rank()); in RTDEF()
46 pointer.GetDimension(zeroBasedDim).SetBounds(lower, upper); in RTDEF()
H A Dtools.cpp251 int zeroBasedDim{dim - 1}; in CreatePartialReductionResult() local
253 for (int j{0}; j < zeroBasedDim; ++j) { in CreatePartialReductionResult()
256 for (int j{zeroBasedDim + 1}; j < xRank; ++j) { in CreatePartialReductionResult()
H A Dfindloc.cpp96 RT_API_ATTRS void GetResult(A *p, int zeroBasedDim = -1) { in GetResult()
97 if (zeroBasedDim >= 0) { in GetResult()
98 *p = gotAnything_ ? location_[zeroBasedDim] - in GetResult()
99 array_.GetDimension(zeroBasedDim).LowerBound() + 1 in GetResult()
90 GetResult(A * p,int zeroBasedDim=-1) GetResult() argument
H A Dreduction.cpp31 RT_API_ATTRS void GetResult(A *p, int /*zeroBasedDim*/ = -1) const { in GetResult()
51 RT_API_ATTRS void GetResult(A *p, int /*zeroBasedDim*/ = -1) const { in GetResult()
71 RT_API_ATTRS void GetResult(A *p, int /*zeroBasedDim*/ = -1) const { in GetResult()
267 inline auto ReduceLogicalDimToScalar(const Descriptor &x, int zeroBasedDim, in ReduceLogicalDimToScalar()
271 GetExpandedSubscripts(xAt, x, zeroBasedDim, subscripts); in operator ()()
272 const auto &dim{x.GetDimension(zeroBasedDim)}; in operator ()()
275 xAt[zeroBasedDim] = at; in operator ()()
253 ReduceLogicalDimToScalar(const Descriptor & x,int zeroBasedDim,SubscriptValue subscripts[]) ReduceLogicalDimToScalar() argument
H A Dextrema.cpp79 RT_API_ATTRS void GetResult(A *p, int zeroBasedDim = -1) { in GetResult() argument
80 if (zeroBasedDim >= 0) { in GetResult()
81 *p = extremumLoc_[zeroBasedDim]; in GetResult()
497 RT_API_ATTRS void GetResult(A *p, int /*zeroBasedDim*/ = -1) const { in NumericMaxOrMin()
583 RT_API_ATTRS void GetResult(A *p, int /*zeroBasedDim*/ = -1) const { in RTDEF()
/llvm-project/flang/include/flang/Runtime/
H A Dallocatable.h66 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);
H A Dpointer.h34 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);