Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp831 Value *Prod = nullptr; in visitMulExpr() local
875 if (!Prod) { in visitMulExpr()
877 Prod = ExpandOpBinPowN(); in visitMulExpr()
880 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr()
881 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod, in visitMulExpr()
887 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr()
889 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr()
898 Prod = InsertBinop(Instruction::Shl, Prod, in visitMulExpr()
902 Prod = InsertBinop(Instruction::Mul, Prod, W, S->getNoWrapFlags(), in visitMulExpr()
908 return Prod; in visitMulExpr()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2502 APInt Prod = C * *C2; in foldICmpDivConstant() local
2507 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C; in foldICmpDivConstant()
2525 LoBound = Prod; in foldICmpDivConstant()
2538 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in foldICmpDivConstant()
2541 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2544 HiBound = Prod + 1; in foldICmpDivConstant()
2564 HiBound = Prod + 1; in foldICmpDivConstant()
2570 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in foldICmpDivConstant()
2573 HiOverflow = subWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp10094 ExprResult Prod = SemaRef.ActOnIntegerConstant(SourceLocation(), 1).get(); in checkOpenMPLoop() local
10096 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(), in checkOpenMPLoop()
10104 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, Acc.get(), Prod.get()); in checkOpenMPLoop()
10117 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Iter.get(), in checkOpenMPLoop()
10118 Prod.get()); in checkOpenMPLoop()
10120 Prod = Iter; in checkOpenMPLoop()
10121 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub, Acc.get(), Prod.get()); in checkOpenMPLoop()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3262 auto Prod = MIRBuilder.buildMul(Ty, Quot, MI.getOperand(2)); in lower() local
3263 MIRBuilder.buildSub(MI.getOperand(0), MI.getOperand(1), Prod); in lower()