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

Function SimplifySelectInst

lib/Analysis/InstructionSimplify.cpp:3376–3504  ·  view source on GitHub ↗

Given operands for a SelectInst, see if we can fold the result. If not, this returns null.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

visitSelectInstMethod · 0.85
SimplifySelectInstMethod · 0.85
SimplifyInstructionMethod · 0.85

Calls 15

m_AndFunction · 0.85
m_ValueFunction · 0.85
m_APIntFunction · 0.85
m_ZeroFunction · 0.85
m_AllOnesFunction · 0.85
m_SpecificFunction · 0.85
m_OrFunction · 0.85
SimplifyWithOpReplacedFunction · 0.85
isPowerOf2Method · 0.80
isMaxSignedValueMethod · 0.80
matchFunction · 0.50
isAllOnesValueMethod · 0.45

Tested by

no test coverage detected