Home
last modified time | relevance | path

Searched refs:uadd_sat (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/util/tests/
Dfast_idiv_by_const_test.cpp71 uadd_sat(uint64_t a, uint64_t b, unsigned num_bits) in uadd_sat() function
148 n = uadd_sat(n, m.increment, num_bits); in fast_udiv_add_sat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp185 case Intrinsic::uadd_sat: in getBinaryOp()
DConstantRange.cpp878 Result = Result.intersectWith(uadd_sat(Other), RangeType); in addWithNoWrap()
1300 ConstantRange ConstantRange::uadd_sat(const ConstantRange &Other) const { in uadd_sat() function in ConstantRange
1304 APInt NewL = getUnsignedMin().uadd_sat(Other.getUnsignedMin()); in uadd_sat()
1305 APInt NewU = getUnsignedMax().uadd_sat(Other.getUnsignedMax()) + 1; in uadd_sat()
DAutoUpgrade.cpp571 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::uadd_sat, in UpgradeIntrinsicFunction1()
1122 : (IsAddition ? Intrinsic::uadd_sat : Intrinsic::usub_sat); in UpgradeX86AddSubSatIntrinsics()
DVerifier.cpp4685 case Intrinsic::uadd_sat: in visitIntrinsicCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h426 ConstantRange uadd_sat(const ConstantRange &Other) const;
DIntrinsicInst.h255 case Intrinsic::uadd_sat: in classof()
307 case Intrinsic::uadd_sat: in classof()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp751 Intrinsic::uadd_sat, X, ConstantInt::get(X->getType(), *C)); in canonicalizeSaturatedAdd()
780 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, X, Y); in canonicalizeSaturatedAdd()
790 Intrinsic::uadd_sat, BO->getOperand(0), BO->getOperand(1)); in canonicalizeSaturatedAdd()
797 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y); in canonicalizeSaturatedAdd()
1836 NewIntrinsicID = Intrinsic::uadd_sat; in foldOverflowingAddSubSelect()
DInstCombineCalls.cpp2079 case Intrinsic::uadd_sat: in visitCallInst()
2132 IID == Intrinsic::uadd_sat || IID == Intrinsic::usub_sat; in visitCallInst()
2138 NewVal = Val->uadd_sat(*Val2); in visitCallInst()
DInstCombineAddSub.cpp1086 return Intrinsic::getDeclaration(I.getModule(), Intrinsic::uadd_sat, Ty); in foldToUnsignedSaturatedAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1446 case Intrinsic::uadd_sat: in canConstantFoldCallTo()
2185 case Intrinsic::uadd_sat: in ConstantFoldScalarCall2()
2191 if (IntrinsicID == Intrinsic::uadd_sat) in ConstantFoldScalarCall2()
2192 return ConstantInt::get(Ty, C0->uadd_sat(*C1)); in ConstantFoldScalarCall2()
DLazyValueInfo.cpp1130 case Intrinsic::uadd_sat: in solveBlockValueSaturatingIntrinsic()
1133 return CR1.uadd_sat(CR2); in solveBlockValueSaturatingIntrinsic()
DVectorUtils.cpp55 case Intrinsic::uadd_sat: in isTriviallyVectorizable()
DValueTracking.cpp1624 case Intrinsic::uadd_sat: in computeKnownBitsFromOperator()
1626 bool IsAdd = II->getIntrinsicID() == Intrinsic::uadd_sat; in computeKnownBitsFromOperator()
5755 case Intrinsic::uadd_sat: in setLimitsForIntrinsic()
DInstructionSimplify.cpp5114 case Intrinsic::uadd_sat: in simplifyBinaryIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicEnums.inc262 uadd_sat, // llvm.uadd.sat
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1356 case Intrinsic::uadd_sat:
1361 Intrinsic::ID OverflowOp = IID == Intrinsic::uadd_sat
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h70 Size = Size.uadd_sat(APInt(16, Arg->getExpressionSize())); in computeExpressionSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1126 APInt uadd_sat(const APInt &RHS) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp901 case Intrinsic::uadd_sat: in isLoweredToCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp2048 APInt APInt::uadd_sat(const APInt &RHS) const { in uadd_sat() function in APInt
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_compile.c785 ALU_CASE(uadd_sat, uaddsat); in emit_alu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp2182 case Intrinsic::uadd_sat: in getIntrinsicInstrCost()
/third_party/mesa3d/docs/relnotes/
D22.2.0.rst1978 - nir: Split usub_sat lowering flag from uadd_sat.
2290 - nir_to_tgsi: Lower uadd_sat/usub_sat.
2291 - zink: Lower uadd_sat/usub_sat.
2292 - r600: Lower uadd_sat/usub_sat.
D22.1.0.rst1390 - aco: Implement 64bit uadd_sat.
1393 - radv, aco: Packed iadd_sat/uadd_sat.

12