Home
last modified time | relevance | path

Searched refs:Prod (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp589 Value *Prod = nullptr; in visitMulExpr() local
633 if (!Prod) { in visitMulExpr()
635 Prod = ExpandOpBinPowN(); in visitMulExpr()
638 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod, in visitMulExpr()
645 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr()
654 Prod = InsertBinop(Instruction::Shl, Prod, in visitMulExpr()
658 Prod = InsertBinop(Instruction::Mul, Prod, W, S->getNoWrapFlags(), in visitMulExpr()
664 return Prod; in visitMulExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2841 APInt Prod = C * *C2; in foldICmpDivConstant() local
2846 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C; in foldICmpDivConstant()
2864 LoBound = Prod; in foldICmpDivConstant()
2877 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in foldICmpDivConstant()
2880 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2883 HiBound = Prod + 1; in foldICmpDivConstant()
2903 HiBound = Prod + 1; in foldICmpDivConstant()
2909 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in foldICmpDivConstant()
2912 HiOverflow = subWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp10242 ExprResult Prod = SemaRef.ActOnIntegerConstant(SourceLocation(), 1).get(); in checkOpenMPLoop() local
10244 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(), in checkOpenMPLoop()
10252 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, Acc.get(), Prod.get()); in checkOpenMPLoop()
10265 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Iter.get(), in checkOpenMPLoop()
10266 Prod.get()); in checkOpenMPLoop()
10268 Prod = Iter; in checkOpenMPLoop()
10269 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub, Acc.get(), Prod.get()); in checkOpenMPLoop()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5465 auto Prod = MIB.buildMul(Ty, ret, RHS); in buildUDivorURemUsingMul() local
5466 return MIB.buildSub(Ty, LHS, Prod); in buildUDivorURemUsingMul()
H A DLegalizerHelper.cpp4443 auto Prod = MIRBuilder.buildMul(Ty, Quot, MI.getOperand(2)); in lower() local
4444 MIRBuilder.buildSub(MI.getOperand(0), MI.getOperand(1), Prod); in lower()