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

Function getReductionValue

lib/Transforms/Vectorize/SLPVectorizer.cpp:4325–4368  ·  view source on GitHub ↗

\brief Try and get a reduction value from a phi node. Given a phi node \p P in a block \p ParentBB, consider possible reductions if they come from either \p ParentBB or a containing loop latch. \returns A candidate reduction value if possible, or \code nullptr \endcode if not possible.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 6

getLoopLatchMethod · 0.80
dominatesMethod · 0.45
getParentMethod · 0.45
getIncomingBlockMethod · 0.45
getIncomingValueMethod · 0.45
getLoopForMethod · 0.45

Tested by

no test coverage detected