Searched refs:Prod (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 752 Value *Prod = nullptr; in visitMulExpr() local 756 if (!Prod) { in visitMulExpr() 758 Prod = expand(Op); in visitMulExpr() 762 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 763 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod); in visitMulExpr() 768 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 770 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr() 771 Prod = InsertBinop(Instruction::Mul, Prod, W); in visitMulExpr() 776 return Prod; in visitMulExpr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 820 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); in FoldICmpDivCst() local 825 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst() 826 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS; in FoldICmpDivCst() 833 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() 847 LoBound = Prod; in FoldICmpDivCst() 861 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst() 864 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst() 867 HiBound = AddOne(Prod); in FoldICmpDivCst() 887 HiBound = AddOne(Prod); in FoldICmpDivCst() 892 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst() [all …]
|