Home | History | Annotate | Download | only in InstCombine

Lines Matching full:sdiv

10 // This file implements the visit functions for mul, fmul, sdiv, udiv, fdiv,
185 BO->getOpcode() != Instruction::SDiv)) {
193 BO->getOpcode() == Instruction::SDiv)) {
197 if (PossiblyExactOperator *SDiv = dyn_cast<PossiblyExactOperator>(BO))
198 if (SDiv->isExact()) {
609 /// instructions (udiv and sdiv). It is called by the visitors to those integer
632 I.getOpcode()==Instruction::SDiv))
655 bool isSigned = I.getOpcode() == Instruction::SDiv;
774 // sdiv X, -1 == -X
778 // sdiv X, C --> ashr exact X, log2(C)
799 // X sdiv Y -> X udiv Y, iff X and Y don't have sign bit set
804 // X sdiv (1 << Y) -> X udiv (1 << Y) ( -> X u>> Y)
806 // INT_MIN, and X sdiv INT_MIN == X udiv INT_MIN == 0 if X doesn't have