[PATCH] D123251: [TBAA] Add a TBAA viewer pass.

Joshua Cranmer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 13:21:11 PDT 2022


jcranmer-intel created this revision.
Herald added subscribers: jeroen.dobbelaere, kosarev, hiraditya, mgorny.
Herald added a project: All.
jcranmer-intel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it possible to view the TBAA type tree, the fields of a TBAA struct
nodes, and where access tags point to in this hierarchy. There is also a mode
which shows the intermediate structure tags pointed to by the access tags, but
that may not be the best of displaying this information, so it remains not the
default view.

Depends on D123250 <https://reviews.llvm.org/D123250>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123251

Files:
  llvm/include/llvm/Analysis/TBAAPrinter.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/TBAAPrinter.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123251.420996.patch
Type: text/x-patch
Size: 14296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220406/7966e5cc/attachment.bin>


More information about the llvm-commits mailing list