Home
last modified time | relevance | path

Searched refs:DerivedType (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/flang/runtime/
H A Dtype-info.cpp80 const DerivedType *type{derivedType()}; in SizeInBytes()
101 const DerivedType *type{derivedType()}; in EstablishDescriptor()
136 const DerivedType *DerivedType::GetParentType() const { in GetParentType()
146 const Component *DerivedType::FindDataComponent( in FindDataComponent()
161 const DerivedType *parent{GetParentType()}; in FindDataComponent()
178 FILE *DerivedType::Dump(FILE *f) const { in Dump()
186 if (offset == offsetof(DerivedType, binding_)) { in Dump()
188 } else if (offset == offsetof(DerivedType, name_)) { in Dump()
198 } else if (offset == offsetof(DerivedType, component_)) { in Dump()
200 } else if (offset == offsetof(DerivedType, procPtr_)) { in Dump()
[all …]
H A Dderived.h15 class DerivedType; variable
24 int Initialize(const Descriptor &, const typeInfo::DerivedType &, Terminator &,
28 void Finalize(const Descriptor &, const typeInfo::DerivedType &derived);
32 void Destroy(const Descriptor &, bool finalize, const typeInfo::DerivedType &);
H A Dtype-info.h25 class DerivedType; variable
67 const DerivedType *derivedType() const { in derivedType()
68 return derivedType_.descriptor().OffsetElement<const DerivedType>(); in derivedType()
183 class DerivedType {
185 ~DerivedType(); // never defined
209 const DerivedType *GetParentType() const;
H A Dderived.cpp17 int Initialize(const Descriptor &instance, const typeInfo::DerivedType &derived, in Initialize()
69 const typeInfo::DerivedType &compType{*comp.derivedType()}; in Initialize()
97 const typeInfo::DerivedType &derived, int rank) { in FindFinal()
111 const Descriptor &descriptor, const typeInfo::DerivedType &derived) { in CallFinalSubroutine()
153 const Descriptor &descriptor, const typeInfo::DerivedType &derived) { in Finalize()
175 if (const typeInfo::DerivedType * compType{comp.derivedType()}) { in Finalize()
198 const typeInfo::DerivedType &compType{*comp.derivedType()}; in Finalize()
217 const typeInfo::DerivedType &derived) { in Destroy()
H A Ddescriptor.cpp74 void Descriptor::Establish(const typeInfo::DerivedType &dt, void *p, int rank, in Establish()
108 OwningPtr<Descriptor> Descriptor::Create(const typeInfo::DerivedType &dt, in Create()
H A Dassign.cpp64 const typeInfo::DerivedType *toDerived{ in Assign()
67 const typeInfo::DerivedType *fromDerived{ in Assign()
H A Dallocatable.cpp35 const typeInfo::DerivedType &derivedType, int rank, int corank) { in RTNAME()
H A Ddescriptor-io.h276 const typeInfo::DerivedType *type{addendum->derivedType()}; in FormattedDerivedTypeIO()
320 const typeInfo::DerivedType *type{ in UnformattedDescriptorIO()
H A Dpointer.cpp35 const typeInfo::DerivedType &derivedType, int rank, int corank) { in RTNAME()
H A Dnamelist.cpp311 if (const typeInfo::DerivedType * in HandleComponent()
/llvm-project-15.0.7/flang/module/
H A D__fortran_type_info.f9022 type :: DerivedType type
32 type(DerivedType), pointer :: uninstantiated
88 type(DerivedType), pointer :: derived ! for category == Derived
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h33 class DerivedType; variable
94 explicit DescriptorAddendum(const typeInfo::DerivedType *dt = nullptr)
98 const typeInfo::DerivedType *derivedType() const { return derivedType_; } in derivedType()
99 DescriptorAddendum &set_derivedType(const typeInfo::DerivedType *dt) { in set_derivedType()
123 const typeInfo::DerivedType *derivedType_;
164 void Establish(const typeInfo::DerivedType &dt, void *p = nullptr,
180 static OwningPtr<Descriptor> Create(const typeInfo::DerivedType &dt,
H A Dallocatable.h34 Descriptor &, const typeInfo::DerivedType &, int rank = 0, int corank = 0);
H A Dpointer.h29 Descriptor &, const typeInfo::DerivedType &, int rank = 0, int corank = 0);
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dscope.h63 BlockData, DerivedType, BlockConstruct, Forall, OtherConstruct,
102 bool IsDerivedType() const { return kind_ == Kind::DerivedType; } in IsDerivedType()
106 return kind_ == Kind::DerivedType && !symbol_; in IsParameterizedDerivedTypeInstantiation()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp49 static bool isBaseOf(const Type *DerivedType, const Type *BaseType) { in isBaseOf() argument
50 const auto *DerivedClass = DerivedType->getAsCXXRecordDecl(); in isBaseOf()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/hungarian-notation2/
H A D.clang-tidy117 - key: readability-identifier-naming.HungarianNotation.DerivedType.Array
119 - key: readability-identifier-naming.HungarianNotation.DerivedType.Pointer
121 - key: readability-identifier-naming.HungarianNotation.DerivedType.FunctionPointer
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp458 HNOption.DerivedType[Type] = Val.str(); in loadFileConfig()
532 HNOption.CString, HNOption.DerivedType, HNOption.PrimitiveType, in removeDuplicatedPrefix()
560 PrefixStr = HNOption.DerivedType.lookup("FunctionPointer"); in getDataTypePrefix()
580 PrefixStr = HNOption.DerivedType.lookup("Array"); in getDataTypePrefix()
631 PrefixStr.insert(0, HNOption.DerivedType.lookup("Pointer")); in getDataTypePrefix()
706 HNOption.DerivedType.try_emplace(DT.first, DT.second); in loadDefaultConfig()
H A DIdentifierNamingCheck.h66 llvm::StringMap<std::string> DerivedType; member
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Didentifier-naming.rst2568 **HungarianNotation.DerivedType.***
2583 - :option:`HungarianNotation.DerivedType.Array`
2584 - :option:`HungarianNotation.DerivedType.Pointer`
2585 - :option:`HungarianNotation.DerivedType.FunctionPointer`
2600 .. option:: HungarianNotation.DerivedType.Array
2605 .. option:: HungarianNotation.DerivedType.Pointer
2610 .. option:: HungarianNotation.DerivedType.FunctionPointer
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dintrinsics.cpp71 static constexpr CategorySet DerivedType{TypeCategory::Derived}; variable
74 static constexpr CategorySet AnyType{IntrinsicType | DerivedType};
113 static constexpr TypePattern TeamType{DerivedType, KindCode::teamType};
131 static constexpr TypePattern ExtensibleDerived{DerivedType, KindCode::any};
1737 CHECK(result.categorySet == DerivedType); in Match()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dmod-file.cpp389 if (scope && scope->kind() == Scope::Kind::DerivedType) { in PutDECStructure()
764 if (symbol.owner().kind() == Scope::Kind::DerivedType && in PutEntity()
H A Dtype.cpp318 Scope &newScope{containingScope.MakeScope(Scope::Kind::DerivedType)}; in Instantiate()
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A D2004-04-05-InvokeCastCrash.ll17 …%"struct.llvm::DerivedType" = type { %"struct.llvm::Type", %"struct.llvm::AbstractTypeUser", %"str…
20 %"struct.llvm::FunctionType" = type { %"struct.llvm::DerivedType", i1 }
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp69 QualType DerivedType = E->getType(); in getBestDynamicClassType() local
70 if (const PointerType *PTy = DerivedType->getAs<PointerType>()) in getBestDynamicClassType()
71 DerivedType = PTy->getPointeeType(); in getBestDynamicClassType()
73 if (DerivedType->isDependentType()) in getBestDynamicClassType()
76 const RecordType *Ty = DerivedType->castAs<RecordType>(); in getBestDynamicClassType()

12