| /llvm-project-15.0.7/flang/runtime/ |
| H A D | transformational.cpp | 82 SubscriptValue lb_[maxRank]; 150 SubscriptValue extent[maxRank]; in RTNAME() 153 SubscriptValue resultAt[maxRank]; in RTNAME() 157 SubscriptValue sourceLB[maxRank]; in RTNAME() 207 SubscriptValue extent[maxRank]; in RTNAME() 243 SubscriptValue resultAt[maxRank]; in RTNAME() 250 SubscriptValue sourceLB[maxRank]; in RTNAME() 438 int dimOrder[maxRank]; in RTNAME() 507 SubscriptValue extent[maxRank]; in RTNAME() 556 SubscriptValue extent[maxRank]; in RTNAME() [all …]
|
| H A D | reduction-templates.h | 50 SubscriptValue xAt[maxRank]; in DoTotalReduction() 54 SubscriptValue maskAt[maxRank]; in DoTotalReduction() 117 SubscriptValue xAt[maxRank]; in ReduceDimToScalar() 138 SubscriptValue xAt[maxRank], maskAt[maxRank]; in ReduceDimMaskToScalar() 173 SubscriptValue resultExtent[maxRank]; in CreatePartialReductionResult() 199 SubscriptValue at[maxRank]; in PartialReduction() 205 SubscriptValue maskAt[maxRank]; // contents unused in PartialReduction()
|
| H A D | descriptor-io.h | 49 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() 82 SubscriptValue subscripts[maxRank]; in FormattedRealIO() 115 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() 163 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() 203 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() 250 StaticDescriptor<maxRank, true, 16 /*?*/> statDesc; in DefaultFormattedComponentIO() 292 SubscriptValue subscripts[maxRank]; in FormattedDerivedTypeIO() 296 SubscriptValue at[maxRank]; in FormattedDerivedTypeIO() 339 SubscriptValue subscripts[maxRank]; in UnformattedDescriptorIO()
|
| H A D | derived.cpp | 58 SubscriptValue extent[maxRank]; in Initialize() 67 StaticDescriptor<maxRank, true, 0> staticDescriptor; in Initialize() 119 StaticDescriptor<maxRank, true, 8 /*?*/> statDesc; in CallFinalSubroutine() 137 StaticDescriptor<maxRank, true, 8 /*?*/> statDesc; in CallFinalSubroutine() 188 SubscriptValue extent[maxRank]; in Finalize() 196 StaticDescriptor<maxRank, true, 0> staticDescriptor; in Finalize()
|
| H A D | character.cpp | 86 SubscriptValue ub[maxRank], xAt[maxRank], yAt[maxRank]; in Compare() 152 SubscriptValue ub[maxRank], stringAt[maxRank]; in AdjustLRHelper() 208 SubscriptValue ub[maxRank], stringAt[maxRank]; in LenTrim() 381 SubscriptValue ub[maxRank], stringAt[maxRank], argAt[maxRank], in GeneralCharFunc() 382 backAt[maxRank]; in GeneralCharFunc() 488 SubscriptValue ub[maxRank], xAt[maxRank]; in MaxMinHelper() 571 SubscriptValue ub[maxRank], fromAt[maxRank]; in RTNAME() 631 SubscriptValue ub[maxRank], lhsAt[maxRank], rhsAt[maxRank]; in RTNAME()
|
| H A D | copy.cpp | 55 SubscriptValue toAt[maxRank], fromAt[maxRank]; in CopyArray()
|
| H A D | assign.cpp | 45 StaticDescriptor<maxRank, true, 8 /*?*/> statDesc[2]; in DoElementalDefinedAssignment() 139 SubscriptValue toAt[maxRank]; in Assign() 144 SubscriptValue fromAt[maxRank]; in Assign() 191 StaticDescriptor<maxRank, true, 10 /*?*/> statDesc[2]; in Assign()
|
| H A D | namelist.cpp | 147 SubscriptValue lower[maxRank], upper[maxRank], stride[maxRank]; in HandleSubscripts() 156 if (j < maxRank && j < source.rank()) { in HandleSubscripts() 430 StaticDescriptor<maxRank, true, 16> staticDesc[2]; in IONAME()
|
| H A D | reduction.cpp | 233 SubscriptValue xAt[maxRank]; in GetTotalLogicalReduction() 247 SubscriptValue xAt[maxRank]; in ReduceLogicalDimToScalar() 267 SubscriptValue at[maxRank]; in operator ()() 315 SubscriptValue at[maxRank]; in operator ()()
|
| H A D | internal-unit.h | 49 StaticDescriptor<maxRank, true /*addendum*/> staticDescriptor_;
|
| H A D | misc-intrinsic.cpp | 39 SubscriptValue sourceAt[maxRank]; in TransferImpl()
|
| H A D | internal-unit.cpp | 33 terminator, that.SizeInBytes() <= d.SizeInBytes(maxRank, true, 0)); in InternalDescriptorUnit()
|
| H A D | random.cpp | 66 SubscriptValue at[maxRank]; in Generate()
|
| H A D | type-info.cpp | 150 SubscriptValue at[maxRank]; in FindDataComponent()
|
| H A D | extrema.cpp | 100 SubscriptValue extremumLoc_[maxRank]; 246 SubscriptValue maskAt[maxRank]; // contents unused in TypedPartialMaxOrMinLoc()
|
| H A D | findloc.cpp | 122 SubscriptValue location_[maxRank];
|
| /llvm-project-15.0.7/flang/include/flang/Runtime/ |
| H A D | descriptor.h | 40 static constexpr int maxRank{CFI_MAX_RANK}; 153 int rank = maxRank, const SubscriptValue *extent = nullptr, 161 int rank = maxRank, const SubscriptValue *extent = nullptr, 165 int rank = maxRank, const SubscriptValue *extent = nullptr, 169 void *p = nullptr, int rank = maxRank, 181 void *p = nullptr, int rank = maxRank, 233 SubscriptValue at[maxRank]; in ZeroBasedIndexedElement() 279 std::size_t dimCoefficient[maxRank]; 352 bool IsContiguous(int leadingDimensions = maxRank) const { 394 static constexpr int maxRank{MAX_RANK}; in alignas() [all …]
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-select-rank.cpp | 56 std::optional<parser::CharBlock> caseForRank[common::maxRank + 1]; in Leave() 99 if (*val < 0 || *val > common::maxRank) { // C1151 in Leave() 103 common::maxRank); in Leave()
|
| H A D | check-declarations.cpp | 474 if (details.shape().Rank() > common::maxRank) { in CheckObjectEntity() 477 symbol.name(), details.shape().Rank(), common::maxRank); in CheckObjectEntity() 479 common::maxRank) { in CheckObjectEntity() 483 common::maxRank); in CheckObjectEntity()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/ |
| H A D | ShapeToStandard.cpp | 143 Value maxRank = ranks.front(); in matchAndRewrite() local 146 lb.create<arith::CmpIOp>(arith::CmpIPredicate::ugt, v, maxRank); in matchAndRewrite() 147 maxRank = lb.create<arith::SelectOp>(rankIsGreater, v, maxRank); in matchAndRewrite() 152 return lb.create<arith::SubIOp>(indexTy, maxRank, v); in matchAndRewrite() 156 getExtentTensorType(lb.getContext()), ValueRange{maxRank}, in matchAndRewrite() 258 Value maxRank = ranks.front(); in matchAndRewrite() local 261 lb.create<arith::CmpIOp>(arith::CmpIPredicate::ugt, v, maxRank); in matchAndRewrite() 262 maxRank = lb.create<arith::SelectOp>(rankIsGreater, v, maxRank); in matchAndRewrite() 267 return lb.create<arith::SubIOp>(indexTy, maxRank, v); in matchAndRewrite() 275 loc, zero, maxRank, one, ValueRange{trueVal}, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/ |
| H A D | Traits.cpp | 27 size_t maxRank = shapes[0].size(); in staticallyKnownBroadcastable() local 29 maxRank = std::max(maxRank, shapes[i].size()); in staticallyKnownBroadcastable() 32 for (size_t i = 0; i != maxRank; ++i) { in staticallyKnownBroadcastable()
|
| /llvm-project-15.0.7/flang/include/flang/Common/ |
| H A D | Fortran.h | 74 static constexpr int maxRank{15};
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/ |
| H A D | Shape.cpp | 817 int64_t maxRank = 0; in matchAndRewrite() local 824 maxRank = std::max(maxRank, extentTensorTy.getDimSize(0)); in matchAndRewrite() 829 op.getLoc(), getExtentTensorType(getContext(), maxRank), in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | constant.cpp | 101 std::bitset<common::maxRank> seenDimensions; in ValidateDimensionOrder()
|
| H A D | fold-implementation.h | 858 } else if (shape.value().size() > common::maxRank) { in RESHAPE() 861 common::maxRank); in RESHAPE() 909 if (sourceRank >= common::maxRank) { in SPREAD() 912 sourceRank, common::maxRank); in SPREAD()
|