reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1163   if (!SE->isSCEVable(I->getType()))
 1171   if (match(I, m_Add(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS)))) ||
 1172       match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) {
 1176       if (auto *Dom = findClosestMatchingDominator(Key, I)) {
 1177         Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I);
 1177         Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I);
 1178         NewSExt->takeName(I);
 1179         I->replaceAllUsesWith(NewSExt);
 1180         RecursivelyDeleteTriviallyDeadInstructions(I);
 1187   if (match(I, m_NSWAdd(m_Value(LHS), m_Value(RHS))) ||
 1188       match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) {
 1189     if (programUndefinedIfFullPoison(I)) {
 1192       DominatingExprs[Key].push_back(I);