Home
last modified time | relevance | path

Searched refs:SubscriptValue (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/flang/runtime/
Ddescriptor.h37 using SubscriptValue = ISO::CFI_index_t; variable
46 SubscriptValue LowerBound() const { return raw_.lower_bound; } in LowerBound()
47 SubscriptValue Extent() const { return raw_.extent; } in Extent()
48 SubscriptValue UpperBound() const { return LowerBound() + Extent() - 1; } in UpperBound()
49 SubscriptValue ByteStride() const { return raw_.sm; } in ByteStride()
51 Dimension &SetBounds(SubscriptValue lower, SubscriptValue upper) { in SetBounds()
56 Dimension &SetByteStride(SubscriptValue bytes) { in SetByteStride()
148 int rank = maxRank, const SubscriptValue *extent = nullptr,
152 const SubscriptValue *extent = nullptr,
156 int rank = maxRank, const SubscriptValue *extent = nullptr,
[all …]
Dtransformational.cpp40 SubscriptValue resultRank{shape.GetDimension(0).Extent()}; in RESHAPE()
42 resultRank >= 0 && resultRank <= static_cast<SubscriptValue>(maxRank)); in RESHAPE()
45 SubscriptValue lowerBound[maxRank]; // all 1's in RESHAPE()
46 SubscriptValue resultExtent[maxRank]; in RESHAPE()
49 SubscriptValue shapeSubscript{shape.GetDimension(0).LowerBound()}; in RESHAPE()
50 for (SubscriptValue j{0}; j < resultRank; ++j, ++shapeSubscript) { in RESHAPE()
76 SubscriptValue orderSubscript{order->GetDimension(0).LowerBound()}; in RESHAPE()
77 for (SubscriptValue j{0}; j < resultRank; ++j, ++orderSubscript) { in RESHAPE()
121 SubscriptValue resultSubscript[maxRank]; in RESHAPE()
123 SubscriptValue sourceSubscript[maxRank]; in RESHAPE()
[all …]
Dallocatable.h33 void RTNAME(AllocatableInitCharacter)(Descriptor &, SubscriptValue length = 0,
56 Descriptor &, int zeroBasedDim, SubscriptValue lower, SubscriptValue upper);
60 SubscriptValue lower, SubscriptValue upper = 0);
66 Descriptor &, int which, SubscriptValue);
74 int which /* 0 for CHARACTER length */, SubscriptValue other,
Ddescriptor.cpp31 int rank, const SubscriptValue *extent, ISO::CFI_attribute_t attribute, in Establish()
46 const SubscriptValue *extent, ISO::CFI_attribute_t attribute, in Establish()
53 int rank, const SubscriptValue *extent, ISO::CFI_attribute_t attribute, in Establish()
60 const SubscriptValue *extent, ISO::CFI_attribute_t attribute) { in Establish()
69 void *p, int rank, const SubscriptValue *extent, in Create()
80 int rank, const SubscriptValue *extent, ISO::CFI_attribute_t attribute) { in Create()
86 SubscriptValue characters, void *p, int rank, const SubscriptValue *extent, in Create()
93 void *p, int rank, const SubscriptValue *extent, in Create()
134 int Descriptor::Allocate(const SubscriptValue lb[], const SubscriptValue ub[]) { in Allocate()
159 SubscriptValue *subscript, const int *permutation) const { in IncrementSubscripts()
[all …]
Dcharacter.cpp77 SubscriptValue lb[maxRank], ub[maxRank], xAt[maxRank], yAt[maxRank]; in Compare()
78 SubscriptValue elements{1}; in Compare()
82 SubscriptValue xUB{x.GetDimension(j).Extent()}; in Compare()
83 SubscriptValue yUB{y.GetDimension(j).Extent()}; in Compare()
103 for (SubscriptValue resultAt{0}; elements-- > 0; in Compare()
139 SubscriptValue lb[maxRank], ub[maxRank], stringAt[maxRank]; in AdjustLRHelper()
140 SubscriptValue elements{1}; in AdjustLRHelper()
152 for (SubscriptValue resultAt{0}; elements-- > 0; in AdjustLRHelper()
191 SubscriptValue lb[maxRank], ub[maxRank], stringAt[maxRank]; in LenTrim()
192 SubscriptValue elements{1}; in LenTrim()
[all …]
Dallocatable.cpp25 SubscriptValue length, int kind, int rank, int corank) { in RTNAME()
50 SubscriptValue lower, SubscriptValue upper) { in RTNAME()
Ddescriptor-io.h24 const SubscriptValue subscripts[]) { in ExtractElement()
38 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO()
68 SubscriptValue subscripts[maxRank]; in FormattedRealIO()
98 SubscriptValue subscripts[maxRank]; in FormattedComplexIO()
142 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO()
179 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO()
226 SubscriptValue subscripts[maxRank]; in DescriptorIO()
Dderived.cpp62 static inline SubscriptValue GetValue( in GetValue()
94 SubscriptValue extent[maxRank]; in Destroy()
/external/llvm-project/flang/unittests/Evaluate/
Dreshape.cpp10 static const SubscriptValue ones[]{1, 1, 1}; in main()
11 static const SubscriptValue sourceExtent[]{2, 3, 4}; in main()
30 static const SubscriptValue shapeExtent{2}; in main()
44 static const SubscriptValue padExtent[]{2, 2, 3}; in main()
65 SubscriptValue ss[2]{1 + (j % 8), 1 + (j / 8)}; in main()
/external/llvm-project/flang/unittests/Runtime/
Dhello.cpp44 SubscriptValue extent[]{5}; in multiline()
50 SubscriptValue lowers[]{0}, uppers[]{4}, strides[]{1}; in multiline()
129 SubscriptValue extent[]{2}; in descrOutputTest()
Dlist-input.cpp28 SubscriptValue extent[]{4}; in main()