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

Function SimplifyDiv

lib/Analysis/InstructionSimplify.cpp:982–1061  ·  view source on GitHub ↗

Given operands for an SDiv or UDiv, 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 2

SimplifySDivInstFunction · 0.85
SimplifyUDivInstFunction · 0.85

Calls 15

m_UndefFunction · 0.85
m_ZeroFunction · 0.85
m_OneFunction · 0.85
m_MulFunction · 0.85
m_ValueFunction · 0.85
m_SRemFunction · 0.85
m_SpecificFunction · 0.85
m_URemFunction · 0.85
m_UDivFunction · 0.85
m_ConstantIntFunction · 0.85
ThreadBinOpOverSelectFunction · 0.85
ThreadBinOpOverPHIFunction · 0.85

Tested by

no test coverage detected