[PATCH] D86973: [IRSim] Adding wrapper pass for IRSimilarityIdentfier

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 13:19:55 PDT 2020


AndrewLitteken created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
AndrewLitteken requested review of this revision.

This introduces an analysis pass that wraps IRSimilarityIdentifier, and adds a printer pass to examine in what function similarities are being found.
Test for what the printer pass can find are in `test/Analysis/IRSimilarityIdentifier`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86973

Files:
  llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/Analysis/Analysis.cpp
  llvm/lib/Analysis/IRSimilarityIdentifier.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Analysis/IRSimilarityIdentifier/basic.ll
  llvm/test/Analysis/IRSimilarityIdentifier/different.ll
  llvm/test/Analysis/IRSimilarityIdentifier/nothing.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86973.289266.patch
Type: text/x-patch
Size: 12471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/238c94d3/attachment.bin>


More information about the llvm-commits mailing list