| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | ExtendedIntegerResults.txt | 49 ;; movswl %ax, %eax -> not needed because eax is already sext'd 64 %1 = sext i16 %0 to i32 81 here, and even if it did, it could not eliminate the sext. 4) the code 98 %2 = sext i16 %1 to i32 105 %tmp = sext i16 %retval12 to i32 117 the trunc/sext in z should be eliminable. 119 This can be done by introducing new sext/zext attributes which mean "I know
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 169 KnownBits sext(unsigned BitWidth) const { in sext() function 170 return KnownBits(Zero.sext(BitWidth), One.sext(BitWidth)); in sext() 197 return sext(BitWidth); in sextOrTrunc()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/riscv/ |
| H A D | div.S | 44 sext.w a0, a0 56 sext.w a0, a1
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/riscv/ |
| H A D | div.S | 44 sext.w a0, a0 56 sext.w a0, a1
|
| /netbsd-src/external/gpl3/binutils/dist/gprof/ |
| H A D | gmon_io.c | 90 int sext; in gmon_get_ptr_signedness() local 93 sext = bfd_get_sign_extend_vma (core_bfd); in gmon_get_ptr_signedness() 94 if (sext == -1) in gmon_get_ptr_signedness() 96 return (sext ? ptr_signed : ptr_unsigned); in gmon_get_ptr_signedness()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprof/ |
| H A D | gmon_io.c | 90 int sext; in gmon_get_ptr_signedness() local 93 sext = bfd_get_sign_extend_vma (core_bfd); in gmon_get_ptr_signedness() 94 if (sext == -1) in gmon_get_ptr_signedness() 96 return (sext ? ptr_signed : ptr_unsigned); in gmon_get_ptr_signedness()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 715 return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize)); in signExtend() 722 return ConstantRange(Lower.sext(DstTySize), Upper.sext(DstTySize)); in signExtend() 1044 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply() 1045 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply() 1046 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply() 1047 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply() 1468 APInt this_min = getSignedMin().sext(getBitWidth() * 2); in smul_sat() 1469 APInt this_max = getSignedMax().sext(getBitWidth() * 2); in smul_sat() 1470 APInt Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in smul_sat() 1471 APInt Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in smul_sat()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86InstrExtension.td | 49 [(set GR32:$dst, (sext GR8:$src))]>, TB, 57 [(set GR32:$dst, (sext GR16:$src))]>, TB, 141 [(set GR64:$dst, (sext GR8:$src))]>, TB, 149 [(set GR64:$dst, (sext GR16:$src))]>, TB, 157 [(set GR64:$dst, (sext GR32:$src))]>,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/AMDGPU/ |
| H A D | gfx90a_m.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| H A D | gfx10_mod_sdwa_sext.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| H A D | gfx9_mod_sdwa_sext.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| H A D | gfx908_mod_sdwa_sext.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| H A D | gfx8_mod_sdwa_sext.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| H A D | gfx906_mod_sdwa_sext.rst | 13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | Mips64r6InstrInfo.td | 307 def : MipsPat<(i64 (sext (i32 (mul GPR32:$src, GPR32:$src2)))), 310 def : MipsPat<(i64 (sext (i32 (sdiv GPR32:$src, GPR32:$src2)))), 313 def : MipsPat<(i64 (sext (i32 (udiv GPR32:$src, GPR32:$src2)))), 316 def : MipsPat<(i64 (sext (i32 (srem GPR32:$src, GPR32:$src2)))), 319 def : MipsPat<(i64 (sext (i32 (urem GPR32:$src, GPR32:$src2)))),
|
| H A D | Mips64InstrInfo.td | 840 def : MipsPat<(i64 (sext GPR32:$src)), (SLL64_32 GPR32:$src)>, ISA_MIPS3, 908 def : MipsPat<(i64 (sext (i32 (add GPR32:$src, immSExt16:$imm16)))), 911 def : MipsPat<(i64 (sext (i32 (add GPR32:$src, GPR32:$src2)))), 914 def : MipsPat<(i64 (sext (i32 (sub GPR32:$src, GPR32:$src2)))), 917 def : MipsPat<(i64 (sext (i32 (mul GPR32:$src, GPR32:$src2)))), 920 def : MipsPat<(i64 (sext (i32 (MipsMFHI ACC64:$src)))), 923 def : MipsPat<(i64 (sext (i32 (MipsMFLO ACC64:$src)))), 926 def : MipsPat<(i64 (sext (i32 (shl GPR32:$src, immZExt5:$imm5)))), 929 def : MipsPat<(i64 (sext (i32 (shl GPR32:$src, GPR32:$src2)))), 932 def : MipsPat<(i64 (sext (i32 (srl GPR32:$src, immZExt5:$imm5)))), [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 118 DenominatorVal = DenominatorVal.sext(NumeratorBW); in visitConstant() 120 NumeratorVal = NumeratorVal.sext(DenominatorBW); in visitConstant()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | fixed-value.c | 96 value.data = payload.sext (1 + GET_MODE_IBIT (mode) + GET_MODE_FBIT (mode)); in fixed_from_double_int() 208 min = min.sext (1 + i_f_bits); in fixed_saturate1() 274 min_s = min_s.sext (1 + i_f_bits); in fixed_saturate2() 829 temp_high = temp_high.sext (amount); in fixed_convert() 972 temp_high = temp_high.sext (amount); in fixed_convert_from_int() 1069 f->data = f->data.sext (1 + i_f_bits); in fixed_convert_from_real()
|
| H A D | tree-ssa-ccp.c | 610 = wi::sext (val.mask, TYPE_PRECISION (type)) == -1 ? VARYING : CONSTANT; in get_value_from_alignment() 1082 if (wi::sext (val1->mask, TYPE_PRECISION (TREE_TYPE (val1->value))) == -1) in ccp_lattice_meet() 1604 || wi::sext (rval.mask, TYPE_PRECISION (TREE_TYPE (rhs))) == -1); in bit_value_unop() 1608 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_unop() 1646 || wi::sext (r1val.mask, in bit_value_binop() 1650 || wi::sext (r2val.mask, in bit_value_binop() 1662 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_binop() 1669 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_binop() 1718 || wi::sext (ptrval.mask, TYPE_PRECISION (type)) == -1); in bit_value_assume_aligned() 1771 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_assume_aligned() [all …]
|
| H A D | sanopt.c | 433 offset_int ooffset = wi::sext (wi::to_offset (offset), POINTER_SIZE); in has_dominating_ubsan_ptr_check() 481 offset_int cur_offset = wi::sext (wi::to_offset (off), POINTER_SIZE); in maybe_optimize_ubsan_ptr_ifn() 506 expr_offset = wi::sext (expr_offset, POINTER_SIZE); in maybe_optimize_ubsan_ptr_ifn() 508 if (total_offset != wi::sext (total_offset, POINTER_SIZE)) in maybe_optimize_ubsan_ptr_ifn()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | fixed-value.cc | 96 value.data = payload.sext (1 + GET_MODE_IBIT (mode) + GET_MODE_FBIT (mode)); in fixed_from_double_int() 208 min = min.sext (1 + i_f_bits); in fixed_saturate1() 274 min_s = min_s.sext (1 + i_f_bits); in fixed_saturate2() 828 temp_high = temp_high.sext (amount); in fixed_convert() 971 temp_high = temp_high.sext (amount); in fixed_convert_from_int() 1068 f->data = f->data.sext (1 + i_f_bits); in fixed_convert_from_real()
|
| H A D | tree-ssa-ccp.cc | 611 = wi::sext (val.mask, TYPE_PRECISION (type)) == -1 ? VARYING : CONSTANT; in get_value_from_alignment() 1083 if (wi::sext (val1->mask, TYPE_PRECISION (TREE_TYPE (val1->value))) == -1) in ccp_lattice_meet() 1362 if (wi::sext (rmask, rtype_precision) == -1) in bit_value_unop() 1718 *mask = wi::sext (tmp, width); in bit_value_binop() 1720 *val = wi::sext (tmp, width); in bit_value_binop() 1984 || wi::sext (rval.mask, TYPE_PRECISION (TREE_TYPE (rhs))) == -1); in bit_value_unop() 1988 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_unop() 2026 || wi::sext (r1val.mask, in bit_value_binop() 2030 || wi::sext (r2val.mask, in bit_value_binop() 2042 if (wi::sext (mask, TYPE_PRECISION (type)) != -1) in bit_value_binop() [all …]
|
| H A D | sanopt.cc | 433 offset_int ooffset = wi::sext (wi::to_offset (offset), POINTER_SIZE); in has_dominating_ubsan_ptr_check() 481 offset_int cur_offset = wi::sext (wi::to_offset (off), POINTER_SIZE); in maybe_optimize_ubsan_ptr_ifn() 506 expr_offset = wi::sext (expr_offset, POINTER_SIZE); in maybe_optimize_ubsan_ptr_ifn() 508 if (total_offset != wi::sext (total_offset, POINTER_SIZE)) in maybe_optimize_ubsan_ptr_ifn()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/Frontend/ |
| H A D | PerformanceTips.rst | 78 Prefer zext over sext when legal 83 replace a sext with a zext when it can be proven safe, but if you have 85 be profitable to use a zext rather than a sext. 88 <range-metadata>` and LLVM can do the sext to zext conversion for you. 94 width. When it does so, it will default to using sign extension (sext)
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
| H A D | M68kInstrControl.td | 131 // Currently M68k does not allow 16 bit indirect jumps use sext operands 292 def : Pat<(i16 (sext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C16d)>; 293 def : Pat<(i32 (sext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C32d)>;
|