Home
last modified time | relevance | path

Searched refs:sadd_sat (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm-project/llvm/test/CodeGen/X86/
Dcombine-add-ssat.ll14 ; fold (sadd_sat x, undef) -> -1
38 ; fold (sadd_sat c1, c2) -> c3
76 ; fold (sadd_sat c, x) -> (sadd_sat x, c)
106 ; fold (sadd_sat c, 0) -> x
124 ; fold (sadd_sat x, y) -> (add x, y) iff no overflow
/external/llvm-project/llvm/test/Analysis/ScalarEvolution/
Dsaturating-intrinsics.ll23 define i32 @sadd_sat(i32 %x, i32 %y) {
24 ; CHECK-LABEL: 'sadd_sat'
25 ; CHECK-NEXT: Classifying expressions for: @sadd_sat
28 ; CHECK-NEXT: Determining loop execution counts for: @sadd_sat
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp186 case Intrinsic::sadd_sat: in getBinaryOp()
206 case Intrinsic::sadd_sat: in isSigned()
DConstantRange.cpp875 Result = Result.intersectWith(sadd_sat(Other), RangeType); in addWithNoWrap()
1309 ConstantRange ConstantRange::sadd_sat(const ConstantRange &Other) const { in sadd_sat() function in ConstantRange
1313 APInt NewL = getSignedMin().sadd_sat(Other.getSignedMin()); in sadd_sat()
1314 APInt NewU = getSignedMax().sadd_sat(Other.getSignedMax()) + 1; in sadd_sat()
/external/llvm-project/llvm/lib/IR/
DIntrinsicInst.cpp316 case Intrinsic::sadd_sat: in getBinaryOp()
336 case Intrinsic::sadd_sat: in isSigned()
DConstantRange.cpp858 case Intrinsic::sadd_sat: in isIntrinsicSupported()
878 case Intrinsic::sadd_sat: in intrinsic()
879 return Ops[0].sadd_sat(Ops[1]); in intrinsic()
941 Result = Result.intersectWith(sadd_sat(Other), RangeType); in addWithNoWrap()
1411 ConstantRange ConstantRange::sadd_sat(const ConstantRange &Other) const { in sadd_sat() function in ConstantRange
1415 APInt NewL = getSignedMin().sadd_sat(Other.getSignedMin()); in sadd_sat()
1416 APInt NewU = getSignedMax().sadd_sat(Other.getSignedMax()) + 1; in sadd_sat()
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Deliminate-sat.ll38 define void @sadd_sat(i32* %p) {
39 ; CHECK-LABEL: @sadd_sat(
/external/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/
Dtail-pred-intrinsic-add-sat.ll54 define arm_aapcs_vfpcc void @sadd_sat(i16* noalias nocapture readonly %pSrcA, i16* noalias nocaptur…
55 ; CHECK-LABEL: sadd_sat:
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsicInst.h67 case Intrinsic::sadd_sat: in isCommutative()
334 case Intrinsic::sadd_sat: in classof()
386 case Intrinsic::sadd_sat: in classof()
DConstantRange.h454 ConstantRange sadd_sat(const ConstantRange &Other) const;
DFixedPointBuilder.h177 Intrinsic::ID IID = UseSigned ? Intrinsic::sadd_sat : Intrinsic::uadd_sat; in CreateAdd()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h429 ConstantRange sadd_sat(const ConstantRange &Other) const;
DIntrinsicInst.h256 case Intrinsic::sadd_sat: in classof()
308 case Intrinsic::sadd_sat: in classof()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp187 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add()
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicEnums.inc237 sadd_sat, // llvm.sadd.sat
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1445 case Intrinsic::sadd_sat: in canConstantFoldCallTo()
2186 case Intrinsic::sadd_sat: in ConstantFoldScalarCall2()
2194 return ConstantInt::get(Ty, C0->sadd_sat(*C1)); in ConstantFoldScalarCall2()
DLazyValueInfo.cpp1140 case Intrinsic::sadd_sat: in solveBlockValueSaturatingIntrinsic()
1143 return CR1.sadd_sat(CR2); in solveBlockValueSaturatingIntrinsic()
DVectorUtils.cpp53 case Intrinsic::sadd_sat: in isTriviallyVectorizable()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1336 case Intrinsic::sadd_sat:
1341 Intrinsic::ID OverflowOp = IID == Intrinsic::sadd_sat
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1204 EXPECT_EQ(APInt(8, 110), AP_10.sadd_sat(AP_100)); in TEST()
1205 EXPECT_EQ(APInt(8, 127), AP_100.sadd_sat(AP_100)); in TEST()
1206 EXPECT_EQ(APInt(8, -128), (-AP_100).sadd_sat(-AP_100)); in TEST()
1207 EXPECT_EQ(APInt(8, -128), APInt(8, -128).sadd_sat(APInt(8, -128))); in TEST()
/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1576 case Intrinsic::sadd_sat: in getTypeBasedIntrinsicInstrCost()
1581 Intrinsic::ID OverflowOp = IID == Intrinsic::sadd_sat in getTypeBasedIntrinsicInstrCost()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp1467 case Intrinsic::sadd_sat: in canConstantFoldCallTo()
2553 case Intrinsic::sadd_sat: in ConstantFoldScalarCall2()
2561 return ConstantInt::get(Ty, C0->sadd_sat(*C1)); in ConstantFoldScalarCall2()
DVectorUtils.cpp58 case Intrinsic::sadd_sat: in isTriviallyVectorizable()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp672 case Intrinsic::sadd_sat: in intrinsicHasPackedVectorBenefit()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1125 APInt sadd_sat(const APInt &RHS) const;

123