Searched refs:Prod (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 755 Value *Prod = nullptr; in visitMulExpr() local 758 if (!Prod) { in visitMulExpr() 760 Prod = expand(Op); in visitMulExpr() 763 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 764 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() 775 Prod = InsertBinop(Instruction::Shl, Prod, in visitMulExpr() 778 Prod = InsertBinop(Instruction::Mul, Prod, W); in visitMulExpr() 783 return Prod; in visitMulExpr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 890 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); in FoldICmpDivCst() local 895 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst() 896 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS; in FoldICmpDivCst() 903 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() 917 LoBound = Prod; in FoldICmpDivCst() 930 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst() 933 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst() 936 HiBound = AddOne(Prod); in FoldICmpDivCst() 956 HiBound = AddOne(Prod); in FoldICmpDivCst() 961 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst() [all …]
|