/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/ |
H A D | hlsl_intrinsics.h | 466 half clamp(half, half, half); 469 half2 clamp(half2, half2, half2); 472 half3 clamp(half3, half3, half3); 475 half4 clamp(half4, half4, half4); 480 int16_t clamp(int16_t, int16_t, int16_t); 483 int16_t2 clamp(int16_t2, int16_t2, int16_t2); 486 int16_t3 clamp(int16_t3, int16_t3, int16_t3); 489 int16_t4 clamp(int16_t4, int16_t4, int16_t4); 493 uint16_t clamp(uint16_t, uint16_t, uint16_t); 496 uint16_t2 clamp(uint16_t2, uint16_t2, uint16_t2); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | VINTERPInstructions.td | 21 bits<1> clamp; 33 let Inst{15} = clamp; 80 Clamp:$clamp, 83 let Asm64 = " $vdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$clamp$waitexp"; 98 Clamp:$clamp, op_sel0:$op_sel, 101 let Asm64 = " $vdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$clamp$op_sel$waitexp"; 136 0, /* clamp */ 156 0, /* clamp */
|
H A D | VOPInstructions.td | 231 bits<1> clamp; 249 let Inst{11} = !if(p.HasClamp, clamp{0}, 0); 254 let Inst{15} = !if(p.HasClamp, clamp{0}, 0); 263 let Inst{15} = !if(P.HasClamp, clamp{0}, 0); 385 bits<1> clamp; 400 let Inst{15} = !if(P.HasClamp, clamp{0}, 0); 483 bits<1> clamp; 484 let Inst{15} = !if(p.HasClamp, clamp{0}, 0); 492 bits<1> clamp; 494 let Inst{15} = !if(P.HasClamp, clamp{0}, 0); [all …]
|
H A D | SIInstrInfo.td | 1082 def Clamp : NamedBitOperand<"clamp">; 1725 Clamp0:$clamp, omod0:$omod), 1727 (ins Src0Mod:$src0_modifiers, Src0RC:$src0, Clamp0:$clamp), 1732 (ins Src0RC:$src0, Clamp0:$clamp), 1741 Clamp0:$clamp, omod0:$omod), 1744 !if(HasClamp, (ins Clamp0:$clamp), (ins)))) 1748 (ins Src0RC:$src0, Src1RC:$src1, Clamp0:$clamp), 1760 Clamp0:$clamp, omod0:$omod), 1765 Clamp0:$clamp), 1773 Src2RC:$src2, Clamp0:$clamp, omod0:$omod), [all …]
|
H A D | VOP3Instructions.td | 11 let Asm64 = " $vdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$clamp$omod" in { 26 let Asm64 = "$vdst, $sdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$clamp$omod"; 40 let Asm64 = "$vdst, $sdst, $src0, $src1, $src2$clamp"; 67 Clamp0:$clamp, omod0:$omod); 69 let Asm64 = "$vdst, $src0_modifiers, $attr$attrchan$clamp$omod"; 75 Clamp0:$clamp, omod0:$omod); 77 let Asm64 = "$vdst, $src0, $attr$attrchan$clamp$omod"; 87 " $vdst, $src0_modifiers, $attr$attrchan"#src2#"$high$clamp"#omod; 97 highmod:$high, Clamp0:$clamp, omod0:$omod), 101 highmod:$high, Clamp0:$clamp) [all …]
|
H A D | VOP3PInstructions.td | 42 // following it. For now workaround this by requiring clamp 46 dag mods = !con(!if(UseTiedOutput, (ins Clamp:$clamp, VGPR_32:$vdst_in), 47 (ins Clamp0:$clamp)), 54 "$vdst, $src0_modifiers, $src1_modifiers, $src2_modifiers$op_sel$op_sel_hi$clamp"; 128 // Integer operations with clamp bit set. 180 // FIXME: Special case handling for maxhi (especially for clamp) 424 i32:$src2, (i1 timm:$clamp)), 427 (i32 8), i32:$src2, i1:$clamp) 437 i32:$src2, (i1 timm:$clamp)), 439 (i32 9), i32:$src1, (i32 8), i32:$src2, i1:$clamp) [all …]
|
H A D | VOP1Instructions.td | 114 i1:$clamp, i32:$omod))))], 176 // Special profile for instructions which have clamp 181 let Ins64 = (ins Src0RC64:$src0, Clamp:$clamp, omod:$omod); 182 let InsVOP3Base = (ins Src0VOP3DPP:$src0, Clamp:$clamp, omod:$omod); 183 let AsmVOP3Base = "$vdst, $src0$clamp$omod"; 192 let Ins64 = (ins Src0RC64:$src0, Clamp:$clamp, omod:$omod); 193 let InsVOP3Base = (ins Src0VOP3DPP:$src0, Clamp:$clamp, omod:$omod); 194 let AsmVOP3Base = "$vdst, $src0$clamp$omod"; 389 Clamp:$clamp, dst_sel:$dst_sel, dst_unused:$dst_unused, 578 Clamp:$clamp, omod:$omod, src0_sel:$src0_sel); [all …]
|
H A D | VOP2Instructions.td | 135 (VOP3Mods0 P.Src0VT:$src0, i32:$src0_modifiers, i1:$clamp, i32:$omod), 136 (VOP3Mods0 P.Src0VT:$src0, i32:$src0_modifiers, i1:$clamp))), 353 ps.Pfl.Src0RC32:$src0, ps.Pfl.Src1RC32:$src1, Clamp:$clamp), 454 Clamp:$clamp, omod:$omod, 539 let Asm64 = "$vdst, $src0, $src1$clamp"; 545 let AsmVOP3Base = "$vdst, $sdst, $src0, $src1$clamp"; 546 …let AsmSDWA = "$vdst, vcc, $src0_modifiers, $src1_modifiers$clamp $dst_sel $dst_unused $src0_sel $… 547 …let AsmSDWA9 = "$vdst, vcc, $src0_modifiers, $src1_modifiers$clamp $dst_sel $dst_unused $src0_sel … 572 …let AsmSDWA = "$vdst, vcc, $src0_modifiers, $src1_modifiers, vcc$clamp $dst_sel $dst_unused $src0_… 573 …let AsmSDWA9 = "$vdst, vcc, $src0_modifiers, $src1_modifiers, vcc$clamp $dst_sel $dst_unused $src0… [all …]
|
H A D | SIInstrFormats.td | 92 // the clamp modifier has floating point semantics. 99 // This field indicates that the clamp applies to the low component 103 // This field indicates that the clamp applies to the high component
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | clamp.h | 25 clamp(_LIBCPP_LIFETIMEBOUND const _Tp& __v, in clamp() function 35 clamp(_LIBCPP_LIFETIMEBOUND const _Tp& __v, in clamp() function 38 return std::clamp(__v, __lo, __hi, __less<>()); in clamp()
|
H A D | ranges_clamp.h | 56 inline constexpr auto clamp = __clamp::__fn{};
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsNVVM.td | 2639 // .clamp variants 2643 "llvm.nvvm.suld.1d.i8.clamp">; 2647 "llvm.nvvm.suld.1d.i16.clamp">; 2651 "llvm.nvvm.suld.1d.i32.clamp">; 2655 "llvm.nvvm.suld.1d.i64.clamp">; 2659 "llvm.nvvm.suld.1d.v2i8.clamp">; 2663 "llvm.nvvm.suld.1d.v2i16.clamp">; 2667 "llvm.nvvm.suld.1d.v2i32.clamp">; 2671 "llvm.nvvm.suld.1d.v2i64.clamp">; 2675 "llvm.nvvm.suld.1d.v4i8.clamp">; [all …]
|
H A D | IntrinsicsAMDGPU.td | 665 // Name of the {lod} or {clamp} argument that is appended to the coordinates, 692 let LodOrClamp = "clamp" in 2512 llvm_i1_ty, // %clamp 2587 llvm_i1_ty, // %clamp 2655 // f32 %r = llvm.amdgcn.fdot2(v2f16 %a, v2f16 %b, f32 %c, i1 %clamp) 2665 llvm_i1_ty // %clamp 2698 // f32 %r = llvm.amdgcn.fdot2.f32.bf16(v2bf16 %a, v2bf16 %b, f32 %c, i1 %clamp) 2708 llvm_i1_ty // %clamp 2713 // i32 %r = llvm.amdgcn.sdot2(v2i16 %a, v2i16 %b, i32 %c, i1 %clamp) 2723 llvm_i1_ty // %clamp [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXIntrinsics.td | 3969 defm SULD_1D_I8_CLAMP : SULD_1D<"suld.b.1d.b8.clamp", Int16Regs>; 3970 defm SULD_1D_I16_CLAMP : SULD_1D<"suld.b.1d.b16.clamp", Int16Regs>; 3971 defm SULD_1D_I32_CLAMP : SULD_1D<"suld.b.1d.b32.clamp", Int32Regs>; 3972 defm SULD_1D_I64_CLAMP : SULD_1D<"suld.b.1d.b64.clamp", Int64Regs>; 3995 : SULD_1D_ARRAY<"suld.b.a1d.b8.clamp", Int16Regs>; 3997 : SULD_1D_ARRAY<"suld.b.a1d.b16.clamp", Int16Regs>; 3999 : SULD_1D_ARRAY<"suld.b.a1d.b32.clamp", Int32Regs>; 4001 : SULD_1D_ARRAY<"suld.b.a1d.b64.clamp", Int64Regs>; 4031 defm SULD_2D_I8_CLAMP : SULD_2D<"suld.b.2d.b8.clamp", Int16Regs>; 4032 defm SULD_2D_I16_CLAMP : SULD_2D<"suld.b.2d.b16.clamp", Int16Regs>; [all …]
|
/freebsd/crypto/openssl/crypto/ec/curve448/ |
H A D | eddsa.c | 50 static void clamp(uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]) in clamp() function 129 clamp(secret_scalar_ser); in ossl_c448_ed448_derive_public_key() 188 clamp(expanded); in ossl_c448_ed448_sign()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | minmax.h | 64 #define clamp(x, lo, hi) min(max(x, lo), hi) macro
|
/freebsd/contrib/bc/gen/ |
H A D | dc_help.txt | 75 -C --no-digit-clamp 86 -c --digit-clamp 210 If an integer and non-zero, clamp digits larger than or equal to the
|
H A D | bc_help.txt | 66 -C --no-digit-clamp 77 -c --digit-clamp 253 If an integer and non-zero, clamp digits larger than or equal to the
|
/freebsd/contrib/llvm-project/lld/Common/ |
H A D | Args.cpp | 23 return std::clamp(optLevelLTO, 2, 3); in getCGOptLevel()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 108 return std::clamp(NewCapacity, MinSize, MaxSize); in getNewCapacity()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSubtarget.cpp | 178 return llvm::bit_floor(std::clamp<unsigned>(RVVVectorLMULMax, 1, 8)); in getMaxLMULForFixedLengthVectors()
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | algorithm.cppm |
|
H A D | algorithm.inc | 588 // [alg.clamp], bounded value 589 using std::clamp; 592 using std::ranges::clamp;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MisExpect.cpp | 168 Tolerance = std::clamp(Tolerance, 0u, 99u); in verifyMisExpect()
|
/freebsd/contrib/bc/src/ |
H A D | vm.c | 278 const char* const clamp = BC_DEFAULT_DIGIT_CLAMP ? "to clamp" : local 283 clamp); 298 const char* const clamp = DC_DEFAULT_DIGIT_CLAMP ? "to clamp" : local 302 BC_BUILD_TYPE, sigint, tty, prompt, expr, clamp);
|