/external/llvm-project/llvm/test/CodeGen/X86/ |
D | combine-add-ssat.ll | 14 ; 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/ |
D | saturating-intrinsics.ll | 23 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/ |
D | IntrinsicInst.cpp | 186 case Intrinsic::sadd_sat: in getBinaryOp() 206 case Intrinsic::sadd_sat: in isSigned()
|
D | ConstantRange.cpp | 875 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/ |
D | IntrinsicInst.cpp | 316 case Intrinsic::sadd_sat: in getBinaryOp() 336 case Intrinsic::sadd_sat: in isSigned()
|
D | ConstantRange.cpp | 858 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/ |
D | eliminate-sat.ll | 38 define void @sadd_sat(i32* %p) { 39 ; CHECK-LABEL: @sadd_sat(
|
/external/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/ |
D | tail-pred-intrinsic-add-sat.ll | 54 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/ |
D | IntrinsicInst.h | 67 case Intrinsic::sadd_sat: in isCommutative() 334 case Intrinsic::sadd_sat: in classof() 386 case Intrinsic::sadd_sat: in classof()
|
D | ConstantRange.h | 454 ConstantRange sadd_sat(const ConstantRange &Other) const;
|
D | FixedPointBuilder.h | 177 Intrinsic::ID IID = UseSigned ? Intrinsic::sadd_sat : Intrinsic::uadd_sat; in CreateAdd()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 429 ConstantRange sadd_sat(const ConstantRange &Other) const;
|
D | IntrinsicInst.h | 256 case Intrinsic::sadd_sat: in classof() 308 case Intrinsic::sadd_sat: in classof()
|
/external/llvm-project/llvm/lib/Support/ |
D | APFixedPoint.cpp | 187 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add()
|
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/ |
D | IntrinsicEnums.inc | 237 sadd_sat, // llvm.sadd.sat
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1445 case Intrinsic::sadd_sat: in canConstantFoldCallTo() 2186 case Intrinsic::sadd_sat: in ConstantFoldScalarCall2() 2194 return ConstantInt::get(Ty, C0->sadd_sat(*C1)); in ConstantFoldScalarCall2()
|
D | LazyValueInfo.cpp | 1140 case Intrinsic::sadd_sat: in solveBlockValueSaturatingIntrinsic() 1143 return CR1.sadd_sat(CR2); in solveBlockValueSaturatingIntrinsic()
|
D | VectorUtils.cpp | 53 case Intrinsic::sadd_sat: in isTriviallyVectorizable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 1336 case Intrinsic::sadd_sat: 1341 Intrinsic::ID OverflowOp = IID == Intrinsic::sadd_sat
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1204 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/ |
D | BasicTTIImpl.h | 1576 case Intrinsic::sadd_sat: in getTypeBasedIntrinsicInstrCost() 1581 Intrinsic::ID OverflowOp = IID == Intrinsic::sadd_sat in getTypeBasedIntrinsicInstrCost()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1467 case Intrinsic::sadd_sat: in canConstantFoldCallTo() 2553 case Intrinsic::sadd_sat: in ConstantFoldScalarCall2() 2561 return ConstantInt::get(Ty, C0->sadd_sat(*C1)); in ConstantFoldScalarCall2()
|
D | VectorUtils.cpp | 58 case Intrinsic::sadd_sat: in isTriviallyVectorizable()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 672 case Intrinsic::sadd_sat: in intrinsicHasPackedVectorBenefit()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 1125 APInt sadd_sat(const APInt &RHS) const;
|