| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-allocate.cpp | 78 } 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 D | tools.cpp | 315 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 D | runtime-type-info.cpp | 213 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 D | check-select-type.cpp | 84 CHECK(spec->AsIntrinsic() || spec->AsDerived()); in PassesChecksOnGuard() 103 const DerivedTypeSpec *derived{spec->AsDerived()}; in PassesChecksOnGuard()
|
| H A D | type.cpp | 268 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 D | check-declarations.cpp | 196 } 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 D | resolve-names-utils.cpp | 608 if (const auto *derived{type->AsDerived()}) { in CheckObject() 729 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsSequenceType()
|
| H A D | data-to-inits.cpp | 478 if (const DerivedTypeSpec * derived{object->type()->AsDerived()}) { in HasDefaultInitialization() 556 if (const DerivedTypeSpec * componentDerived{type->AsDerived()}) { in PopulateWithComponentDefaults()
|
| H A D | check-do-forall.cpp | 122 if (const DerivedTypeSpec * derived{symType->AsDerived()}) { in HasImpureFinal() 155 if (const DerivedTypeSpec * derivedType{entityType->AsDerived()}) { in MightDeallocatePolymorphic()
|
| H A D | resolve-names.cpp | 1808 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 D | check-call.cpp | 293 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in CheckExplicitDataArg()
|
| H A D | mod-file.cpp | 1195 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in DoType()
|
| H A D | expression.cpp | 88 derived{typeSpec->AsDerived()}) { in AnalyzeTypeSpec()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | type.h | 380 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 D | type.cpp | 384 } else if (const auto *derived{type.AsDerived()}) { in From()
|
| H A D | tools.cpp | 1325 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsAutomatic()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertType.cpp | 239 type->AsDerived()) { in genSymbolType()
|
| H A D | HostAssociations.cpp | 227 if (const auto *derived = declTy->AsDerived()) in isDerivedWithLenParameters()
|
| H A D | ConvertVariable.cpp | 57 declTypeSpec->AsDerived()) in hasDefaultInitialization() 145 declTy->AsDerived()) in hasDerivedTypeWithLengthParameters() 1289 declTy->AsDerived()) in mapSymbolAttributes()
|
| H A D | Allocatable.cpp | 431 typeSpec->AsDerived()) in lowerAllocateLengthParameters()
|
| H A D | ConvertExpr.cpp | 944 declTy->AsDerived()) in isDerivedTypeWithLenParameters() 952 declType->AsDerived()) in isBuiltinCPtr()
|