FLANG
|
#include <Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.h>
Public Types | |
using | Action = std::variant< hlfir::RegionAssignOp, SaveEntity > |
Public Attributes | |
llvm::SmallVector< Action > | actions |
llvm::SmallVector< mlir::MemoryEffects::EffectInstance > | memoryEffects |
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.
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.