Home
last modified time | relevance | path

Searched refs:ShapeSpec (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/flang/include/flang/Semantics/
Dtype.h165 class ShapeSpec {
168 static ShapeSpec MakeExplicit(Bound &&lb, Bound &&ub) { in MakeExplicit()
169 return ShapeSpec(std::move(lb), std::move(ub)); in MakeExplicit()
172 static const ShapeSpec MakeExplicit(Bound &&ub) { in MakeExplicit()
176 static ShapeSpec MakeAssumed() { in MakeAssumed()
177 return ShapeSpec(Bound{1}, Bound::Deferred()); in MakeAssumed()
180 static ShapeSpec MakeAssumed(Bound &&lb) { in MakeAssumed()
181 return ShapeSpec(std::move(lb), Bound::Deferred()); in MakeAssumed()
184 static ShapeSpec MakeDeferred() { in MakeDeferred()
185 return ShapeSpec(Bound::Deferred(), Bound::Deferred()); in MakeDeferred()
[all …]
/external/llvm-project/flang/lib/Semantics/
Dresolve-names-utils.cpp282 arraySpec_.push_back(ShapeSpec::MakeAssumed(GetBound(x.v))); in Analyze()
295 arraySpec_.push_back(ShapeSpec::MakeAssumedRank()); in Analyze()
301 arraySpec_.push_back(ShapeSpec::MakeExplicit(GetBound(lb), GetBound(ub))); in MakeExplicit()
305 arraySpec_.push_back(ShapeSpec::MakeImplied(GetBound(lb))); in MakeImplied()
309 arraySpec_.push_back(ShapeSpec::MakeDeferred()); in MakeDeferred()
356 for (const ShapeSpec &spec : symbol.get<ObjectEntityDetails>().shape()) { in AddToSet()
Dtype.cpp326 for (ShapeSpec &dim : details->shape()) { in InstantiateComponent()
334 for (ShapeSpec &dim : details->coshape()) { in InstantiateComponent()
481 llvm::raw_ostream &operator<<(llvm::raw_ostream &o, const ShapeSpec &x) { in operator <<()
Dmod-file.cpp481 void PutShapeSpec(llvm::raw_ostream &os, const ShapeSpec &x) { in PutShapeSpec()
894 for (const ShapeSpec &spec : details.shape()) { in DoSymbol()
898 for (const ShapeSpec &spec : details.coshape()) { in DoSymbol()
Druntime-type-info.cpp262 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{elements - 1})); in SaveNumericPointerTarget()
296 arraySpec.push_back(ShapeSpec::MakeExplicit(Bound{0}, Bound{n - 1})); in SaveDerivedPointerTarget()
Ddata-to-inits.cpp462 arraySpec.emplace_back(ShapeSpec::MakeExplicit(Bound{ in CombineSomeEquivalencedInits()
Dtools.cpp624 for (const ShapeSpec &dim : object->shape()) { in IsAutomatic()
695 for (const ShapeSpec &spec : symbol.get<ObjectEntityDetails>().shape()) { in IsAutomaticObject()
Dcheck-declarations.cpp41 void Check(const ShapeSpec &spec) { in Check()
/external/llvm-project/flang/lib/Evaluate/
Dtype.cpp41 for (const ShapeSpec &shapeSpec : details.shape()) { in IsDescriptor()
Dcharacteristics.cpp201 for (const semantics::ShapeSpec &dim : object.shape()) { in AcquireShape()