9e73f7c8d2
This is a similarity visualization tool that accepts a Module and
passes it to the IRSimilarityIdentifier. The resulting SimilarityGroups
are output in a JSON file.
Tests are found in test/tools/llvm-sim and check for the file not found,
a bad module, and that the JSON is created correctly.
Reviewers: paquette, jroelofs, MaskRay
Recommit of: 15645d044b
to fix linking
errors and GN build system.
Differential Revision: https://reviews.llvm.org/D86974
10 lines
106 B
CMake
10 lines
106 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
Support
|
|
Analysis
|
|
IRReader)
|
|
|
|
add_llvm_tool(llvm-sim
|
|
llvm-sim.cpp
|
|
)
|