Home
last modified time | relevance | path

Searched refs:IsPolymorphic (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project/flang/lib/Evaluate/
H A Dtype.cpp201 if (!IsPolymorphic() && derived_ && derived_->scope()) { in MeasureSizeInBytes()
588 xdt, ydt, x.IsPolymorphic(), ignoreTypeParameterValues, false); in IsTkLenCompatibleWith()
622 } else if (x && y && !IsPolymorphic() && !that.IsPolymorphic()) { in ExtendsTypeOf()
643 if (IsPolymorphic() && in From()
651 } else if (that.IsPolymorphic()) { in From()
748 return IsPolymorphic() || IsNonConstantLengthCharacter() || in SelectedCharKind()
H A Dcharacteristics.cpp312 if (type.type().IsPolymorphic() != actual.type.type().IsPolymorphic()) { in IsCompatibleWith()
448 } else if (type.type().IsPolymorphic()) { in CanBePassedViaImplicitInterface()
482 } else if (type.type().IsPolymorphic() && !type.type().IsAssumedType()) { in IsPassedByDescriptor()
897 type->type().IsPolymorphic()) { in FromActual()
1093 if (type.IsPolymorphic()) { in CanBeReturnedViaImplicitInterface()
1208 if (ifaceTypeShape->type().IsPolymorphic() == in IsCompatibleWith()
1209 actualTypeShape->type().IsPolymorphic() && in IsCompatibleWith()
1787 x.type.type().IsPolymorphic() != y.type.type().IsPolymorphic())) { in Distinguishable()
[all...]
H A Dinitial-image.cpp83 CHECK(!type.IsPolymorphic());
H A Dfold.cpp275 !moldType->IsPolymorphic() && in FoldTransfer()
H A Dformatting.cpp633 if (IsPolymorphic()) { in AsFortran()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp164 bool IsPolymorphic = false; in reportPointerArithMisuse() local
167 getArrayRegion(Region, IsPolymorphic, Kind, C)) { in reportPointerArithMisuse()
168 if (!IsPolymorphic) in reportPointerArithMisuse()
/llvm-project/clang/test/AST/
H A Dast-dump-record-definition-data-json.cpp63 struct IsPolymorphic { struct
H A Dast-dump-record-definition-data.cpp104 struct IsPolymorphic { struct
/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp711 bool IsPolymorphic = Matcher.isPolymorphic(); in getMatcherCompletions()
732 if (IsPolymorphic) in getMatcherCompletions()
745 if (IsPolymorphic) in getMatcherCompletions()
761 if (IsPolymorphic) { in getMatcherCompletions()
706 bool IsPolymorphic = Matcher.isPolymorphic(); getMatcherCompletions() local
/llvm-project/flang/lib/Lower/
H A DHostAssociations.cpp384 bool isPolymorphic = Fortran::semantics::IsPolymorphic(sym); in getType()
490 bool isPolymorphic = type && type->IsPolymorphic(); in canReadCapturedBoxValue()
521 if (Fortran::semantics::IsPolymorphic(sym)) in walkCaptureCategories()
H A DAllocatable.cpp475 !alloc.type.IsPolymorphic() && in genSimpleAllocation()
494 if (alloc.type.IsPolymorphic()) in lowerAllocateLengthParameters()
628 if (!isSource || alloc.type.IsPolymorphic()) in genInitDerived()
984 Fortran::semantics::IsPolymorphic(sym);
991 Fortran::semantics::IsPolymorphic(sym); in createMutableProperties()
H A DConvertType.cpp155 bool isPolymorphic = (dynamicType->IsPolymorphic() || in genExprType()
278 bool isPolymorphic = (Fortran::semantics::IsPolymorphic(symbol) || in genSymbolType()
H A DCallInterface.cpp101 if (Fortran::semantics::IsPolymorphic(component->base().GetLastSymbol())) in requireDispatchCall()
1150 type, obj.type.type().IsPolymorphic(), obj.type.type().IsAssumedType()); in handleExplicitDummy()
1275 resTypeAndShape && resTypeAndShape->type().IsPolymorphic(); in handleExplicitResult()
1483 if (type.IsPolymorphic() || type.IsUnlimitedPolymorphic()) in mayRequireIntentoutFinalization()
H A DBridge.cpp746 if (type && type->IsPolymorphic()) in createHostAssociateVarClone()
4179 if (lhsType && lhsType->IsPolymorphic()) {
4274 if ((lhsType && lhsType->IsPolymorphic()) || in genCUDAImplicitDataTransfer()
4275 (rhsType && rhsType->IsPolymorphic())) { in genCUDAImplicitDataTransfer()
4692 if (lhsType->IsPolymorphic() || in genAssignment()
4694 (rhsType && (rhsType->IsPolymorphic() || in genAssignment()
4703 if ((lhsType->IsPolymorphic() || in genAssignment()
4745 bool needFinalization = !lhsType->IsPolymorphic() && in genFIR()
H A DConvertCall.cpp665 retTy->IsPolymorphic() || retTy->IsUnlimitedPolymorphic()); in genCallOpAndResult()
718 if (retTy->IsPolymorphic() || retTy->IsUnlimitedPolymorphic()) { in genCallOpAndResult()
2326 if (retTy->IsPolymorphic() || retTy->IsUnlimitedPolymorphic()) in computeDynamicCharacterResultLength()
/llvm-project/flang/lib/Semantics/
H A Dcheck-call.cpp395 bool actualIsPolymorphic{actualType.type().IsPolymorphic()}; in CheckExplicitDataArg()
456 bool dummyIsPolymorphic{dummy.type.type().IsPolymorphic()}; in CheckExplicitDataArg()
1740 if (type0 && type1 && type0->IsPolymorphic() && !type1->IsPolymorphic()) { in CheckReduce()
1839 } else if (result->type().IsPolymorphic() || in CheckSpecificIntrinsic()
1860 data[j]->type.Rank() != 0 || data[j]->type.type().IsPolymorphic() || in CheckExplicitInterface()
1914 if (type.IsPolymorphic() && in CheckArgumentIsConstantExprInRange()
H A Dcheck-declarations.cpp409 if (type->IsPolymorphic() && IsAllocatable(symbol)) { // C1585 in Check()
746 if (type && type->IsPolymorphic()) { in CheckObjectEntity()
768 if (type && type->IsPolymorphic()) { // C1588 in CheckObjectEntity()
776 return type && type->IsPolymorphic(); in CheckObjectEntity()
1770 if (ddo->type.type().IsPolymorphic()) { in CheckFinal()
2426 if (IsExtensibleType(derived) != type->IsPolymorphic()) { in CheckPassArg()
2428 type->IsPolymorphic() in CheckPassArg()
3362 bool isPolymorphic{type->IsPolymorphic()}; in CheckDioDummyIsDefaultInteger()
3606 if (dyType->IsPolymorphic() && !dyType->IsAssumedType() && in CheckModuleProcedureDef()
H A Ddefinable.cpp216 if (dyType->IsPolymorphic()) { // C1596 in WhyNotDefinableLast()
H A Druntime-type-info.cpp1192 if (ddo->type.type().IsPolymorphic()) { in DescribeSpecialProc()
1354 nonTbp.isDtvArgPolymorphic = declType->IsPolymorphic();
1361 &*specific, which, declType->IsPolymorphic()});
H A Dscope.cpp243 return &MakeDerivedType(dyType->IsPolymorphic() in GetType()
H A Dtools.cpp1097 bool IsPolymorphic(const Symbol &symbol) { in IsUnlimitedPolymorphic()
1099 return type->IsPolymorphic(); in IsUnlimitedPolymorphic()
1112 return IsAllocatable(symbol) && IsPolymorphic(symbol);
1089 bool IsPolymorphic(const Symbol &symbol) { IsPolymorphic() function
H A Dexpression.cpp506 if (type->category() == TypeCategory::Derived && !type->IsPolymorphic()) { in CheckDataRef()
2386 (!baseType || baseType->IsPolymorphic())) { in AnalyzeProcedureComponentRef()
3115 !dyType->IsPolymorphic() && in Analyze()
3290 dyType && dyType->IsPolymorphic()) { // 10.2.1.2p1(1) in CheckCall()
4900 : type->IsPolymorphic() ? type->AsFortran()
/llvm-project/flang/include/flang/Evaluate/
H A Dtype.h181 constexpr bool IsPolymorphic() const { // TYPE(*) or CLASS() in IsPolymorphic()
185 return IsPolymorphic() && !derived_; in IsUnlimitedPolymorphic()
180 constexpr bool IsPolymorphic() const { // TYPE(*) or CLASS() IsPolymorphic() function
/llvm-project/flang/include/flang/Semantics/
H A Dtype.h382 bool IsPolymorphic() const { in derivedTypeSpec()
367 bool IsPolymorphic() const { IsPolymorphic() function
H A Dtools.h199 bool IsPolymorphic(const Symbol &);

12