struct IRSimilarityCandidate::RelativeLocMapping
Declaration
struct IRSimilarityCandidate::RelativeLocMapping { /* full declaration omitted */ };
Description
A helper struct to hold the candidate, for a branch instruction, the relative location of a label, and the label itself. This is mostly to group the values together before passing them as a bundle to a function.
Declared at: llvm/include/llvm/Analysis/IRSimilarityIdentifier.h:730
Member Variables
- public const llvm::IRSimilarity::IRSimilarityCandidate& IRSC
- The IRSimilarityCandidate that holds the instruction the relative location was pulled from.
- public int RelativeLocation
- The relative location to be analyzed.
- public llvm::Value* OperVal
- The corresponding value.