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

References

lib/Transforms/Utils/IntegerDivision.cpp
   39     Shift = Builder.getInt64(63);
   42     Shift = Builder.getInt32(31);
   57   Value *DividendSign = Builder.CreateAShr(Dividend, Shift);
   58   Value *DivisorSign  = Builder.CreateAShr(Divisor, Shift);
   59   Value *DvdXor       = Builder.CreateXor(Dividend, DividendSign);
   60   Value *DvsXor       = Builder.CreateXor(Divisor, DivisorSign);
   61   Value *UDividend    = Builder.CreateSub(DvdXor, DividendSign);
   62   Value *UDivisor     = Builder.CreateSub(DvsXor, DivisorSign);
   63   Value *URem         = Builder.CreateURem(UDividend, UDivisor);
   64   Value *Xored        = Builder.CreateXor(URem, DividendSign);
   65   Value *SRem         = Builder.CreateSub(Xored, DividendSign);
   68     Builder.SetInsertPoint(URemInst);