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

Method getSplatValue

lib/Analysis/VectorUtils.cpp:286–307  ·  view source on GitHub ↗

\brief Get splat value if the input is a splat vector or return nullptr. This function is not fully general. It checks only 2 cases: the input value is (1) a splat constants vector or (2) a sequence of instructions that broadcast a single value into a vector.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

getOperandInfoFunction · 0.45
SimplifyFCmpInstFunction · 0.45

Calls 4

getTypeMethod · 0.45
getShuffleMaskMethod · 0.45
getOperandMethod · 0.45
isNullValueMethod · 0.45

Tested by

no test coverage detected