Searched refs:Product (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h48 inline bool checkForCallocOverflow(uptr Size, uptr N, uptr *Product) { argument
50 return __builtin_umull_overflow(Size, N, Product);
52 *Product = Size * N;
55 return (*Product / Size) != N;
/freebsd-13-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutstrsuppt.c538 UINT64 Product; local
543 Status = AcpiUtStrtoulMultiply64 (*AccumulatedValue, Base, &Product);
551 Status = AcpiUtStrtoulAdd64 (Product, AcpiUtAsciiCharToHex (AsciiDigit),
580 UINT64 Product; local
606 Product = Multiplicand * Base;
610 if ((AcpiGbl_IntegerBitWidth == 32) && (Product > ACPI_UINT32_MAX))
615 *OutProduct = Product;
H A Dutmath.c202 UINT64_OVERLAY Product; local
212 * The Product is 64 bits, the carry is always 32 bits,
216 Product.Part.Hi, Carry32);
219 Product.Part.Lo, Carry32);
221 Product.Part.Hi += Carry32;
227 *OutProduct = Product.Full;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCheckedArithmetic.h76 if (auto Product = checkedMul(A, B))
77 return checkedAdd(*Product, C);
105 if (auto Product = checkedMulUnsigned(A, B))
106 return checkedAddUnsigned(*Product, C);
H A DMathExtras.h871 T Product = SaturatingMultiply(X, Y, &Overflowed); local
873 return Product;
875 return SaturatingAdd(A, Product, &Overflowed);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp89 Value *Product = Builder.CreateMul(Divisor, Quotient); local
90 Value *Remainder = Builder.CreateSub(Dividend, Product);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1170 const SCEV *Product = SE->getMulExpr(UpperBound, AbsCoeff); local
1171 if (isKnownPredicate(CmpInst::ICMP_SGT, AbsDelta, Product)) {
1741 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); local
1742 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) {
1747 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) {
1850 const SCEV *Product = SE->getMulExpr(AbsCoeff, UpperBound); local
1851 if (isKnownPredicate(CmpInst::ICMP_SGT, NewDelta, Product)) {
1856 if (isKnownPredicate(CmpInst::ICMP_EQ, NewDelta, Product)) {
2301 else if (const auto *Product = dyn_cast<SCEVMulExpr>(Expr))
2302 if (const auto *Constant = dyn_cast<SCEVConstant>(Product
[all...]
H A DLoopAccessAnalysis.cpp1406 const SCEV *Product = SE.getMulExpr(&BackedgeTakenCount, Step); local
1409 const SCEV *CastedProduct = Product;
1411 uint64_t ProductTypeSize = DL.getTypeAllocSize(Product->getType());
1415 // backedgeTakenCount is non-negative, so we zero extend Product.
1417 CastedProduct = SE.getZeroExtendExpr(Product, Dist.getType());
1419 CastedDist = SE.getNoopOrSignExtend(&Dist, Product->getType());
H A DConstantFolding.cpp2635 APInt Product = (Lhs.sextOrSelf(ExtendedWidth) *
2642 Product = APIntOps::smin(Product, MaxValue);
2643 Product = APIntOps::smax(Product, MinValue);
2646 Product.sextOrTrunc(Width));
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DDisassembler.h187 Product
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp712 static bool multiplyOverflows(const APInt &C1, const APInt &C2, APInt &Product, argument
715 Product = IsSigned ? C1.smul_ov(C2, Overflow) : C1.umul_ov(C2, Overflow);
767 APInt Product(C1->getBitWidth(), /*val=*/0ULL, IsSigned);
768 if (!multiplyOverflows(*C1, *C2, Product, IsSigned))
770 ConstantInt::get(Ty, Product));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp834 auto Product = local
836 Product->setFastMathFlags(I.getFastMathFlags());
837 SafetyInfo->insertInstructionTo(Product, I.getParent());
838 Product->insertAfter(&I);
839 I.replaceAllUsesWith(Product);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp790 Instruction *Product = local
792 OffsSecondOperand, "Product", InsertionPoint);
793 // Increment NewIndex by Product instead of the multiplication
795 Instruction::Add, Phi, Product, "IncrementPushedOutMul",
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp305 unsigned long long Product = local
307 // Overflow occurred if any of the upper bits of Product are set or if all
308 // the lower bits of Product are all set.
309 return (Product >> 32) ||
310 ((PathCount = Product) == OverflowOccurredValue);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp542 product.m_type = Operand::Type::Product;
705 case Operand::Type::Product:
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp1252 ret.m_type = Type::Product;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp1242 case Instruction::Operand::Type::Product:
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp3177 SDValue Product = Result.getValue(0); local
3185 SDValue ProdNeg = DAG.getSetCC(dl, BoolVT, Product, Zero, ISD::SETLT);
3187 Result = DAG.getSelect(dl, VT, Overflow, Result, Product);
3193 Result = DAG.getSelect(dl, VT, Overflow, SatMax, Product);
H A DTargetLowering.cpp7417 SDValue Product = Result.getValue(0);
7425 SDValue ProdNeg = DAG.getSetCC(dl, BoolVT, Product, Zero, ISD::SETLT);
7427 return DAG.getSelect(dl, VT, Overflow, Result, Product);
7431 SDValue Product = Result.getValue(0);
7436 return DAG.getSelect(dl, VT, Overflow, SatMax, Product);

Completed in 409 milliseconds