| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | constant.cpp | 61 CHECK(GetRank(index) == GetRank(shape_)); in SubscriptsToOffset() 80 int rank{GetRank(shape_)}; in IncrementSubscripts() 81 CHECK(GetRank(indices) == rank); in IncrementSubscripts()
|
| H A D | fold-designator.cpp | 32 type->MeasureSizeInBytes(context_, GetRank(*extents) > 0))}) { in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS() 215 int rank{GetRank(shape)}; in OffsetToArrayRef() 270 if (GetRank(*shape) > 0) { in OffsetToDataRef() 367 int rank{GetRank(*extents)}; in From()
|
| H A D | shape.cpp | 116 return {std::move(result), ConstantSubscripts{GetRank(shape)}}; in AsConstantShape() 499 if (GetRank(*shape) > 0) { in GetExtent() 500 CHECK(GetRank(*shape) == 1); // vector-valued subscript in GetExtent() 639 CHECK(GetRank(result) == symbol.Rank()); in GetUBOUNDs() 928 if (GetRank(moldTypeAndShape->shape()) == 0) { in operator ()() 995 int n{GetRank(left)}; in CheckConformance() 999 int rn{GetRank(right)}; in CheckConformance()
|
| H A D | fold.cpp | 84 if (GetRank(*componentShape) > 0 && GetRank(*valueShape) == 0) { in FoldOperation()
|
| H A D | initial-image.cpp | 94 ToInt64(type_.MeasureSizeInBytes(context_, GetRank(extents_) > 0))}; in Test()
|
| H A D | characteristics.cpp | 188 MeasureElementSizeInBytes(foldingContext, GetRank(shape_) > 0)}) { in MeasureSizeInBytes() 263 return GetRank(x) == GetRank(y); in AreCompatibleDummyDataObjectShapes()
|
| H A D | fold-implementation.h | 197 int rank{GetRank(shape)}; in ApplySubscripts() 219 CHECK(k < GetRank(resultShape)); in ApplySubscripts() 240 CHECK(k == GetRank(resultShape)); in ApplySubscripts() 491 CHECK(rank == GetRank(shape)); in FoldElementalIntrinsicHelper() 866 int rank{GetRank(shape.value())}; in RESHAPE()
|
| H A D | fold-integer.cpp | 24 const int rank{GetRank(bounds)}; in PackageConstantBounds() 1030 int rank{GetRank(*shape)}; in FoldIntrinsicFunction()
|
| H A D | check-expression.cpp | 418 int symRank{GetRank(symTS->shape())}; in NonPointerInitializationExpr()
|
| H A D | formatting.cpp | 24 if (GetRank(shape) > 1) { in ShapeAsFortran()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | constant.h | 45 inline int GetRank(const ConstantSubscripts &s) { in GetRank() function 70 int Rank() const { return GetRank(shape_); } in Rank()
|
| H A D | shape.h | 54 inline int GetRank(const Shape &s) { return static_cast<int>(s.size()); } in GetRank() function
|
| H A D | characteristics.h | 147 int Rank() const { return GetRank(shape_); } in Rank()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-call.cpp | 102 GetRank(actualType.shape()) == 0) { in CheckCharacterActual() 138 GetRank(dummyType.shape()) == 0 && GetRank(actualType.shape()) == 0 && in ConvertIntegerActual() 320 int actualRank{evaluate::GetRank(actualType.shape())}; in CheckExplicitDataArg() 860 if (GetRank(*argShape) > 0) { in CheckElementalConformance()
|
| H A D | pointer-assignment.cpp | 233 int lhsRank{evaluate::GetRank(lhsType_->shape())}; in Check() 234 int rhsRank{evaluate::GetRank(rhsType->shape())}; in Check()
|
| H A D | expression.cpp | 181 int GetRank(std::size_t) const; 1823 if (GetRank(*componentShape) == 0 && GetRank(*valueShape) > 0) { in Analyze() 1827 GetRank(*valueShape), symbol->name()), in Analyze() 1834 if (checked && *checked && GetRank(*componentShape) > 0 && in Analyze() 1835 GetRank(*valueShape) == 0 && in Analyze() 3408 opr, leftType, GetRank(0), rightType, GetRank(1)); in IsIntrinsicRelational() 3430 *leftType, GetRank(0), *rightType, GetRank(1)); in IsIntrinsicNumeric() 3441 *leftType, GetRank(0), *rightType, GetRank(1)); in IsIntrinsicLogical() 3451 *leftType, GetRank(0), *rightType, GetRank(1)); in IsIntrinsicConcat() 3769 int ArgumentAnalyzer::GetRank(std::size_t i) const { in GetRank() function in Fortran::evaluate::ArgumentAnalyzer
|
| H A D | runtime-type-info.cpp | 795 int rank{evaluate::GetRank(shape)}; in DescribeComponent() 1071 if (int rank{evaluate::GetRank(typeAndShape.shape())}; rank > 0) { in DescribeSpecialProc()
|