FLANG
fir::AllocationInfo Struct Reference

Facts about a single existing array allocation used to decide its placement. More...

#include <flang/Optimizer/Support/AllocationPolicy.h>

Inheritance diagram for fir::AllocationInfo:
fir::PendingAllocationInfo

Public Attributes

mlir::Operation * op = nullptr
 The allocation operation (fir.alloca or fir.allocmem).
bool isCurrentlyOnStack = false
 True if the allocation currently lives on the stack (fir.alloca).
Public Attributes inherited from fir::PendingAllocationInfo
bool isTemporary = false
bool isDynamic = false
std::optional< std::int64_t > byteSize
 The constant size of the allocation in bytes, if it can be determined.

Detailed Description

Facts about a single existing array allocation used to decide its placement.


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