| /freebsd-12.1/lib/libc/stdio/ |
| H A D | xprintf_int.c | 264 int l, ngrp, rdx, sign, zext; in __printf_render_int() local 391 zext = pi->prec - (pe - p); in __printf_render_int() 393 zext = 0; in __printf_render_int() 395 zext = pi->width - l; in __printf_render_int() 397 zext = 0; in __printf_render_int() 399 l += zext; in __printf_render_int() 401 while (zext > 0 && p > buf) { in __printf_render_int() 403 zext--; in __printf_render_int() 429 if (zext > 0) in __printf_render_int() 430 ret += __printf_pad(io, zext, 1); in __printf_render_int()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 119 KnownBits zext(unsigned BitWidth) { in zext() function 120 return KnownBits(Zero.zext(BitWidth), One.zext(BitWidth)); in zext()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 341 return (Upper - Lower).zext(getBitWidth()+1); in getSetSize() 625 LowerExt = Lower.zext(DstTySize); in zeroExtend() 630 return ConstantRange(Lower.zext(DstTySize), Upper.zext(DstTySize)); in zeroExtend() 641 return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize)); in signExtend() 830 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2); in multiply() 831 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2); in multiply() 832 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2); in multiply() 833 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2); in multiply()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InstrExtension.td | 77 [(set GR32:$dst, (zext GR8:$src))]>, TB, 85 [(set GR32:$dst, (zext GR16:$src))]>, TB, 206 def : Pat<(i64 (zext GR8:$src)), 211 def : Pat<(i64 (zext GR16:$src)), 220 // to these explicit zext instructions. 221 def : Pat<(i64 (zext GR32:$src)),
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrAtomics.td | 302 def : Pat<(stxr_1 (zext (and GPR32:$val, 0xff)), GPR64sp:$addr), 304 def : Pat<(stxr_2 (zext (and GPR32:$val, 0xffff)), GPR64sp:$addr), 306 def : Pat<(stxr_4 (zext GPR32:$val), GPR64sp:$addr), 348 def : Pat<(stlxr_1 (zext (and GPR32:$val, 0xff)), GPR64sp:$addr), 350 def : Pat<(stlxr_2 (zext (and GPR32:$val, 0xffff)), GPR64sp:$addr), 352 def : Pat<(stlxr_4 (zext GPR32:$val), GPR64sp:$addr),
|
| H A D | AArch64InstrInfo.td | 1091 def : Pat<(i64 (mul (zext GPR32:$Rn), (zext GPR32:$Rm))), 1096 def : Pat<(i64 (ineg (mul (zext GPR32:$Rn), (zext GPR32:$Rm)))), 2194 // anyext -> zext 2209 // unscaled zext 3272 def : Pat<(abs (v8i16 (sub (zext (v8i8 V64:$opA)), 3288 def : Pat<(abs (v4i32 (sub (zext (v4i16 V64:$opA)), 3294 def : Pat<(abs (v2i64 (sub (zext (v2i32 V64:$opA)), 3470 defm : SIMDVectorLShiftLongBySizeBHSPats<zext>; 4147 BinOpFrag<(add (zext node:$LHS), (zext node:$RHS))>>; 4156 BinOpFrag<(sub (zext node:$LHS), (zext node:$RHS))>>; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrAtomics.td | 74 // We directly match zext patterns and select the zext atomic loads. 75 // i32 (zext (i8 (atomic_load_8))) gets legalized to 83 // i64 (zext (i8 (atomic_load_8))) gets legalized to 93 (zext (i32 (atomic_load node:$addr)))>; 97 // results) and select a zext load; the next instruction will be sext_inreg 519 (zext (i32 (kind node:$addr, (i32 (trunc (i64 node:$val))))))>; 524 // 64-bit) and select a zext RMW; the next instruction will be sext_inreg which 768 (zext (i32 (assertzext (i32 (kind node:$addr, 774 (zext (i32 (kind node:$addr, 780 // zext RMW; the next instruction will be sext_inreg which is selected by
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCodeGenPrepare.cpp | 371 ICmpConst->getValue().zext(32) : ICmpConst->getValue(); in isSafeOverflow() 374 OverflowConst->getValue().abs().zext(32) : OverflowConst->getValue().abs(); in isSafeOverflow() 379 if (Total.ugt(Max.zext(Total.getBitWidth()))) in isSafeOverflow() 382 if (Total.zext(Max.getBitWidth()).ugt(Max)) in isSafeOverflow()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | CmpInstAnalysis.cpp | 138 Mask = Mask.zext(X->getType()->getScalarSizeInBits()); in decomposeBitTestICmp()
|
| H A D | DemandedBits.cpp | 265 AB = AOut.zext(BitWidth); in determineLiveOperandBits()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPatterns.td | 2771 /*zext*/ L4_add_memopb_io>; 2777 /*zext*/ L4_add_memoph_io>; 2786 /*zext*/ L4_sub_memopb_io>; 2792 /*zext*/ L4_sub_memoph_io>; 2801 /*zext*/ L4_and_memopb_io>; 2807 /*zext*/ L4_and_memoph_io>; 2816 /*zext*/ L4_or_memopb_io>; 2822 /*zext*/ L4_or_memoph_io>; 2872 /*zext*/ IdImm, L4_iadd_memopb_io>; 2878 /*zext*/ IdImm, L4_iadd_memoph_io>; [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 699 def : Pat<(mul (zext Int32Regs:$a), (zext Int32Regs:$b)), 713 def : Pat<(mul (zext Int16Regs:$a), (zext Int16Regs:$b)), 2720 // zext i1 2721 def : Pat<(i16 (zext Int1Regs:$a)), 2723 def : Pat<(i32 (zext Int1Regs:$a)), 2725 def : Pat<(i64 (zext Int1Regs:$a)), 2742 // zext i16 2743 def : Pat<(i32 (zext Int16Regs:$a)), 2745 def : Pat<(i64 (zext Int16Regs:$a)), 2758 // zext i32 [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | VOP2Instructions.td | 610 (i32 (zext (op i16:$src0, i16:$src1))), 615 (i64 (zext (op i16:$src0, i16:$src1))), 631 (i32 (zext (op i16:$src0, i16:$src1))), 637 (i64 (zext (op i16:$src0, i16:$src1))), 678 def : ZExt_i16_i1_Pat<zext>;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 147 Result = Result.zext(Op->getType()->getIntegerBitWidth()); in handlePhiDef()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 664 return I1 == I2.zext(I1.getBitWidth()); in isSameValue() 666 return I1.zext(I2.getBitWidth()) == I2; in isSameValue() 1359 APInt zext(unsigned width) const;
|
| H A D | APSInt.h | 87 return APSInt(zext(width), IsUnsigned); in extend()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1163 IntOverflowOccurred |= Val.ugt(MaxVal.zext(Val.getBitWidth())); in GetFixedPointValue() 1166 IntOverflowOccurred |= Val.zext(MaxVal.getBitWidth()).ugt(MaxVal); in GetFixedPointValue() 1167 StoreVal = Val.zext(StoreVal.getBitWidth()); in GetFixedPointValue()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1269 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.zext(DBitWidth); in executeZExtInst() 1273 Dest.IntVal = Src.IntVal.zext(DBitWidth); in executeZExtInst() 1561 Elt.IntVal = Elt.IntVal.zext(DstBitSize); in executeBitCastInst() 1565 Tmp = Tmp.zext(SrcBitSize); in executeBitCastInst() 1567 Tmp = Tmp.zext(DstBitSize); in executeBitCastInst() 1581 Elt.IntVal = Elt.IntVal.zext(SrcBitSize); in executeBitCastInst()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Target/GlobalISel/ |
| H A D | SelectionDAGCompat.td | 43 def : GINodeEquiv<G_ZEXT, zext>;
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | Mips64InstrInfo.td | 455 [(set GPR64Opnd:$rd, (zext (cond_op GPR64Opnd:$rs, 464 [(set GPR64Opnd:$rt, (zext (cond_op GPR64Opnd:$rs, 767 def : MipsPat<(i64 (zext GPR32:$src)), (DSRL (DSLL64_32 GPR32:$src), 32)>, 773 def : MipsPat<(i64 (zext GPR32:$src)), (DEXT64_32 GPR32:$src, 0, 32)>, 775 def : MipsPat<(i64 (zext (i32 (shl GPR32:$rt, immZExt5:$imm)))),
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 183 FieldValue = FieldValue.zext(FieldSize); in AppendBitField() 220 Tmp = Tmp.zext(CharWidth); in AppendBitField() 296 FieldValue = FieldValue.zext(CharWidth) << (CharWidth - BitWidth); in AppendBitField() 298 FieldValue = FieldValue.zext(CharWidth); in AppendBitField()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | APInt.cpp | 858 APInt APInt::zext(unsigned width) const { in zext() function in APInt 878 return zext(width); in zextOrTrunc() 894 return zext(width); in zextOrSelf() 985 rot = rotateAmt.zext(BitWidth); in rotateModulo()
|
| H A D | StringRef.cpp | 541 Result = Result.zext(BitWidth); in getAsInteger()
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_write_set_format_iso9660.c | 8027 struct zisofs_extract zext; in zisofs_rewind_boot_file() local 8042 memset(&zext, 0, sizeof(zext)); in zisofs_rewind_boot_file() 8043 zext.pz_uncompressed_size = file->zisofs.uncompressed_size; in zisofs_rewind_boot_file() 8044 zext.pz_log2_bs = file->zisofs.log2_bs; in zisofs_rewind_boot_file() 8086 r = zisofs_extract(a, &zext, rbuff, rs); in zisofs_rewind_boot_file() 8114 free(zext.block_pointers); in zisofs_rewind_boot_file() 8115 if (zext.stream_valid && inflateEnd(&(zext.stream)) != Z_OK) { in zisofs_rewind_boot_file()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPatterns.td | 33 def : Pat<(operator cls:$src1, (zext GR32:$src2)),
|