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

Function computeNumSignBitsVectorConstant

lib/Analysis/ValueTracking.cpp:1930–1951  ·  view source on GitHub ↗

For vector constants, loop over the elements and find the constant with the minimum number of sign bits. Return 0 if the value is not a vector constant or if any element was not analyzed; otherwise, return the count for the element with the minimum number of sign bits.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ComputeNumSignBitsFunction · 0.85

Calls 8

isVectorTyMethod · 0.80
getAggregateElementMethod · 0.80
countLeadingZerosMethod · 0.80
minFunction · 0.50
getTypeMethod · 0.45
getVectorNumElementsMethod · 0.45
getValueMethod · 0.45
isNegativeMethod · 0.45

Tested by

no test coverage detected