Home
last modified time | relevance | path

Searched refs:typeInfo (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dderived.cpp29 if (comp.genre() == typeInfo::Component::Genre::Allocatable || in Initialize()
30 comp.genre() == typeInfo::Component::Genre::Automatic) { in Initialize()
59 const typeInfo::Value *bounds{comp.bounds()}; in Initialize()
61 typeInfo::TypeParameterValue lb{ in Initialize()
63 typeInfo::TypeParameterValue ub{ in Initialize()
96 static const typeInfo::SpecialBinding *FindFinal( in FindFinal()
97 const typeInfo::DerivedType &derived, int rank) { in FindFinal()
99 typeInfo::SpecialBinding::RankFinal(rank))}) { in FindFinal()
106 typeInfo::SpecialBinding::Which::ElementalFinal); in FindFinal()
189 const typeInfo::Value *bounds{comp.bounds()}; in Finalize()
[all …]
H A Dderived.h14 namespace Fortran::runtime::typeInfo {
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 Dassign.cpp19 const Descriptor &from, const typeInfo::SpecialBinding &special) { in DoScalarDefinedAssignment()
43 const Descriptor &from, const typeInfo::SpecialBinding &special, in DoElementalDefinedAssignment()
64 const typeInfo::DerivedType *toDerived{ in Assign()
67 const typeInfo::DerivedType *fromDerived{ in Assign()
166 typeInfo::SpecialBinding::Which::ScalarAssignment)}) { in Assign()
171 typeInfo::SpecialBinding::Which::ElementalAssignment)}) { in Assign()
189 case typeInfo::Component::Genre::Data: in Assign()
211 case typeInfo::Component::Genre::Pointer: { in Assign()
220 case typeInfo::Component::Genre::Allocatable: in Assign()
221 case typeInfo::Component::Genre::Automatic: in Assign()
[all …]
H A Ddescriptor-io.h246 const typeInfo::Component &component, const Descriptor &origDescriptor, in DefaultFormattedComponentIO()
248 if (component.genre() == typeInfo::Component::Genre::Data) { in DefaultFormattedComponentIO()
276 const typeInfo::DerivedType *type{addendum->derivedType()}; in FormattedDerivedTypeIO()
278 if (const typeInfo::SpecialBinding * in FormattedDerivedTypeIO()
280 ? typeInfo::SpecialBinding::Which::ReadFormatted in FormattedDerivedTypeIO()
281 : typeInfo::SpecialBinding::Which::WriteFormatted)}) { in FormattedDerivedTypeIO()
300 const typeInfo::Component &component{ in FormattedDerivedTypeIO()
301 *compArray.Element<typeInfo::Component>(at)}; in FormattedDerivedTypeIO()
320 const typeInfo::DerivedType *type{ in UnformattedDescriptorIO()
322 if (const typeInfo::SpecialBinding * in UnformattedDescriptorIO()
[all …]
H A Dcopy.cpp30 const typeInfo::Component *component{ in CopyElement()
31 componentDesc.OffsetElement<typeInfo::Component>()}; in CopyElement()
34 if (component->genre() == typeInfo::Component::Genre::Allocatable || in CopyElement()
35 component->genre() == typeInfo::Component::Genre::Automatic) { in CopyElement()
H A Ddescriptor-io.cpp15 const Descriptor &descriptor, const typeInfo::SpecialBinding &special) { in DefinedFormattedIo()
83 const typeInfo::SpecialBinding &special) { in DefinedUnformattedIo()
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 Dtype-info.cpp13 namespace Fortran::runtime::typeInfo { namespace
108 const typeInfo::Value *boundValues{bounds()}; in EstablishDescriptor()
H A Dallocatable.cpp35 const typeInfo::DerivedType &derivedType, int rank, int corank) { in RTNAME()
H A Dtype-info.h23 namespace Fortran::runtime::typeInfo {
H A Dnamelist.cpp311 if (const typeInfo::DerivedType * in HandleComponent()
313 if (const typeInfo::Component * in HandleComponent()
H A Dpointer.cpp35 const typeInfo::DerivedType &derivedType, int rank, int corank) { in RTNAME()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h31 namespace Fortran::runtime::typeInfo {
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()
106 typeInfo::TypeParameterValue LenParameterValue(int which) const { in LenParameterValue()
112 std::max(lenParameters - 1, 0) * sizeof(typeInfo::TypeParameterValue); in SizeInBytes()
116 void SetLenParameterValue(int which, typeInfo::TypeParameterValue x) { in SetLenParameterValue()
123 const typeInfo::DerivedType *derivedType_;
124 typeInfo::TypeParameterValue len_[1]; // must be the last component
164 void Establish(const typeInfo::DerivedType &dt, void *p = nullptr,
[all …]
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/mlir/lib/Dialect/LLVMIR/IR/
H A DNVVMDialect.cpp573 std::pair<Type, unsigned> typeInfo = in verify() local
576 getContext(), SmallVector<Type, 8>(typeInfo.second, typeInfo.first)); in verify()
579 << typeInfo.second << " elements of type " << typeInfo.first; in verify()
593 std::pair<Type, unsigned> typeInfo = in verify() local
595 if (getArgs().size() != typeInfo.second) in verify()
596 return emitOpError() << "expected " << typeInfo.second << " data operands"; in verify()
597 if (llvm::any_of(getArgs(), [&typeInfo](Value operands) { in verify()
598 return operands.getType() != typeInfo.first; in verify()
600 return emitOpError() << "expected data operands of type " << typeInfo.first; in verify()
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dir_test.go112 typeInfo := d.CreateSubroutineType(DISubroutineType{
122 Type: typeInfo,
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp365 std::pair<Type, unsigned> typeInfo = in convertMMAToLLVMType() local
368 type.getContext(), SmallVector<Type, 8>(typeInfo.second, typeInfo.first)); in convertMMAToLLVMType()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DDescriptorModel.h132 return getModel<Fortran::runtime::typeInfo::TypeParameterValue>(); in getExtendedDescFieldTypeModel()
H A DTypeConverter.h82 return getModel<Fortran::runtime::typeInfo::TypeParameterValue>()( in LLVMTypeConverter()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DDialect.h220 void addType(TypeID typeID, AbstractType &&typeInfo);
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp602 void Dialect::addType(TypeID typeID, AbstractType &&typeInfo) { in addType() argument
609 AbstractType(std::move(typeInfo)); in addType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DPropertiesBase.td481 def : Property<"typeInfo", QualType> {
523 TypeInfoLValue(typeInfo.value().getTypePtr()), type.value());