Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Semantics/
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()
Dtools.cpp280 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in FindPointerComponent()
308 if (const DerivedTypeSpec * derived{type.AsDerived()}) { in FindPointerComponent()
439 if (const DerivedTypeSpec * parentDerived{parentType->AsDerived()}) { in FindOverriddenBinding()
454 if (const DerivedTypeSpec * derived{decl.AsDerived()}) { in FindParentTypeSpec()
517 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsOrContainsEventOrLockComponent()
558 if (const auto *derived{object->type()->AsDerived()}) { in IsInitialized()
612 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsAutomatic()
650 const DerivedTypeSpec *derived{type ? type->AsDerived() : nullptr}; in IsFinalizable()
763 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsOrContainsPolymorphicComponent()
1081 if (const auto *derived{type->AsDerived()}) { in PlanComponentTraversal()
[all …]
Druntime-type-info.cpp209 return GetSchemaField(DEREF(derived.AsDerived()), name); in GetSchemaField()
232 return {DEREF(spec.AsDerived()), std::move(values)}; in Structure()
558 CHECK(spec->AsDerived()); in GetSchema()
738 return {DEREF(componentSchema_.AsDerived()), std::move(values)}; in DescribeComponent()
754 return {DEREF(procPtrSchema_.AsDerived()), std::move(values)}; in DescribeComponent()
810 result.emplace_back(DEREF(bindingSchema_.AsDerived()), std::move(values)); in DescribeBindings()
929 specials.emplace_back(DEREF(specialSchema_.AsDerived()), std::move(values)); in DescribeSpecialProc()
Dcheck-select-type.cpp84 CHECK(spec->AsIntrinsic() || spec->AsDerived()); in PassesChecksOnGuard()
103 const DerivedTypeSpec *derived{spec->AsDerived()}; in PassesChecksOnGuard()
Dtype.cpp234 if (DerivedTypeSpec * derived{type->AsDerived()}) { in Instantiate()
359 } else if (const DerivedTypeSpec * spec{type->AsDerived()}) { in InstantiateType()
605 if (const DerivedTypeSpec * derivedType{AsDerived()}) { in IsSequenceType()
Dcompute-offsets.cpp338 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in GetElementSize()
362 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in GetElementSize()
Dcheck-declarations.cpp160 } else if (const DerivedTypeSpec * derived{type.AsDerived()}) { in Check()
174 const DerivedTypeSpec *derived{type ? type->AsDerived() : nullptr}; in Check()
463 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in CheckObjectEntity()
790 const DerivedTypeSpec *parentDerived{parent->AsDerived()}; in CheckDerivedType()
1238 const DerivedTypeSpec *derived{type ? type->AsDerived() : nullptr}; in WarnMissingFinal()
1391 const DerivedTypeSpec *derived{type->AsDerived()}; in CheckPassArg()
Dresolve-names-utils.cpp572 if (const auto *derived{type->AsDerived()}) { in CheckObject()
687 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in IsSequenceType()
Dcheck-do-forall.cpp122 if (const DerivedTypeSpec * derived{symType->AsDerived()}) { in HasImpureFinal()
155 if (const DerivedTypeSpec * derivedType{entityType->AsDerived()}) { in MightDeallocatePolymorphic()
Dresolve-names.cpp1628 if (const DerivedTypeSpec * derived{spec->AsDerived()}) { in Post()
2135 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in GetImplicitType()
3177 } else if (const DerivedTypeSpec * derivedSpec{typeSpec->AsDerived()}) { in Post()
3876 if (const auto *derived{declType->AsDerived()}) { in Post()
4185 const DerivedTypeSpec *spec{type->AsDerived()}; in Pre()
4253 if (const auto *derived{pointeeType->AsDerived()}) { in Pre()
4522 } else if (const auto *derived{type->AsDerived()}) { in CheckCommonBlocks()
4575 if (const auto *derived{type->AsDerived()}) { in CheckCommonBlockDerivedType()
5655 } else if (const DerivedTypeSpec * derived{type->AsDerived()}) { in FindComponent()
Dcheck-call.cpp246 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in CheckExplicitDataArg()
Dmod-file.cpp934 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in DoType()
Dexpression.cpp90 derived{typeSpec->AsDerived()}) { in AnalyzeTypeSpec()
/external/llvm-project/flang/include/flang/Semantics/
Dtype.h357 inline DerivedTypeSpec *AsDerived();
358 inline const DerivedTypeSpec *AsDerived() const;
428 inline DerivedTypeSpec *DeclTypeSpec::AsDerived() { in AsDerived() function
437 inline const DerivedTypeSpec *DeclTypeSpec::AsDerived() const { in AsDerived() function
438 return const_cast<DeclTypeSpec *>(this)->AsDerived(); in AsDerived()
/external/llvm-project/flang/lib/Evaluate/
Dtype.cpp350 } else if (const auto *derived{type.AsDerived()}) { in From()
/external/llvm-project/flang/lib/Lower/
DConvertType.cpp358 } else if (auto *tySpec = type->AsDerived()) { in genSymbolHelper()