Searched refs:typeAndShape (Results 1 – 5 of 5) sorted by relevance
89 if (const auto *typeAndShape{result->GetTypeAndShape()}) { in GetType() local90 return typeAndShape->type(); in GetType()106 if (const auto *typeAndShape{result->GetTypeAndShape()}) { in Rank() local107 CHECK(!typeAndShape->attrs().test( in Rank()109 return typeAndShape->Rank(); in Rank()
1577 characteristics::TypeAndShape typeAndShape{ in Match() local1580 characteristics::DummyDataObject{std::move(typeAndShape)}); in Match()1597 characteristics::TypeAndShape typeAndShape{resultType.value(), resultRank}; in Match() local1598 characteristics::FunctionResult funcResult{std::move(typeAndShape)}; in Match()1788 characteristics::TypeAndShape typeAndShape{ in HandleNull() local1791 "mold"s, characteristics::DummyDataObject{typeAndShape}); in HandleNull()1792 fResult.emplace(std::move(typeAndShape)); in HandleNull()
538 } else if (const auto *typeAndShape{GetTypeAndShape()}) { in CanBeReturnedViaImplicitInterface() local539 if (typeAndShape->Rank() > 0) { in CanBeReturnedViaImplicitInterface()542 const DynamicType &type{typeAndShape->type()}; in CanBeReturnedViaImplicitInterface()
618 auto typeAndShape{evaluate::characteristics::TypeAndShape::Characterize( in DescribeComponent() local620 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() local878 if (typeAndShape.attrs().test( in DescribeSpecialProc()884 rank = evaluate::GetRank(typeAndShape.shape()); in DescribeSpecialProc()
718 const auto *typeAndShape{result.GetTypeAndShape()}; in IsResultOkToDiffer() local719 if (!typeAndShape || typeAndShape->Rank() != 0) { in IsResultOkToDiffer()722 auto category{typeAndShape->type().category()}; in IsResultOkToDiffer()727 int kind{typeAndShape->type().kind()}; in IsResultOkToDiffer()