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

Function SimplifySubInst

lib/Analysis/InstructionSimplify.cpp:663–775  ·  view source on GitHub ↗

Given operands for a Sub, 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 4

visitSubMethod · 0.85
SimplifySubInstMethod · 0.85
SimplifyBinOpFunction · 0.85
SimplifyInstructionMethod · 0.85

Calls 15

m_UndefFunction · 0.85
m_ZeroFunction · 0.85
m_AddFunction · 0.85
m_ValueFunction · 0.85
SimplifyBinOpFunction · 0.85
m_SubFunction · 0.85
m_TruncFunction · 0.85
SimplifyTruncInstFunction · 0.85
m_PtrToIntFunction · 0.85
computePointerDifferenceFunction · 0.85
SimplifyXorInstFunction · 0.85
matchFunction · 0.50

Tested by

no test coverage detected