Searched refs:ShapeSpec (Results 1 – 16 of 16) sorted by relevance
176 class ShapeSpec {187 static ShapeSpec MakeAssumedShape() { in MakeAssumedShape()195 static ShapeSpec MakeDeferred() { in MakeDeferred()199 static ShapeSpec MakeImplied() { return ShapeSpec(Bound{1}, Bound::Star()); } in MakeImplied()201 static ShapeSpec MakeImplied(Bound &&lb) { in MakeImplied()205 static ShapeSpec MakeAssumedRank() { in MakeAssumedRank()209 ShapeSpec(const ShapeSpec &) = default;210 ShapeSpec(ShapeSpec &&) = default;211 ShapeSpec &operator=(const ShapeSpec &) = default;212 ShapeSpec &operator=(ShapeSpec &&) = default;[all …]
130 llvm::SmallVectorImpl<const Fortran::semantics::ShapeSpec *> &&bounds) in DynamicBound()136 return llvm::all_of(bounds, [](const Fortran::semantics::ShapeSpec *p) { in lboundAllOnes()144 llvm::SmallVector<const Fortran::semantics::ShapeSpec *> bounds;151 llvm::SmallVectorImpl<const Fortran::semantics::ShapeSpec *> &&bounds) in DynamicArray()193 llvm::SmallVectorImpl<const Fortran::semantics::ShapeSpec *> &&bounds) in DynamicArrayStaticChar()206 llvm::SmallVectorImpl<const Fortran::semantics::ShapeSpec *> &&bounds) in DynamicArrayDynamicChar()210 llvm::SmallVectorImpl<const Fortran::semantics::ShapeSpec *> &&bounds) in DynamicArrayDynamicChar()372 llvm::ArrayRef<const Fortran::semantics::ShapeSpec *> dynamicBound() const { in dynamicBound()373 using A = llvm::ArrayRef<const Fortran::semantics::ShapeSpec *>; in dynamicBound()388 llvm::SmallVector<const Fortran::semantics::ShapeSpec *> bounds; in analyze()[all …]
308 arraySpec_.push_back(ShapeSpec::MakeAssumedShape(GetBound(x.v))); in Analyze()321 arraySpec_.push_back(ShapeSpec::MakeAssumedRank()); in Analyze()327 arraySpec_.push_back(ShapeSpec::MakeExplicit(GetBound(lb), GetBound(ub))); in MakeExplicit()331 arraySpec_.push_back(ShapeSpec::MakeImplied(GetBound(lb))); in MakeImplied()335 arraySpec_.push_back(ShapeSpec::MakeDeferred()); in MakeDeferred()382 for (const ShapeSpec &spec : symbol.get<ObjectEntityDetails>().shape()) { in AddToSet()
425 for (ShapeSpec &dim : details->shape()) { in InstantiateComponent()433 for (ShapeSpec &dim : details->coshape()) { in InstantiateComponent()620 llvm::raw_ostream &operator<<(llvm::raw_ostream &o, const ShapeSpec &x) { in operator <<()
53 static void PutShapeSpec(llvm::raw_ostream &, const ShapeSpec &);627 void PutShapeSpec(llvm::raw_ostream &os, const ShapeSpec &x) { in PutShapeSpec()1155 for (const ShapeSpec &spec : details.shape()) { in DoSymbol()1159 for (const ShapeSpec &spec : details.coshape()) { in DoSymbol()
277 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{elements - 1})); in SaveNumericPointerTarget()311 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{n - 1})); in SaveDerivedPointerTarget()
766 arraySpec.emplace_back(ShapeSpec::MakeExplicit(Bound{ in CombineEquivalencedInitialization()
1506 result.emplace_back(ShapeSpec::MakeExplicit(Bound{extent})); in ToArraySpec()
42 void Check(const ShapeSpec &spec) { in Check()
253 const semantics::ShapeSpec &shapeSpec{details->shape()[dimension_]}; in GetLowerBound()404 const semantics::ShapeSpec &shapeSpec) { in GetNonNegativeExtent()566 FoldingContext *context, const semantics::ShapeSpec &shapeSpec) { in GetExplicitUBOUND()589 const semantics::ShapeSpec &shapeSpec{details->shape()[dimension]}; in GetUBOUND()
40 for (const ShapeSpec &shapeSpec : details.shape()) { in IsDescriptor()
1337 for (const ShapeSpec &dim : object->shape()) { in IsAutomatic()
277 for (const Fortran::semantics::ShapeSpec &bounds : objDetails->shape()) in componentHasNonDefaultLowerBounds()
1453 for (const semantics::ShapeSpec &subs : details->shape()) { in analyze()1458 for (const semantics::ShapeSpec &subs : details->coshape()) { in analyze()1822 for (const Fortran::semantics::ShapeSpec &shapeSpec : in visitSymbol()
237 getExtentExpr(const Fortran::semantics::ShapeSpec &shapeSpec) { in getExtentExpr()256 for (const Fortran::semantics::ShapeSpec &shapeSpec : in walkResultExtents()
1129 for (const Fortran::semantics::ShapeSpec *spec : box.dynamicBound()) { in lowerExplicitLowerBounds()