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

Function MaskedValueIsZero

lib/Analysis/ValueTracking.cpp:1919–1924  ·  view source on GitHub ↗

Return true if 'V & Mask' is known to be zero. We use this predicate to simplify operations downstream. Mask is known to be zero for bits that V cannot have. This function is defined on values with integer type, values with pointer type, and vectors of integers. In the case where V is a vector, the mask, known zero, and known one values are the same width as the vector element, and the bit is s

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

GetLinearExpressionMethod · 0.70
SimplifyOrInstFunction · 0.70
MaskedValueIsZeroMethod · 0.70
SignBitIsZeroMethod · 0.50

Calls 2

computeKnownBitsFunction · 0.70
getBitWidthMethod · 0.45

Tested by

no test coverage detected