Home
last modified time | relevance | path

Searched refs:GetDerivedTypeSpec (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp195 const semantics::DerivedTypeSpec *GetDerivedTypeSpec( in GetDerivedTypeSpec() function
197 return type ? GetDerivedTypeSpec(*type) : nullptr; in GetDerivedTypeSpec()
200 const semantics::DerivedTypeSpec *GetDerivedTypeSpec(const DynamicType &type) { in GetDerivedTypeSpec() function
203 return &type.GetDerivedTypeSpec(); in GetDerivedTypeSpec()
331 const auto *xdt{GetDerivedTypeSpec(x)}; in AreCompatibleTypes()
332 const auto *ydt{GetDerivedTypeSpec(y)}; in AreCompatibleTypes()
360 } else if (!AreCompatibleDerivedTypes(evaluate::GetDerivedTypeSpec(that), in ExtendsTypeOf()
361 evaluate::GetDerivedTypeSpec(*this), true)) { in ExtendsTypeOf()
H A Dinitial-image.cpp99 const semantics::DerivedTypeSpec &derived{type_.GetDerivedTypeSpec()}; in Test()
H A Dfold-designator.cpp284 type->GetDerivedTypeSpec(), offset)}) { in OffsetToDataRef()
H A Dcharacteristics.cpp353 } else if (const auto *derived{GetDerivedTypeSpec(type.type())}) { in CanBePassedViaImplicitInterface()
847 const auto &spec{type.GetDerivedTypeSpec()}; in CanBeReturnedViaImplicitInterface()
H A Dintrinsics.cpp1409 semantics::IsTeamType(&type->GetDerivedTypeSpec()); in Match()
2155 type->GetDerivedTypeSpec().typeSymbol().name() != in HandleC_F_Pointer()
H A Dfold-implementation.h1171 return Expr<T>{Constant<T>{array.GetType().GetDerivedTypeSpec(), in FoldArray()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-allocate.cpp201 derived{evaluate::GetDerivedTypeSpec(info.sourceExprType)}) { in CheckAllocateOptions()
300 return IsTypeCompatible(type1, type2.GetDerivedTypeSpec()); in IsTypeCompatible()
386 *derivedType1, type2.GetDerivedTypeSpec()); in HaveCompatibleKindParameters()
567 if (const auto *derived{evaluate::GetDerivedTypeSpec(sourceType)}) { in RunCoarrayRelatedChecks()
H A Dassignment.cpp138 evaluate::GetDerivedTypeSpec(evaluate::DynamicType::From(expr))}) { in GetPointerComponentDesignatorName()
203 if (const DerivedTypeSpec * derived{GetDerivedTypeSpec(type)}) { in CheckForPureContext()
H A Dcheck-call.cpp43 } else if (const DerivedTypeSpec * derived{GetDerivedTypeSpec(type)}) { in CheckImplicitInterfaceArg()
253 if (const auto *derived{evaluate::GetDerivedTypeSpec(actualType.type())}) { in CheckExplicitDataArg()
508 evaluate::GetDerivedTypeSpec(actualType.type())}) { in CheckExplicitDataArg()
510 *derived, *evaluate::GetDerivedTypeSpec(dummy.type.type()))) { in CheckExplicitDataArg()
H A Dcheck-coarray.cpp68 if (!IsTeamType(evaluate::GetDerivedTypeSpec(expr->GetType()))) { in CheckTeamType()
H A Druntime-type-info.cpp299 const auto &derivedType{x.front().GetType().GetDerivedTypeSpec()}; in SaveDerivedPointerTarget()
754 const DerivedTypeSpec &spec{dyType.GetDerivedTypeSpec()}; in DescribeComponent()
1042 t1.GetDerivedTypeSpec() != t2.GetDerivedTypeSpec()) { in DescribeSpecialProc()
H A Dcheck-select-type.cpp138 evaluate::GetDerivedTypeSpec(selectorType_)}) { in PassesDerivedTypeChecks()
H A Dscope.cpp241 DerivedTypeSpec{dyType->GetDerivedTypeSpec()}); in GetType()
H A Dpointer-assignment.cpp301 return !IsExtensibleType(&type.GetDerivedTypeSpec()); in LhsOkForUnlimitedPoly()
H A Dcompute-offsets.cpp319 evaluate::GetDerivedTypeSpec(evaluate::DynamicType::From(symbol))}; in GetSizeAndAlignment()
H A Dcheck-io.cpp1017 which, type->GetDerivedTypeSpec(), &context_.FindScope(where))}) { in CheckForBadIoComponent()
H A Dcheck-declarations.cpp1107 &ddo->type.type().GetDerivedTypeSpec().typeSymbol() != &derivedType) { in CheckFinal()
1116 ddo->type.type().GetDerivedTypeSpec().FindParameter(ref->name())}; in CheckFinal()
H A Dexpression.cpp1125 const auto *dtSpec{GetDerivedTypeSpec(dtExpr->GetType())}; in Analyze()
1315 return AsMaybeExpr(ArrayConstructor<T>{type_->GetDerivedTypeSpec(), in Test()
3727 const auto *type{GetDerivedTypeSpec(GetType(passIndex))}; in FindBoundOp()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtype.h176 constexpr const semantics::DerivedTypeSpec &GetDerivedTypeSpec() const { in GetDerivedTypeSpec() function
242 const semantics::DerivedTypeSpec *GetDerivedTypeSpec(const DynamicType &);
243 const semantics::DerivedTypeSpec *GetDerivedTypeSpec(
396 : SomeKind(dt.GetDerivedTypeSpec()) {} in SomeKind()
H A Dexpression.h504 : result_{prototype.GetType().value().GetDerivedTypeSpec()} {}
H A Dtools.h1077 return Constant<T>{reference.GetType().GetDerivedTypeSpec(), in PackageConstant()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp226 dynamicType.GetDerivedTypeSpec(); in walkResultLengths()
781 Fortran::evaluate::GetDerivedTypeSpec(obj.type.type())) in dummyRequiresBox()
796 return getConverter().genType(dynamicType.GetDerivedTypeSpec()); in translateDynamicType()
H A DConvertType.cpp146 baseType = genDerivedType(dynamicType->GetDerivedTypeSpec()); in genExprType()
H A DPFTBuilder.cpp1839 Fortran::evaluate::GetDerivedTypeSpec(dynamicType)) { in visitSymbol()
H A DConvertExpr.cpp1703 mlir::Type eleTy = converter.genType(con.GetType().GetDerivedTypeSpec()); in genArrayLit()
2141 return converter.genType(dt.GetDerivedTypeSpec()); in genType()

12