/freebsd/lib/libc/string/ |
H A D | memset_s.c | 34 memset_s(void *s, rsize_t smax, int c, rsize_t n) in memset_s() argument 42 lim = n < smax ? n : smax; in memset_s() 47 } else if (smax > RSIZE_MAX) { in memset_s() 55 if (n > smax) { in memset_s()
|
/freebsd/tools/regression/p1003_1b/ |
H A D | sched.c | 65 int smax; in checkpris() local 72 if ( (smax = sched_get_priority_max(sched)) == -1 && errno) in checkpris() 75 if (smax - smin + 1 < 32 || smax < smin) { in checkpris() 77 sched_text(sched), smin, smax); in checkpris() 83 sched_text(sched), smin, smax); in checkpris()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFCheckAndAdjustIR.cpp | 212 case Intrinsic::smax: in sinkMinMaxInBB() 276 IID != Intrinsic::smax) in sinkMinMaxInBB() 284 bool IsMax = IID == Intrinsic::smax || IID == Intrinsic::umax; in sinkMinMaxInBB()
|
/freebsd/contrib/ncurses/form/ |
H A D | frm_def.c | 241 form->page[page_nr].smax = fld->sprev->index; in Connect_Fields() 246 form->page[page_nr].smax = 0; in Connect_Fields()
|
H A D | form.h | 79 short smax; /* index of bottom rightmost field on page */ member
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VETargetTransformInfo.h | 74 VEC_VP_CASE(smax) in isSupportedReduction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 60 case Intrinsic::smax: in isAssociative() 78 case Intrinsic::smax: in isCommutative() 750 case Intrinsic::smax: in classof() 772 case Intrinsic::smax: in getPredicate() 803 case Intrinsic::smax: in getSaturationPoint()
|
H A D | ConstantRange.h | 429 ConstantRange smax(const ConstantRange &Other) const;
|
H A D | VPIntrinsics.def | 218 // llvm.vp.smax(x,y,mask,vlen) 222 VP_PROPERTY_FUNCTIONAL_INTRINSIC(smax) 635 // llvm.vp.reduce.smax(start,x,mask,vlen)
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 949 case Intrinsic::smax: in isIntrinsicSupported() 977 case Intrinsic::smax: in intrinsic() 978 return Ops[0].smax(Ops[1]); in intrinsic() 1190 ConstantRange::smax(const ConstantRange &Other) const { in smax() function in ConstantRange 1195 APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin()); in smax() 1196 APInt NewU = APIntOps::smax(getSignedMax(), Other.getSignedMax()) + 1; in smax()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVELaneInterleavingPass.cpp | 211 case Intrinsic::smax: in tryInterleave()
|
H A D | ARMTargetTransformInfo.cpp | 968 IID = Intrinsic::smax; in getCmpSelInstrCost() 1857 if (IID == Intrinsic::smin || IID == Intrinsic::smax || in getMinMaxReductionCost() 1912 case Intrinsic::smax: in getIntrinsicInstrCost() 1969 IntrinsicCostAttributes Attrs2(IsSigned ? Intrinsic::smax in getIntrinsicInstrCost() 2239 II->getIntrinsicID() == Intrinsic::smax || in canTailPredicateInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 1099 assert((MinMaxID == Intrinsic::smax || MinMaxID == Intrinsic::smin || in moveAddAfterMinMax() 1112 bool IsSigned = MinMaxID == Intrinsic::smax || MinMaxID == Intrinsic::smin; in moveAddAfterMinMax() 1207 case Intrinsic::smax: in foldClampRangeOfTwo() 1353 case Intrinsic::smax: in foldShuffledIntrinsicOperands() 1649 case Intrinsic::smax: in visitCallInst() 1670 if ((IID == Intrinsic::umin || IID == Intrinsic::smax) && in visitCallInst() 1682 if (IID == Intrinsic::smax || IID == Intrinsic::smin) { in visitCallInst() 1709 bool UseOr = IID == Intrinsic::smax || IID == Intrinsic::umax; in visitCallInst() 1712 if (IID == Intrinsic::smax || IID == Intrinsic::smin) { in visitCallInst() 3378 case Intrinsic::smax: in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 383 static KnownBits smax(const KnownBits &LHS, const KnownBits &RHS);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 293 case Intrinsic::smax: in expandPredicationToIntCall() 448 Builder.CreateBinaryIntrinsic(Intrinsic::smax, Reduction, Start); in expandPredicationInReduction()
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | elf_update.c | 371 const uint64_t smax = start + size; in _libelf_extent_is_unused() local 385 } else if (smax <= tmin) { in _libelf_extent_is_unused()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DemandedBits.cpp | 143 case Intrinsic::smax: in determineLiveOperandBits()
|
H A D | ValueTracking.cpp | 1548 case Intrinsic::smax: in computeKnownBitsFromOperator() 1551 Known = KnownBits::smax(Known, Known2); in computeKnownBitsFromOperator() 2064 case Intrinsic::smax: in isKnownToBeAPowerOfTwo() 2706 case Intrinsic::smax: { in isKnownNonZeroFromOperator() 3574 case Intrinsic::smax: { in ComputeNumSignBitsImpl() 6606 case Intrinsic::smax: in canCreateUndefOrPoison() 8026 case Intrinsic::smax: return Intrinsic::smin; in getInverseMinMaxIntrinsic() 8027 case Intrinsic::smin: return Intrinsic::smax; in getInverseMinMaxIntrinsic() 8080 return {Intrinsic::smax, AllCmpSingleUse}; in canConvertToMinOrMaxIntrinsic() 8771 case Intrinsic::smax: in getRangeForIntrinsic() [all …]
|
H A D | ConstantFolding.cpp | 1505 case Intrinsic::smax: in canConstantFoldCallTo() 1832 Acc = APIntOps::smax(Acc, X); in constantFoldVectorReduce() 2732 case Intrinsic::smax: in ConstantFoldScalarCall2() 3116 Product = APIntOps::smax(Product, Min); in ConstantFoldScalarCall3()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
H A D | SelectionDAGCompat.td | 159 def : GINodeEquiv<G_SMAX, smax>;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 425 APInt Max = APIntOps::smax(ValRange.getSignedMax(), High); in ProcessSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SMEInstrInfo.td | 387 defm SMAX_VG2_2ZZ : sme2_int_sve_destructive_vector_vg2_single<"smax", 0b0000000>; 388 defm SMAX_VG4_4ZZ : sme2_int_sve_destructive_vector_vg4_single<"smax", 0b0000000>; 389 defm SMAX_VG2_2Z2Z : sme2_int_sve_destructive_vector_vg2_multi<"smax", 0b0000000>; 390 defm SMAX_VG4_4Z4Z : sme2_int_sve_destructive_vector_vg4_multi<"smax", 0b0000000>;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 353 Known = KnownBits::smax(Known, KnownRHS); in computeKnownBitsImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 385 IntrinsicCostAttributes(Intrinsic::smax, IntTy, {IntTy}), in tryToFPToSat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsMSAInstrInfo.td | 2380 class MAX_S_B_DESC : MSA_3R_DESC_BASE<"max_s.b", smax, MSA128BOpnd>; 2381 class MAX_S_H_DESC : MSA_3R_DESC_BASE<"max_s.h", smax, MSA128HOpnd>; 2382 class MAX_S_W_DESC : MSA_3R_DESC_BASE<"max_s.w", smax, MSA128WOpnd>; 2383 class MAX_S_D_DESC : MSA_3R_DESC_BASE<"max_s.d", smax, MSA128DOpnd>; 2390 class MAXI_S_B_DESC : MSA_I5_DESC_BASE<"maxi_s.b", smax, vsplati8_simm5, 2392 class MAXI_S_H_DESC : MSA_I5_DESC_BASE<"maxi_s.h", smax, vsplati16_simm5, 2394 class MAXI_S_W_DESC : MSA_I5_DESC_BASE<"maxi_s.w", smax, vsplati32_simm5, 2396 class MAXI_S_D_DESC : MSA_I5_DESC_BASE<"maxi_s.d", smax, vsplati64_simm5,
|