FLANG
fir::BlockStackScopes Struct Reference

#include <Optimizer/Transforms/StackArrays.h>

Public Attributes

bool canSaveRestore = false
llvm::SmallVector< std::pair< mlir::Operation *, mlir::Operation * > > pairs
 The llvm.stacksave/llvm.stackrestore pairs already in the block.

Detailed Description

Stack scopes of a block in which the allocations that must stay inside a loop share one llvm.stacksave/llvm.stackrestore pair.

Member Data Documentation

◆ canSaveRestore

bool fir::BlockStackScopes::canSaveRestore = false

Whether a stack scope covering the whole block can be added without reclaiming stack storage that is still in use.


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