FLANG
Public Types | Public Attributes | List of all members
hlfir::Run Struct Reference

#include <Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.h>

Public Types

using Action = std::variant< hlfir::RegionAssignOp, SaveEntity >
 

Public Attributes

llvm::SmallVector< Actionactions
 
llvm::SmallVector< mlir::MemoryEffects::EffectInstance > memoryEffects
 

Detailed Description

A run is a list of actions required to evaluate an ordered assignment tree that can be done in the same loop nest. The actions can evaluate and saves element values into temporary or evaluate assignments. The evaluation of an action in a run will cause the evaluation of all the regions that yield entities required to implement the action, except if the region was saved in a previous run, in which case it will use the previously saved value.

Member Typedef Documentation

◆ Action

using hlfir::Run::Action = std::variant<hlfir::RegionAssignOp, SaveEntity>

An action is either saving the values yielded by a region, or evaluating the assignment part of an hlfir::RegionAssignOp.


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