MCPcopy Create free account
hub / github.com/cseagle/blc / findForm

Method findForm

ruleaction.cc:7558–7632  ·  view source on GitHub ↗

\brief Check for INT_(S)RIGHT and/or SUBPIECE followed by INT_MULT Look for the forms: - `sub(ext(X) * y,c)` or - `sub(ext(X) * y,c) >> n` or - `(ext(X) * y) >> n` Looks for truncation/multiplication consistent with an optimized division. The truncation can come as either a SUBPIECE operation and/or right shifts. The numerand and the amount it has been extended is discovered. The extensio

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

count_leading_zerosFunction · 0.85
codeMethod · 0.80
isWrittenMethod · 0.80
isConstantExtendedMethod · 0.80
getNZMaskMethod · 0.80
isFreeMethod · 0.80
getInMethod · 0.45
isConstantMethod · 0.45
getOffsetMethod · 0.45
getDefMethod · 0.45
getSizeMethod · 0.45
getOutMethod · 0.45

Tested by

no test coverage detected