Home
last modified time | relevance | path

Searched refs:AsDerived (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-allocate.cpp78 } else if (const DerivedTypeSpec * derivedTypeSpec{type_->AsDerived()}) { in GatherAllocationBasicInfo()
115 if (const DerivedTypeSpec * derived{info.typeSpec->AsDerived()}) { in CheckAllocateOptions()
252 if (const DerivedTypeSpec * derivedType1{type1.AsDerived()}) { in IsTypeCompatible()
280 } else if (const DerivedTypeSpec * derivedType2{type2.AsDerived()}) { in IsTypeCompatible()
319 } else if (const DerivedTypeSpec * derivedType2{type2.AsDerived()}) { in HaveSameAssumedTypeParameters()
326 if (const DerivedTypeSpec * derivedType1{type1.AsDerived()}) { in HaveSameAssumedTypeParameters()
384 } else if (const DerivedTypeSpec * derivedType1{type1.AsDerived()}) { in HaveCompatibleKindParameters()
399 } else if (const DerivedTypeSpec * derivedType1{type1.AsDerived()}) { in HaveCompatibleKindParameters()
401 *derivedType1, DEREF(type2.AsDerived())); in HaveCompatibleKindParameters()
548 derived{allocateInfo_.typeSpec->AsDerived()}) { in RunCoarrayRelatedChecks()
H A Dtools.cpp315 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in FindPointerComponent()
343 if (const DerivedTypeSpec * derived{type.AsDerived()}) { in FindPointerComponent()
504 if (const DerivedTypeSpec * derived{decl.AsDerived()}) { in FindParentTypeSpec()
547 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsOrContainsEventOrLockComponent()
598 if (const auto *derived{object->type()->AsDerived()}) { in IsInitialized()
614 if (const auto *derived{object->type()->AsDerived()}) { in IsDestructible()
782 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsOrContainsPolymorphicComponent()
1167 if (const auto *derived{type->AsDerived()}) { in PlanComponentTraversal()
1304 return type && IsEventTypeOrLockType(type->AsDerived()); in FindEventOrLockPotentialComponent()
1356 if (const auto *derived{type->AsDerived()}) { in FindUltimateComponent()
[all …]
H A Druntime-type-info.cpp213 return GetSchemaField(DEREF(derived.AsDerived()), name); in GetSchemaField()
236 return {DEREF(spec.AsDerived()), std::move(values)}; in Structure()
654 CHECK(spec->AsDerived()); in GetSchema()
842 return {DEREF(componentSchema_.AsDerived()), std::move(values)}; in DescribeComponent()
858 return {DEREF(procPtrSchema_.AsDerived()), std::move(values)}; in DescribeComponent()
904 DerivedTypeSpec &ptrDtDerived{DEREF(ptrDtDeclType.AsDerived())}; in InitializeDataPointer()
979 result.emplace_back(DEREF(bindingSchema_.AsDerived()), std::move(values)); in DescribeBindings()
1112 *index, DEREF(specialSchema_.AsDerived()), std::move(values))}; in DescribeSpecialProc()
H A Dcheck-select-type.cpp84 CHECK(spec->AsIntrinsic() || spec->AsDerived()); in PassesChecksOnGuard()
103 const DerivedTypeSpec *derived{spec->AsDerived()}; in PassesChecksOnGuard()
H A Dtype.cpp268 if (DerivedTypeSpec * derived{type->AsDerived()}) { in InstantiateNonPDTScope()
479 } else if (const DerivedTypeSpec * spec{type->AsDerived()}) { in InstantiateType()
744 if (const DerivedTypeSpec * derivedType{AsDerived()}) { in IsSequenceType()
H A Dcheck-declarations.cpp196 } else if (const DerivedTypeSpec * derived{type.AsDerived()}) { in Check()
216 const DerivedTypeSpec *derived{type ? type->AsDerived() : nullptr}; in Check()
509 if (IsBadCoarrayType(type->AsDerived())) { // C747 & C824 in CheckObjectEntity()
540 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in CheckObjectEntity()
966 const DerivedTypeSpec *parentDerived{parent->AsDerived()}; in CheckDerivedType()
1436 const DerivedTypeSpec *derived{type ? type->AsDerived() : nullptr}; in WarnMissingFinal()
1597 const DerivedTypeSpec *derived{type->AsDerived()}; in CheckPassArg()
1962 if (const DerivedTypeSpec * derivedType{type->AsDerived()}) { in CheckDioDummyIsDerived()
H A Dresolve-names-utils.cpp608 if (const auto *derived{type->AsDerived()}) { in CheckObject()
729 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsSequenceType()
H A Ddata-to-inits.cpp478 if (const DerivedTypeSpec * derived{object->type()->AsDerived()}) { in HasDefaultInitialization()
556 if (const DerivedTypeSpec * componentDerived{type->AsDerived()}) { in PopulateWithComponentDefaults()
H A Dcheck-do-forall.cpp122 if (const DerivedTypeSpec * derived{symType->AsDerived()}) { in HasImpureFinal()
155 if (const DerivedTypeSpec * derivedType{entityType->AsDerived()}) { in MightDeallocatePolymorphic()
H A Dresolve-names.cpp1808 if (const DerivedTypeSpec * derived{spec->AsDerived()}) { in Post()
2444 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in GetImplicitType()
3855 } else if (const DerivedTypeSpec * derivedSpec{typeSpec->AsDerived()}) { in Post()
4650 if (const auto *derived{declType->AsDerived()}) { in Post()
5060 const DerivedTypeSpec *spec{type->AsDerived()}; in Pre()
5128 if (const auto *derived{pointeeType->AsDerived()}) { in Pre()
5414 } else if (const auto *derived{type->AsDerived()}) { in CheckCommonBlocks()
5468 if (const auto *derived{type->AsDerived()}) { in CheckCommonBlockDerivedType()
6650 } else if (DerivedTypeSpec * derived{type->AsDerived()}) { in FindComponent()
H A Dcheck-call.cpp293 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in CheckExplicitDataArg()
H A Dmod-file.cpp1195 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in DoType()
H A Dexpression.cpp88 derived{typeSpec->AsDerived()}) { in AnalyzeTypeSpec()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h380 inline DerivedTypeSpec *AsDerived();
381 inline const DerivedTypeSpec *AsDerived() const;
451 inline DerivedTypeSpec *DeclTypeSpec::AsDerived() { in AsDerived() function
460 inline const DerivedTypeSpec *DeclTypeSpec::AsDerived() const { in AsDerived() function
461 return const_cast<DeclTypeSpec *>(this)->AsDerived(); in AsDerived()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp384 } else if (const auto *derived{type.AsDerived()}) { in From()
H A Dtools.cpp1325 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsAutomatic()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp239 type->AsDerived()) { in genSymbolType()
H A DHostAssociations.cpp227 if (const auto *derived = declTy->AsDerived()) in isDerivedWithLenParameters()
H A DConvertVariable.cpp57 declTypeSpec->AsDerived()) in hasDefaultInitialization()
145 declTy->AsDerived()) in hasDerivedTypeWithLengthParameters()
1289 declTy->AsDerived()) in mapSymbolAttributes()
H A DAllocatable.cpp431 typeSpec->AsDerived()) in lowerAllocateLengthParameters()
H A DConvertExpr.cpp944 declTy->AsDerived()) in isDerivedTypeWithLenParameters()
952 declType->AsDerived()) in isBuiltinCPtr()