Searched defs:AddWithOverflow (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp54 /// AddWithOverflow - Compute Result = In1+In2, returning true if the result
56 static bool AddWithOverflow(Constant *&Result, Constant *In1, function
807 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false);
819 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true);
826 LoOverflow = AddWithOverflow(LoBound, HiBound, DivNeg, true) ? -1 : 0;
845 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0;

Completed in 470 milliseconds