LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PolynomialInfo Struct Reference

The structure that is returned when a polynomial algorithm was recognized by the analysis. More...

#include "llvm/Analysis/HashRecognize.h"

Public Member Functions

 PolynomialInfo (unsigned TripCount, Value *LHS, const APInt &RHS, Value *ComputedValue, bool ByteOrderSwapped, Value *LHSAux=nullptr)
 

Public Attributes

unsigned TripCount
 
ValueLHS
 
APInt RHS
 
ValueComputedValue
 
bool ByteOrderSwapped
 
ValueLHSAux
 

Detailed Description

The structure that is returned when a polynomial algorithm was recognized by the analysis.

Currently, only the CRC algorithm is recognized.

Definition at line 46 of file HashRecognize.h.

Constructor & Destructor Documentation

◆ PolynomialInfo()

PolynomialInfo::PolynomialInfo ( unsigned  TripCount,
Value LHS,
const APInt RHS,
Value ComputedValue,
bool  ByteOrderSwapped,
Value LHSAux = nullptr 
)

Definition at line 456 of file HashRecognize.cpp.

References LHS, and RHS.

Member Data Documentation

◆ ByteOrderSwapped

bool llvm::PolynomialInfo::ByteOrderSwapped

Definition at line 67 of file HashRecognize.h.

◆ ComputedValue

Value* llvm::PolynomialInfo::ComputedValue

Definition at line 64 of file HashRecognize.h.

◆ LHS

Value* llvm::PolynomialInfo::LHS

Definition at line 56 of file HashRecognize.h.

◆ LHSAux

Value* llvm::PolynomialInfo::LHSAux

Definition at line 72 of file HashRecognize.h.

◆ RHS

APInt llvm::PolynomialInfo::RHS

Definition at line 60 of file HashRecognize.h.

◆ TripCount

unsigned llvm::PolynomialInfo::TripCount

Definition at line 48 of file HashRecognize.h.


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