|
FLANG
|
#include <flang/Optimizer/Analysis/AliasAnalysis.h>
Public Types | |
| enum class | Kind { Component , PointerDeref , AllocDeref } |
Public Member Functions | |
| bool | operator== (const PathStep &o) const |
| bool | operator!= (const PathStep &o) const |
Public Attributes | |
| Kind | kind |
| mlir::StringAttr | component |
Represents a step in the access path from a root variable to the memory location being queried. Built during the backward walk in getSource() and stored in forward (root-to-leaf) order.
|
strong |
| mlir::StringAttr fir::AliasAnalysis::Source::PathStep::component |
For Component steps: the field name from hlfir.designate's component attribute or fir.coordinate_of's field_indices (mapped through the record type). Null for non-Component steps.