Home
last modified time | relevance | path

Searched refs:usub_sat (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/llvm/test/Analysis/ScalarEvolution/
Dsaturating-intrinsics.ll34 define i32 @usub_sat(i32 %x, i32 %y) {
35 ; CHECK-LABEL: 'usub_sat'
36 ; CHECK-NEXT: Classifying expressions for: @usub_sat
39 ; CHECK-NEXT: Determining loop execution counts for: @usub_sat
/external/llvm-project/llvm/test/CodeGen/X86/
Dcombine-sub-usat.ll14 ; fold (usub_sat x, undef) -> 0
38 ; fold (usub_sat c1, c2) -> c3
76 ; fold (usub_sat x, 0) -> x
94 ; fold (usub_sat x, x) -> 0
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Deliminate-sat.ll67 define void @usub_sat(i32* %p) {
68 ; CHECK-LABEL: @usub_sat(
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp857 case Intrinsic::usub_sat: in isIntrinsicSupported()
876 case Intrinsic::usub_sat: in intrinsic()
877 return Ops[0].usub_sat(Ops[1]); in intrinsic()
993 Result = Result.intersectWith(usub_sat(Other), RangeType); in subWithNoWrap()
1420 ConstantRange ConstantRange::usub_sat(const ConstantRange &Other) const { in usub_sat() function in ConstantRange
1424 APInt NewL = getUnsignedMin().usub_sat(Other.getUnsignedMax()); in usub_sat()
1425 APInt NewU = getUnsignedMax().usub_sat(Other.getUnsignedMin()) + 1; in usub_sat()
DIntrinsicInst.cpp320 case Intrinsic::usub_sat: in getBinaryOp()
/external/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/
Dtail-pred-intrinsic-sub-sat.ll4 define arm_aapcs_vfpcc void @usub_sat(i16* noalias nocapture readonly %pSrcA, i16* noalias nocaptur…
5 ; CHECK-LABEL: usub_sat:
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp190 case Intrinsic::usub_sat: in getBinaryOp()
DConstantRange.cpp927 Result = Result.intersectWith(usub_sat(Other), RangeType); in subWithNoWrap()
1318 ConstantRange ConstantRange::usub_sat(const ConstantRange &Other) const { in usub_sat() function in ConstantRange
1322 APInt NewL = getUnsignedMin().usub_sat(Other.getUnsignedMax()); in usub_sat()
1323 APInt NewU = getUnsignedMax().usub_sat(Other.getUnsignedMin()) + 1; in usub_sat()
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h457 ConstantRange usub_sat(const ConstantRange &Other) const;
DIntrinsicInst.h335 case Intrinsic::usub_sat: in classof()
387 case Intrinsic::usub_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.h432 ConstantRange usub_sat(const ConstantRange &Other) const;
DIntrinsicInst.h257 case Intrinsic::usub_sat: in classof()
309 case Intrinsic::usub_sat: in classof()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1448 case Intrinsic::usub_sat: in canConstantFoldCallTo()
2195 case Intrinsic::usub_sat: in ConstantFoldScalarCall2()
2201 if (IntrinsicID == Intrinsic::usub_sat) in ConstantFoldScalarCall2()
2202 return ConstantInt::get(Ty, C0->usub_sat(*C1)); in ConstantFoldScalarCall2()
DLazyValueInfo.cpp1135 case Intrinsic::usub_sat: in solveBlockValueSaturatingIntrinsic()
1138 return CR1.usub_sat(CR2); in solveBlockValueSaturatingIntrinsic()
DVectorUtils.cpp56 case Intrinsic::usub_sat: in isTriviallyVectorizable()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp212 : ThisVal.usub_sat(OtherVal); in sub()
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicEnums.inc268 usub_sat, // llvm.usub.sat
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp1470 case Intrinsic::usub_sat: in canConstantFoldCallTo()
2562 case Intrinsic::usub_sat: in ConstantFoldScalarCall2()
2568 if (IntrinsicID == Intrinsic::usub_sat) in ConstantFoldScalarCall2()
2569 return ConstantInt::get(Ty, C0->usub_sat(*C1)); in ConstantFoldScalarCall2()
DVectorUtils.cpp61 case Intrinsic::usub_sat: in isTriviallyVectorizable()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp671 case Intrinsic::usub_sat: in intrinsicHasPackedVectorBenefit()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1128 APInt usub_sat(const APInt &RHS) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1128 APInt usub_sat(const APInt &RHS) const;
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1209 EXPECT_EQ(APInt(8, 90), AP_100.usub_sat(AP_10)); in TEST()
1210 EXPECT_EQ(APInt(8, 0), AP_100.usub_sat(AP_200)); in TEST()
1211 EXPECT_EQ(APInt(8, 0), APInt(8, 0).usub_sat(APInt(8, 255))); in TEST()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1004 case Intrinsic::usub_sat: in visitCallInst()
1052 IID == Intrinsic::uadd_sat || IID == Intrinsic::usub_sat; in visitCallInst()

123