Home
last modified time | relevance | path

Searched refs:RangeSize (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp229 size_t RangeSize = CSI.LR.End - CSI.LR.Beg; in Mutate() local
230 size_t Idx = CSI.LR.Beg + rand() % RangeSize; in Mutate()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp833 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() local
852 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
858 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
859 HiBound = RangeSize; in FoldICmpDivCst()
864 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
870 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
876 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
879 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
880 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
890 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
[all …]