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

Function SimplifyAddInst

lib/Analysis/InstructionSimplify.cpp:529–580  ·  view source on GitHub ↗

Given operands for an Add, 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 5

visitAddMethod · 0.85
SimplifyAddInstMethod · 0.85
SimplifyBinOpFunction · 0.85
SimplifyInstructionMethod · 0.85
PHITranslateSubExprMethod · 0.85

Calls 12

m_UndefFunction · 0.85
m_ZeroFunction · 0.85
m_SubFunction · 0.85
m_ValueFunction · 0.85
m_SpecificFunction · 0.85
m_NotFunction · 0.85
SimplifyXorInstFunction · 0.85
SimplifyAssociativeBinOpFunction · 0.85
swapFunction · 0.50
matchFunction · 0.50
getTypeMethod · 0.45
isIntegerTyMethod · 0.45

Tested by

no test coverage detected