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

Function SimplifyShift

lib/Analysis/InstructionSimplify.cpp:1293–1340  ·  view source on GitHub ↗

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

SimplifyRightShiftFunction · 0.85
SimplifyShlInstFunction · 0.85

Calls 11

m_ZeroFunction · 0.85
isUndefShiftFunction · 0.85
ThreadBinOpOverSelectFunction · 0.85
ThreadBinOpOverPHIFunction · 0.85
Log2_32_CeilFunction · 0.85
computeKnownBitsFunction · 0.70
matchFunction · 0.50
getFunction · 0.50
getTypeMethod · 0.45
getScalarSizeInBitsMethod · 0.45
getLimitedValueMethod · 0.45

Tested by

no test coverage detected