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

Method GetLinearExpression

lib/Analysis/BasicAliasAnalysis.cpp:182–321  ·  view source on GitHub ↗

Analyzes the specified value as a linear expression: "A*V + B", where A and B are constant integers. Returns the scale and offset values as APInts and return V as a Value*, and return whether we looked through any sign or zero extends. The incoming Value is known to have IntegerType, and it may already be sign or zero extended. Note that this looks through extends, so the high bits may not be r

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

zextOrSelfMethod · 0.80
sextMethod · 0.80
MaskedValueIsZeroFunction · 0.70
assertFunction · 0.50
isIntegerTyMethod · 0.45
getTypeMethod · 0.45
getValueMethod · 0.45
getBitWidthMethod · 0.45
getOperandMethod · 0.45
getOpcodeMethod · 0.45
getLimitedValueMethod · 0.45

Tested by

no test coverage detected