Home
last modified time | relevance | path

Searched refs:typeAndShape (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/flang/lib/Evaluate/
Dcall.cpp89 if (const auto *typeAndShape{result->GetTypeAndShape()}) { in GetType() local
90 return typeAndShape->type(); in GetType()
106 if (const auto *typeAndShape{result->GetTypeAndShape()}) { in Rank() local
107 CHECK(!typeAndShape->attrs().test( in Rank()
109 return typeAndShape->Rank(); in Rank()
Dintrinsics.cpp1577 characteristics::TypeAndShape typeAndShape{ in Match() local
1580 characteristics::DummyDataObject{std::move(typeAndShape)}); in Match()
1597 characteristics::TypeAndShape typeAndShape{resultType.value(), resultRank}; in Match() local
1598 characteristics::FunctionResult funcResult{std::move(typeAndShape)}; in Match()
1788 characteristics::TypeAndShape typeAndShape{ in HandleNull() local
1791 "mold"s, characteristics::DummyDataObject{typeAndShape}); in HandleNull()
1792 fResult.emplace(std::move(typeAndShape)); in HandleNull()
Dcharacteristics.cpp538 } else if (const auto *typeAndShape{GetTypeAndShape()}) { in CanBeReturnedViaImplicitInterface() local
539 if (typeAndShape->Rank() > 0) { in CanBeReturnedViaImplicitInterface()
542 const DynamicType &type{typeAndShape->type()}; in CanBeReturnedViaImplicitInterface()
/external/llvm-project/flang/lib/Semantics/
Druntime-type-info.cpp618 auto typeAndShape{evaluate::characteristics::TypeAndShape::Characterize( in DescribeComponent() local
620 CHECK(typeAndShape.has_value()); in DescribeComponent()
621 auto dyType{typeAndShape->type()}; in DescribeComponent()
622 const auto &shape{typeAndShape->shape()}; in DescribeComponent()
635 const auto &len{typeAndShape->LEN()}; in DescribeComponent()
874 const auto &typeAndShape{ in DescribeSpecialProc() local
878 if (typeAndShape.attrs().test( in DescribeSpecialProc()
884 rank = evaluate::GetRank(typeAndShape.shape()); in DescribeSpecialProc()
Dcheck-declarations.cpp718 const auto *typeAndShape{result.GetTypeAndShape()}; in IsResultOkToDiffer() local
719 if (!typeAndShape || typeAndShape->Rank() != 0) { in IsResultOkToDiffer()
722 auto category{typeAndShape->type().category()}; in IsResultOkToDiffer()
727 int kind{typeAndShape->type().kind()}; in IsResultOkToDiffer()