MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / SimplifyRightShift

Function SimplifyRightShift

lib/Analysis/InstructionSimplify.cpp:1344–1371  ·  view source on GitHub ↗

\brief Given operands for an Shl, LShr or AShr, see if we can fold the result. If not, this returns null.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SimplifyLShrInstFunction · 0.85
SimplifyAShrInstFunction · 0.85

Calls 6

SimplifyShiftFunction · 0.85
m_UndefFunction · 0.85
computeKnownBitsFunction · 0.70
matchFunction · 0.50
getTypeMethod · 0.45
getScalarSizeInBitsMethod · 0.45

Tested by

no test coverage detected