LLVM 20.0.0git
|
Custom InstVisitor to classify different instructions for whether it can be analyzed for similarity. More...
#include "llvm/Analysis/IRSimilarityIdentifier.h"
Public Attributes | |
bool | EnableBranches = false |
bool | EnableIndirectCalls = false |
bool | EnableIntrinsics = false |
bool | EnableMustTailCalls = false |
Custom InstVisitor to classify different instructions for whether it can be analyzed for similarity.
Definition at line 520 of file IRSimilarityIdentifier.h.
|
default |
|
inline |
Definition at line 536 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 525 of file IRSimilarityIdentifier.h.
References EnableBranches, llvm::IRSimilarity::Illegal, and llvm::IRSimilarity::Legal.
|
inline |
Definition at line 585 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 561 of file IRSimilarityIdentifier.h.
References EnableIndirectCalls, EnableMustTailCalls, F, llvm::CallBase::getCalledFunction(), llvm::CallBase::getCallingConv(), llvm::IRSimilarity::Illegal, llvm::CallBase::isIndirectCall(), llvm::CallInst::isMustTailCall(), llvm::IRSimilarity::Legal, llvm::CallingConv::SwiftTail, and llvm::CallingConv::Tail.
|
inline |
Definition at line 547 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Invisible.
|
inline |
Definition at line 543 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 588 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Legal.
|
inline |
Definition at line 548 of file IRSimilarityIdentifier.h.
References EnableIntrinsics, II, llvm::IRSimilarity::Illegal, and llvm::IRSimilarity::Legal.
|
inline |
Definition at line 583 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 542 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 530 of file IRSimilarityIdentifier.h.
References EnableBranches, llvm::IRSimilarity::Illegal, and llvm::IRSimilarity::Legal.
|
inline |
Definition at line 587 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
|
inline |
Definition at line 539 of file IRSimilarityIdentifier.h.
References llvm::IRSimilarity::Illegal.
bool llvm::IRSimilarity::IRInstructionMapper::InstructionClassification::EnableBranches = false |
Definition at line 592 of file IRSimilarityIdentifier.h.
Referenced by llvm::IRSimilarity::IRSimilarityIdentifier::findSimilarity(), visitBranchInst(), and visitPHINode().
bool llvm::IRSimilarity::IRInstructionMapper::InstructionClassification::EnableIndirectCalls = false |
Definition at line 596 of file IRSimilarityIdentifier.h.
Referenced by llvm::IRSimilarity::IRSimilarityIdentifier::findSimilarity(), and visitCallInst().
bool llvm::IRSimilarity::IRInstructionMapper::InstructionClassification::EnableIntrinsics = false |
Definition at line 600 of file IRSimilarityIdentifier.h.
Referenced by llvm::IRSimilarity::IRSimilarityIdentifier::findSimilarity(), and visitIntrinsicInst().
bool llvm::IRSimilarity::IRInstructionMapper::InstructionClassification::EnableMustTailCalls = false |
Definition at line 604 of file IRSimilarityIdentifier.h.
Referenced by llvm::IRSimilarity::IRSimilarityIdentifier::findSimilarity(), and visitCallInst().