FLANG
|
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 () |
Generic wrapper over the different sorts of temporary storages.
|
inline |
Can "fetch" be called to get the last value pushed with "pushValue"?