Home
last modified time | relevance | path

Searched refs:ALLOCATABLE (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dattr.h24 ENUM_CLASS(Attr, ABSTRACT, ALLOCATABLE, ASYNCHRONOUS, BIND_C, CONTIGUOUS, in ENUM_CLASS() argument
H A Dtools.h137 return symbol.attrs().test(Attr::ALLOCATABLE); in IsAllocatable()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td171 let summary = "Reference to an ALLOCATABLE attribute type";
174 The type of a heap pointer. Fortran entities with the ALLOCATABLE attribute
177 indirection. For example, an ALLOCATABLE POINTER is invalid.
265 indirection. For example, an ALLOCATABLE POINTER is invalid.
H A DFIROps.td1046 let summary = "is the boxed value an ALLOCATABLE?";
1049 Determine if the boxed value was from an ALLOCATABLE entity. This will
1060 variable is an `ALLOCATABLE`.
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcharacteristics.cpp324 {Attr::ALLOCATABLE, DummyDataObject::Attr::Allocatable}, in Characterize()
796 {semantics::Attr::ALLOCATABLE, FunctionResult::Attr::Allocatable}, in CharacterizeFunctionResult()
/llvm-project-15.0.7/flang/docs/
H A Df2018-grammar.md144 access-spec | ALLOCATABLE |
208 access-spec | ALLOCATABLE | ASYNCHRONOUS |
247 R829 allocatable-stmt -> ALLOCATABLE [::] allocatable-decl-list
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-declarations.cpp434 if (symbol.attrs().test(Attr::ALLOCATABLE)) { in CheckAssumedTypeEntity()
1498 CheckConflicting(symbol, Attr::POINTER, Attr::ALLOCATABLE); // C751 in CheckPointer()
1578 } else if (passArg.attrs().test(Attr::ALLOCATABLE)) { in CheckPassArg()
H A Dresolve-names.cpp263 HANDLE_ATTR_CLASS(Allocatable, ALLOCATABLE)
884 objectDeclAttr_ = Attr::ALLOCATABLE; in Pre()
3848 if (!GetAttrs().HasAny({Attr::POINTER, Attr::ALLOCATABLE})) { // C702 in Post()
4651 if (!attrs.HasAny({Attr::POINTER, Attr::ALLOCATABLE})) { in Post()
4663 if (attrs.HasAny({Attr::POINTER, Attr::ALLOCATABLE})) { in Post()
4730 GetAttrs().HasAny({Attr::POINTER, Attr::ALLOCATABLE})); in Pre()
5395 if (attrs.test(Attr::ALLOCATABLE)) { in CheckCommonBlocks()
5451 if (component.attrs().test(Attr::ALLOCATABLE)) { in CheckCommonBlockDerivedType()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h928 semantics::Attrs{semantics::Attr::POINTER, semantics::Attr::ALLOCATABLE}); in IsAllocatableOrPointer()
/llvm-project-15.0.7/flang/test/Fir/
H A Dconvert-to-llvm.fir1567 // Check `fir.embox` conversion of an ALLOCATABLE entity. Make sure that the