Home
last modified time | relevance | path

Searched refs:sext (Results 1 – 25 of 194) sorted by relevance

12345678

/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DExtendedIntegerResults.txt49 ;; 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 DKnownBits.h169 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 Ddiv.S44 sext.w a0, a0
56 sext.w a0, a1
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/riscv/
H A Ddiv.S44 sext.w a0, a0
56 sext.w a0, a1
/netbsd-src/external/gpl3/binutils/dist/gprof/
H A Dgmon_io.c90 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 Dgmon_io.c90 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 DConstantRange.cpp715 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 DX86InstrExtension.td49 [(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 Dgfx90a_m.rst13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
H A Dgfx10_mod_sdwa_sext.rst13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
H A Dgfx9_mod_sdwa_sext.rst13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
H A Dgfx908_mod_sdwa_sext.rst13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
H A Dgfx8_mod_sdwa_sext.rst13 This operand may be used with integer operand modifier :ref:`sext<amdgpu_synid_sext>`.
H A Dgfx906_mod_sdwa_sext.rst13 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 DMips64r6InstrInfo.td307 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 DMips64InstrInfo.td840 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 DScalarEvolutionDivision.cpp118 DenominatorVal = DenominatorVal.sext(NumeratorBW); in visitConstant()
120 NumeratorVal = NumeratorVal.sext(DenominatorBW); in visitConstant()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dfixed-value.c96 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 Dtree-ssa-ccp.c610 = 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 Dsanopt.c433 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 Dfixed-value.cc96 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 Dtree-ssa-ccp.cc611 = 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 Dsanopt.cc433 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 DPerformanceTips.rst78 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 DM68kInstrControl.td131 // 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)>;

12345678