FLANG
|
#include <flang/Optimizer/Analysis/TBAAForest.h>
Public Member Functions | |
SubtreeState (const SubtreeState &)=delete | |
SubtreeState (SubtreeState &&)=default | |
mlir::LLVM::TBAATagAttr | getTag (llvm::StringRef uniqueId) const |
mlir::LLVM::TBAATagAttr | getTag () const |
mlir::LLVM::TBAATypeDescriptorAttr | getRoot () const |
SubtreeState & | getOrCreateNamedSubtree (mlir::StringAttr name) |
This contains a TBAA subtree based on some parent. New tags can be added under the parent using getTag.
fir::TBAATree::SubtreeState & fir::TBAATree::SubtreeState::getOrCreateNamedSubtree | ( | mlir::StringAttr | name | ) |
For the given name, get or create a subtree in the current subtree. For example, this is used for creating subtrees inside the "global data" subtree for the COMMON block variables belonging to the same COMMON block.
mlir::LLVM::TBAATagAttr fir::TBAATree::SubtreeState::getTag | ( | ) | const |
Create a TBAA tag pointing to the root of this subtree, i.e. all the children tags will alias with this tag.