aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew_litteken@apple.com>2020-09-15 17:30:31 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2020-09-22 18:42:31 -0500
commit4944bb190fed8861d4d043eaf45e3c1e12aa2dc5 (patch)
treead6dd5e2de32af932826091c33178d09387dbbc9 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentaf429cd89bf83bbbef295ded85e66f03776ec015 (diff)
downloadllvm-4944bb190fed8861d4d043eaf45e3c1e12aa2dc5.zip
llvm-4944bb190fed8861d4d043eaf45e3c1e12aa2dc5.tar.gz
llvm-4944bb190fed8861d4d043eaf45e3c1e12aa2dc5.tar.bz2
[IRSim] Adding IRSimilarityCandidate that contains a region of IRInstructionData.
The IRSimilarityCandidate is a container to hold a region of IRInstructions and offer interfaces for the starting instruction, ending instruction, parent function, length. It also assigns a global value number for each unique instance of a value in the region. It also contains an interface to compare two IRSimilarity as to whether they have the same sequence of similar instructions. Tests for whether the instructions are similar are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp. Differential Revision: https://reviews.llvm.org/D86970
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions