LLVM 17.0.0git
llvm::IRSimilarity::IRSimilarityCandidate::RelativeLocMapping Struct Reference

A helper struct to hold the candidate, for a branch instruction, the relative location of a label, and the label itself. More...

#include "llvm/Analysis/IRSimilarityIdentifier.h"

Collaboration diagram for llvm::IRSimilarity::IRSimilarityCandidate::RelativeLocMapping:
[legend]

## Public Attributes

const IRSimilarityCandidateIRSC
The IRSimilarityCandidate that holds the instruction the relative location was pulled from.

int RelativeLocation
The relative location to be analyzed.

ValueOperVal
The corresponding value.

## Detailed 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.

Definition at line 736 of file IRSimilarityIdentifier.h.

## ◆ IRSC

 const IRSimilarityCandidate& llvm::IRSimilarity::IRSimilarityCandidate::RelativeLocMapping::IRSC

The IRSimilarityCandidate that holds the instruction the relative location was pulled from.

Definition at line 739 of file IRSimilarityIdentifier.h.

## ◆ OperVal

 Value* llvm::IRSimilarity::IRSimilarityCandidate::RelativeLocMapping::OperVal

The corresponding value.

Definition at line 745 of file IRSimilarityIdentifier.h.

## ◆ RelativeLocation

 int llvm::IRSimilarity::IRSimilarityCandidate::RelativeLocMapping::RelativeLocation

The relative location to be analyzed.

Definition at line 742 of file IRSimilarityIdentifier.h.

The documentation for this struct was generated from the following file: