FLANG
fir::factory::TemporaryStorage Class Reference

Generic wrapper over the different sorts of temporary storages. More...

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

Public Member Functions

template<typename T>
 TemporaryStorage (T &&impl)
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
template<typename T>
T & cast ()

Detailed Description

Generic wrapper over the different sorts of temporary storages.

Member Function Documentation

◆ canBeFetchedAfterPush()

bool fir::factory::TemporaryStorage::canBeFetchedAfterPush ( ) const
inline

Can "fetch" be called to get the last value pushed with "pushValue"?


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