Home
last modified time | relevance | path

Searched refs:ssub_sat (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/llvm/test/Analysis/ScalarEvolution/
Dsaturating-intrinsics.ll45 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/
Dcombine-sub-ssat.ll14 ; 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/
DIntrinsicInst.cpp191 case Intrinsic::ssub_sat: in getBinaryOp()
207 case Intrinsic::ssub_sat: in isSigned()
DConstantRange.cpp922 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/
DIntrinsicInst.cpp321 case Intrinsic::ssub_sat: in getBinaryOp()
337 case Intrinsic::ssub_sat: in isSigned()
DConstantRange.cpp859 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/
Deliminate-sat.ll96 define void @ssub_sat(i32* %p) {
97 ; CHECK-LABEL: @ssub_sat(
/external/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/
Dtail-pred-intrinsic-sub-sat.ll54 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/
DConstantRange.h460 ConstantRange ssub_sat(const ConstantRange &Other) const;
DIntrinsicInst.h336 case Intrinsic::ssub_sat: in classof()
388 case Intrinsic::ssub_sat: in classof()
DFixedPointBuilder.h203 Intrinsic::ID IID = UseSigned ? Intrinsic::ssub_sat : Intrinsic::usub_sat; in CreateSub()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h435 ConstantRange ssub_sat(const ConstantRange &Other) const;
DIntrinsicInst.h258 case Intrinsic::ssub_sat: in classof()
310 case Intrinsic::ssub_sat: in classof()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp211 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub()
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicEnums.inc249 ssub_sat, // llvm.ssub.sat
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1447 case Intrinsic::ssub_sat: in canConstantFoldCallTo()
2196 case Intrinsic::ssub_sat: in ConstantFoldScalarCall2()
2204 return ConstantInt::get(Ty, C0->ssub_sat(*C1)); in ConstantFoldScalarCall2()
DLazyValueInfo.cpp1145 case Intrinsic::ssub_sat: in solveBlockValueSaturatingIntrinsic()
1148 return CR1.ssub_sat(CR2); in solveBlockValueSaturatingIntrinsic()
DVectorUtils.cpp54 case Intrinsic::ssub_sat: in isTriviallyVectorizable()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1213 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/
DConstantFolding.cpp1469 case Intrinsic::ssub_sat: in canConstantFoldCallTo()
2563 case Intrinsic::ssub_sat: in ConstantFoldScalarCall2()
2571 return ConstantInt::get(Ty, C0->ssub_sat(*C1)); in ConstantFoldScalarCall2()
DVectorUtils.cpp59 case Intrinsic::ssub_sat: in isTriviallyVectorizable()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp673 case Intrinsic::ssub_sat: in intrinsicHasPackedVectorBenefit()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1127 APInt ssub_sat(const APInt &RHS) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1127 APInt ssub_sat(const APInt &RHS) const;
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1005 case Intrinsic::ssub_sat: { in visitCallInst()
1036 if (IID == Intrinsic::ssub_sat && match(Arg1, m_Constant(C)) && in visitCallInst()

123