FLANG
Public Member Functions | Public Attributes | List of all members
fir::factory::SSARegister Class Reference

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

Public Member Functions

void pushValue (mlir::Location loc, fir::FirOpBuilder &builder, mlir::Value value)
 
void resetFetchPosition (mlir::Location loc, fir::FirOpBuilder &builder)
 
mlir::Value fetch (mlir::Location loc, fir::FirOpBuilder &builder)
 
void destroy (mlir::Location loc, fir::FirOpBuilder &builder)
 
bool canBeFetchedAfterPush () const
 

Public Attributes

mlir::Value ssaRegister
 Temporary storage for the copy.
 

Detailed Description

Structure to keep track of a simple mlir::Value. This is useful when a value does not need an in memory copy because it is already saved in an SSA value that will be accessible at the fetching point.


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