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

Method OptimizeAdd

lib/Transforms/Scalar/Reassociate.cpp:1391–1616  ·  view source on GitHub ↗

Optimize a series of operands to an 'add' instruction. This optimizes based on identities. If it can be reduced to a single Value, it is returned, otherwise the Ops list is mutated as necessary.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DEBUGFunction · 0.85
CreateMulFunction · 0.85
ValueEntryClass · 0.85
FindInOperandListFunction · 0.85
isReassociableOpFunction · 0.85
CreateAddFunction · 0.85
EmitAddTreeOfValuesFunction · 0.85
isIntOrIntVectorTyMethod · 0.80
changeSignMethod · 0.80
getFunction · 0.50
assertFunction · 0.50

Tested by

no test coverage detected