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

Function ExtractConstantBytes

lib/IR/ConstantFold.cpp:212–345  ·  view source on GitHub ↗

V is an integer constant which only has a subset of its bytes used. The bytes used are indicated by ByteStart (which is the first byte used, counting from the least significant byte) and ByteSize, which is the number of bytes used. This function analyzes the specified constant to see if the specified byte range can be returned as a simplified constant. If so, the constant is returned, otherwise

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 14

assertFunction · 0.50
getFunction · 0.50
isIntegerTyMethod · 0.45
getTypeMethod · 0.45
getBitWidthMethod · 0.45
getValueMethod · 0.45
lshrMethod · 0.45
truncMethod · 0.45
getContextMethod · 0.45
getOpcodeMethod · 0.45
getOperandMethod · 0.45
isAllOnesValueMethod · 0.45

Tested by

no test coverage detected