Construct polynomial recognition results for a matched loop.

Synopsis

Declared in <llvm/Analysis/HashRecognize.h>

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

Parameters

Name

Description

TripCount

Constant trip count of the analyzed loop.

LHS

Initial LHS value of the polynomial computation.

RHS

Generating polynomial (constant RHS).

ComputedValue

Final computed value of the algorithm.

IsBigEndian

Whether the algorithm is big‐endian.

LHSAux

Optional auxiliary value XOR'ed with LHS.

Created with MrDocs