/llvm-project/flang/lib/Evaluate/ |
H A D | type.cpp | 201 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 D | characteristics.cpp | 312 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 D | initial-image.cpp | 83 CHECK(!type.IsPolymorphic());
|
H A D | fold.cpp | 275 !moldType->IsPolymorphic() && in FoldTransfer()
|
H A D | formatting.cpp | 633 if (IsPolymorphic()) { in AsFortran()
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PointerArithChecker.cpp | 164 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 D | ast-dump-record-definition-data-json.cpp | 63 struct IsPolymorphic { struct
|
H A D | ast-dump-record-definition-data.cpp | 104 struct IsPolymorphic { struct
|
/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 711 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 D | HostAssociations.cpp | 384 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 D | Allocatable.cpp | 475 !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 D | ConvertType.cpp | 155 bool isPolymorphic = (dynamicType->IsPolymorphic() || in genExprType() 278 bool isPolymorphic = (Fortran::semantics::IsPolymorphic(symbol) || in genSymbolType()
|
H A D | CallInterface.cpp | 101 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 D | Bridge.cpp | 746 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 D | ConvertCall.cpp | 665 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 D | check-call.cpp | 395 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 D | check-declarations.cpp | 409 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 D | definable.cpp | 216 if (dyType->IsPolymorphic()) { // C1596 in WhyNotDefinableLast()
|
H A D | runtime-type-info.cpp | 1192 if (ddo->type.type().IsPolymorphic()) { in DescribeSpecialProc() 1354 nonTbp.isDtvArgPolymorphic = declType->IsPolymorphic(); 1361 &*specific, which, declType->IsPolymorphic()});
|
H A D | scope.cpp | 243 return &MakeDerivedType(dyType->IsPolymorphic() in GetType()
|
H A D | tools.cpp | 1097 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 D | expression.cpp | 506 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 D | type.h | 181 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 D | type.h | 382 bool IsPolymorphic() const { in derivedTypeSpec() 367 bool IsPolymorphic() const { IsPolymorphic() function
|
H A D | tools.h | 199 bool IsPolymorphic(const Symbol &);
|