FLANG
fir::MutableProperties Class Reference

#include <flang/Optimizer/Builder/BoxValue.h>

Public Member Functions

bool isEmpty () const

Public Attributes

mlir::Value addr
llvm::SmallVector< mlir::Value, 2 > extents
llvm::SmallVector< mlir::Value, 2 > lbounds
llvm::SmallVector< mlir::Value, 2 > deferredParams

Detailed Description

Set of variables (addresses) holding the allocatable properties. These may be empty in case it is not deemed safe to duplicate the descriptor information locally (For instance, a volatile allocatable will always be lowered to a descriptor to preserve the integrity of the entity and its associated properties. As such, all references to the entity and its property will go through the descriptor explicitly.).

Member Data Documentation

◆ deferredParams

llvm::SmallVector<mlir::Value, 2> fir::MutableProperties::deferredParams

Only keep track of the deferred LEN parameters through variables, since they are the only ones that can change as per the deferred type parameters definition in F2018 standard section 3.147.12.2. Non-deferred values are returned by MutableBoxValue.nonDeferredLenParams().


The documentation for this class was generated from the following file: