Analysis that recognizes hash algorithms such as CRC in loops.

Synopsis

Declared in <llvm/Analysis/HashRecognize.h>

class HashRecognize;

Member Functions

Name

Description

HashRecognize [constructor]

Construct the analysis for loop L using scalar evolution SE.

dump

Dump analysis results to the debug stream.

getResult

Return recognized polynomial info when CRC matching succeeds.

print

Write analysis results for the loop to OS.

recognizeCRC

Attempt to recognize a CRC algorithm in the analyzed loop.

Static Member Functions

Name

Description

genBarrettConstants

Generate Mu and FullGenPoly constants for a GF(2) Barrett reduction.

genSarwateTable

Build a 256‐entry Sarwate CRC table for generating polynomial GenPoly.

Created with MrDocs