Home
last modified time | relevance | path

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

/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVAffinator.cpp386 PWACtx Prod = visit(Expr->getOperand(0)); in visitMulExpr() local
389 Prod = combine(Prod, visit(Expr->getOperand(i)), isl_pw_aff_mul); in visitMulExpr()
390 if (isTooComplex(Prod)) in visitMulExpr()
394 return Prod; in visitMulExpr()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp824 Value *Prod = nullptr; in visitMulExpr() local
868 if (!Prod) { in visitMulExpr()
870 Prod = ExpandOpBinPowN(); in visitMulExpr()
873 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr()
874 Prod = InsertBinop(Instruction::Sub, Constant::getNullValue(Ty), Prod, in visitMulExpr()
880 Prod = InsertNoopCastOfTo(Prod, Ty); in visitMulExpr()
882 if (isa<Constant>(Prod)) std::swap(Prod, W); in visitMulExpr()
891 Prod = InsertBinop(Instruction::Shl, Prod, in visitMulExpr()
895 Prod = InsertBinop(Instruction::Mul, Prod, W, S->getNoWrapFlags(), in visitMulExpr()
901 return Prod; in visitMulExpr()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2556 APInt Prod = C * *C2; in foldICmpDivConstant() local
2561 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C; in foldICmpDivConstant()
2579 LoBound = Prod; in foldICmpDivConstant()
2592 LoBound = Prod; // e.g. X/5 op 3 --> [15, 20) in foldICmpDivConstant()
2595 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2598 HiBound = Prod + 1; in foldICmpDivConstant()
2618 HiBound = Prod + 1; in foldICmpDivConstant()
2624 LoBound = Prod; // e.g. X/-5 op -3 --> [15, 20) in foldICmpDivConstant()
2627 HiOverflow = subWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPIntTest.cpp2716 auto Prod = Quo.zext(16) * B.zext(16); in TEST() local
2717 EXPECT_TRUE(Prod.uge(Ai)); in TEST()
2718 if (Prod.ugt(Ai)) { in TEST()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/IR/
H A DTosaOps.td1320 let summary = "Reduce Prod operator";
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp10011 ExprResult Prod = SemaRef.ActOnIntegerConstant(SourceLocation(), 1).get(); in checkOpenMPLoop() local
10013 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Prod.get(), in checkOpenMPLoop()
10021 SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Div, Acc.get(), Prod.get()); in checkOpenMPLoop()
10034 Prod = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Mul, Iter.get(), in checkOpenMPLoop()
10035 Prod.get()); in checkOpenMPLoop()
10037 Prod = Iter; in checkOpenMPLoop()
10038 Acc = SemaRef.BuildBinOp(CurScope, UpdLoc, BO_Sub, Acc.get(), Prod.get()); in checkOpenMPLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3255 auto Prod = MIRBuilder.buildMul(Ty, Quot, MI.getOperand(2)); in lower() local
3256 MIRBuilder.buildSub(MI.getOperand(0), MI.getOperand(1), Prod); in lower()