/external/llvm-project/llvm/test/Analysis/ScalarEvolution/ |
D | saturating-intrinsics.ll | 45 define i32 @ssub_sat(i32 %x, i32 %y) { 46 ; CHECK-LABEL: 'ssub_sat' 47 ; CHECK-NEXT: Classifying expressions for: @ssub_sat 50 ; CHECK-NEXT: Determining loop execution counts for: @ssub_sat
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | combine-sub-ssat.ll | 14 ; fold (ssub_sat x, undef) -> 0 38 ; fold (ssub_sat c1, c2) -> c3 76 ; fold (ssub_sat x, 0) -> x 94 ; fold (ssub_sat x, x) -> 0
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 191 case Intrinsic::ssub_sat: in getBinaryOp() 207 case Intrinsic::ssub_sat: in isSigned()
|
D | ConstantRange.cpp | 922 Result = Result.intersectWith(ssub_sat(Other), RangeType); in subWithNoWrap() 1327 ConstantRange ConstantRange::ssub_sat(const ConstantRange &Other) const { in ssub_sat() function in ConstantRange 1331 APInt NewL = getSignedMin().ssub_sat(Other.getSignedMax()); in ssub_sat() 1332 APInt NewU = getSignedMax().ssub_sat(Other.getSignedMin()) + 1; in ssub_sat()
|
/external/llvm-project/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 321 case Intrinsic::ssub_sat: in getBinaryOp() 337 case Intrinsic::ssub_sat: in isSigned()
|
D | ConstantRange.cpp | 859 case Intrinsic::ssub_sat: in isIntrinsicSupported() 880 case Intrinsic::ssub_sat: in intrinsic() 881 return Ops[0].ssub_sat(Ops[1]); in intrinsic() 988 Result = Result.intersectWith(ssub_sat(Other), RangeType); in subWithNoWrap() 1429 ConstantRange ConstantRange::ssub_sat(const ConstantRange &Other) const { in ssub_sat() function in ConstantRange 1433 APInt NewL = getSignedMin().ssub_sat(Other.getSignedMax()); in ssub_sat() 1434 APInt NewU = getSignedMax().ssub_sat(Other.getSignedMin()) + 1; in ssub_sat()
|
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/ |
D | eliminate-sat.ll | 96 define void @ssub_sat(i32* %p) { 97 ; CHECK-LABEL: @ssub_sat(
|
/external/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/ |
D | tail-pred-intrinsic-sub-sat.ll | 54 define arm_aapcs_vfpcc void @ssub_sat(i16* noalias nocapture readonly %pSrcA, i16* noalias nocaptur… 55 ; CHECK-LABEL: ssub_sat:
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 460 ConstantRange ssub_sat(const ConstantRange &Other) const;
|
D | IntrinsicInst.h | 336 case Intrinsic::ssub_sat: in classof() 388 case Intrinsic::ssub_sat: in classof()
|
D | FixedPointBuilder.h | 203 Intrinsic::ID IID = UseSigned ? Intrinsic::ssub_sat : Intrinsic::usub_sat; in CreateSub()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 435 ConstantRange ssub_sat(const ConstantRange &Other) const;
|
D | IntrinsicInst.h | 258 case Intrinsic::ssub_sat: in classof() 310 case Intrinsic::ssub_sat: in classof()
|
/external/llvm-project/llvm/lib/Support/ |
D | APFixedPoint.cpp | 211 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub()
|
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/ |
D | IntrinsicEnums.inc | 249 ssub_sat, // llvm.ssub.sat
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1447 case Intrinsic::ssub_sat: in canConstantFoldCallTo() 2196 case Intrinsic::ssub_sat: in ConstantFoldScalarCall2() 2204 return ConstantInt::get(Ty, C0->ssub_sat(*C1)); in ConstantFoldScalarCall2()
|
D | LazyValueInfo.cpp | 1145 case Intrinsic::ssub_sat: in solveBlockValueSaturatingIntrinsic() 1148 return CR1.ssub_sat(CR2); in solveBlockValueSaturatingIntrinsic()
|
D | VectorUtils.cpp | 54 case Intrinsic::ssub_sat: in isTriviallyVectorizable()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1213 EXPECT_EQ(APInt(8, -90), AP_10.ssub_sat(AP_100)); in TEST() 1214 EXPECT_EQ(APInt(8, 127), AP_100.ssub_sat(-AP_100)); in TEST() 1215 EXPECT_EQ(APInt(8, -128), (-AP_100).ssub_sat(AP_100)); in TEST() 1216 EXPECT_EQ(APInt(8, -128), APInt(8, -128).ssub_sat(APInt(8, 127))); in TEST()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1469 case Intrinsic::ssub_sat: in canConstantFoldCallTo() 2563 case Intrinsic::ssub_sat: in ConstantFoldScalarCall2() 2571 return ConstantInt::get(Ty, C0->ssub_sat(*C1)); in ConstantFoldScalarCall2()
|
D | VectorUtils.cpp | 59 case Intrinsic::ssub_sat: in isTriviallyVectorizable()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 673 case Intrinsic::ssub_sat: in intrinsicHasPackedVectorBenefit()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 1127 APInt ssub_sat(const APInt &RHS) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1127 APInt ssub_sat(const APInt &RHS) const;
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1005 case Intrinsic::ssub_sat: { in visitCallInst() 1036 if (IID == Intrinsic::ssub_sat && match(Arg1, m_Constant(C)) && in visitCallInst()
|