[PATCH] D158317: [IR] Add SturcturalHash printer pass

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 14:52:55 PDT 2023


aidengrossman created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds in a StructuralHash printer pass that prints out the
hexadeicmal representation of the hash of a module and all of the
functions within it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158317

Files:
  llvm/include/llvm/Analysis/StructuralHash.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/StructuralHash.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Analysis/StructuralHash/structural-hash-printer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158317.551647.patch
Type: text/x-patch
Size: 5134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230818/6dae0fff/attachment.bin>


More information about the llvm-commits mailing list