Searched refs:Prod (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 782 Value *Prod = 0; in visitMulExpr() local 786 if (!Prod) { in visitMulExpr() 788 Prod = expand(Op); in visitMulExpr() 792 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 793 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod); in visitMulExpr() 798 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 800 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr() 801 Prod = InsertBinop(Instruction::Mul, Prod, W); in visitMulExpr() 806 return Prod; in visitMulExpr()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 751 Value *Prod = nullptr; in visitMulExpr() local 754 if (!Prod) { in visitMulExpr() 756 Prod = expand(Op); in visitMulExpr() 759 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 760 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod); in visitMulExpr() 764 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr() 766 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr() 771 Prod = InsertBinop(Instruction::Shl, Prod, in visitMulExpr() 774 Prod = InsertBinop(Instruction::Mul, Prod, W); in visitMulExpr() 779 return Prod; in visitMulExpr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 775 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); in FoldICmpDivCst() local 780 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst() 781 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS; in FoldICmpDivCst() 788 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() 802 LoBound = Prod; in FoldICmpDivCst() 816 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst() 819 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst() 822 HiBound = AddOne(Prod); in FoldICmpDivCst() 842 HiBound = AddOne(Prod); in FoldICmpDivCst() 847 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1216 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); in FoldICmpDivCst() local 1221 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst() 1222 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS; in FoldICmpDivCst() 1229 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() 1243 LoBound = Prod; in FoldICmpDivCst() 1256 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in FoldICmpDivCst() 1259 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst() 1262 HiBound = AddOne(Prod); in FoldICmpDivCst() 1282 HiBound = AddOne(Prod); in FoldICmpDivCst() 1287 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in FoldICmpDivCst() [all …]
|