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

Function CollectAddOperandsWithScales

lib/Analysis/ScalarEvolution.cpp:1901–1965  ·  view source on GitHub ↗

Process the given Ops list, which is a list of operands to be added under the given scale, update the given map. This is a helper function for getAddRecExpr. As an example of what it does, given a sequence of operands that would form an add expression like this: m + n + 13 + (A * (o + p + (B * (q + m + 29)))) + r + (-1 * r) where A and B are constants, update the map with these values: (m, 1+A*

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getAddExprMethod · 0.85

Calls 9

isZeroMethod · 0.45
getValueMethod · 0.45
getOperandMethod · 0.45
getNumOperandsMethod · 0.45
op_beginMethod · 0.45
op_endMethod · 0.45
getMulExprMethod · 0.45
insertMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected