ΒΆbool isClose(
const llvm::IRSimilarity::IRInstructionData&
A,
const llvm::IRSimilarity::IRInstructionData&
B)
bool isClose(
const llvm::IRSimilarity::IRInstructionData&
A,
const llvm::IRSimilarity::IRInstructionData&
B)
Description
Compare one IRInstructionData class to another IRInstructionData class for whether they are performing a the same operation, and can mapped to the same value. For regular instructions if the hash value is the same, then they will also be close.
Declared at: llvm/include/llvm/Analysis/IRSimilarityIdentifier.h:309
Parameters
- const llvm::IRSimilarity::IRInstructionData& A
- - The first IRInstructionData class to compare
- const llvm::IRSimilarity::IRInstructionData& B
- - The second IRInstructionData class to compare
Returns
true if \p A and \p B are similar enough to be mapped to the same value.