Home
last modified time | relevance | path

Searched refs:zext (Results 1 - 25 of 53) sorted by relevance

123

/third_party/ltp/tools/sparse/sparse-src/validation/optim/
H A Dcmp-zext-uimm2.c1 #define zext(X) ((unsigned long long) (X)) macro
3 int zext_ltu_q(unsigned x) { return (zext(x) < 0x100000001UL) == 1; } in zext_ltu_q()
4 int zext_ltu_p(unsigned x) { return (zext(x) < 0x100000000UL) == 1; } in zext_ltu_p()
5 int zext_ltu_0(unsigned x) { return (zext(x) < 0x0ffffffffUL) == (x < 0xffffffff); } in zext_ltu_0()
6 int zext_ltu_m(unsigned x) { return (zext(x) < 0x0fffffffeUL) == (x < 0xfffffffe); } in zext_ltu_m()
8 int zext_leu_q(unsigned x) { return (zext(x) <= 0x100000001UL) == 1; } in zext_leu_q()
9 int zext_leu_p(unsigned x) { return (zext(x) <= 0x100000000UL) == 1; } in zext_leu_p()
10 int zext_leu_0(unsigned x) { return (zext(x) <= 0x0ffffffffUL) == 1; } in zext_leu_0()
11 int zext_leu_m(unsigned x) { return (zext(x) <= 0x0fffffffeUL) == (x <= 0xfffffffe); } in zext_leu_m()
13 int zext_geu_q(unsigned x) { return (zext(
[all...]
H A Dcmp-zext-uimm1.c1 #define zext(X) ((unsigned long long) (X)) macro
4 int zext_lt_p(unsigned int x) { return (zext(x) < (BITS + 1)) == 1; } in zext_lt_p()
5 int zext_le_p(unsigned int x) { return (zext(x) <= (BITS )) == 1; } in zext_le_p()
6 int zext_ge_p(unsigned int x) { return (zext(x) >= (BITS + 1)) == 0; } in zext_ge_p()
7 int zext_gt_p(unsigned int x) { return (zext(x) > (BITS )) == 0; } in zext_gt_p()
10 * check-name: cmp-zext-uimm1
H A Dcmp-zext-uimm0.c1 #define zext(X) ((unsigned long long) (X)) macro
4 #define TEST(X,OP,VAL) (zext(X) OP (VAL)) == (X OP (VAL))
16 * check-name: cmp-zext-uimm0
/third_party/ltp/tools/sparse/sparse-src/
H A Dscheck.c83 static BoolectorNode *zext(Btor *btor, struct instruction *insn, BoolectorNode *s) in zext() function
126 case OP_SET_EQ: t = zext(btor, insn, boolector_eq(btor, a, b)); break; in binary()
127 case OP_SET_NE: t = zext(btor, insn, boolector_ne(btor, a, b)); break; in binary()
128 case OP_SET_LT: t = zext(btor, insn, boolector_slt(btor, a, b)); break; in binary()
129 case OP_SET_LE: t = zext(btor, insn, boolector_slte(btor, a, b)); break; in binary()
130 case OP_SET_GE: t = zext(btor, insn, boolector_sgte(btor, a, b)); break; in binary()
131 case OP_SET_GT: t = zext(btor, insn, boolector_sgt(btor, a, b)); break; in binary()
132 case OP_SET_B: t = zext(btor, insn, boolector_ult(btor, a, b)); break; in binary()
133 case OP_SET_BE: t = zext(btor, insn, boolector_ulte(btor, a, b)); break; in binary()
134 case OP_SET_AE: t = zext(bto in binary()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DKnownBits.h135 KnownBits zext(unsigned BitWidth, bool ExtendedBitsAreKnownZero) const { in zext() function
137 APInt NewZero = Zero.zext(BitWidth); in zext()
140 return KnownBits(NewZero, One.zext(BitWidth)); in zext()
156 return zext(BitWidth, ExtendedBitsAreKnownZero); in zextOrTrunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DTypePromotion.cpp86 // %0 = zext i8 %c to i32
222 /// a narrow 'TypeSize' value. These values will be zext to start the promotion
232 // TODO Allow zext to be sources. in isSource()
258 // - zext are included to ease the transformation and are generally removed in isSink()
366 ICmpConst->getValue().zext(32) : ICmpConst->getValue(); in isSafeWrap()
369 OverflowConst->getValue().abs().zext(32) : OverflowConst->getValue().abs(); in isSafeWrap()
374 if (Total.ugt(Max.zext(Total.getBitWidth()))) in isSafeWrap()
377 if (Total.zext(Max.getBitWidth()).ugt(Max)) in isSafeWrap()
451 // That positive immediate can then be zext along with all the other in PrepareWrappingAdds()
482 assert(V->getType() != ExtTy && "zext alread in ExtendSources()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DConstantRange.cpp678 LowerExt = Lower.zext(DstTySize); in zeroExtend()
683 return ConstantRange(Lower.zext(DstTySize), Upper.zext(DstTySize)); in zeroExtend()
694 return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize));
950 APInt this_min = getUnsignedMin().zext(getBitWidth() * 2);
951 APInt this_max = getUnsignedMax().zext(getBitWidth() * 2);
952 APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2);
953 APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp137 Mask = Mask.zext(X->getType()->getScalarSizeInBits()); in decomposeBitTestICmp()
H A DDemandedBits.cpp265 AB = AOut.zext(BitWidth); in determineLiveOperandBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DAPInt.h567 return I1 == I2.zext(I1.getBitWidth());
569 return I1.zext(I2.getBitWidth()) == I2;
1172 APInt zext(unsigned width) const;
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_pack.c332 bool zext = I->src[s].abs; in agx_pack_alu() local
335 unsigned sxt = (extends && !zext) ? (1 << 10) : 0; in agx_pack_alu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h106 // zext(trunc x) - > and (aext/copy/trunc x), mask in tryCombineZExt()
117 DstTy, Mask.zext(DstTy.getScalarSizeInBits())); in tryCombineZExt()
124 // Try to fold zext(g_constant) when the larger constant type is legal. in tryCombineZExt()
132 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); in tryCombineZExt()
248 // <2 x s32> = zext <2 x s16> in canFoldMergeOpcode()
252 // <2 x s16> = zext s16 <-- scalar to vector in canFoldMergeOpcode()
253 // <2 x s16> = zext s16 <-- scalar to vector in canFoldMergeOpcode()
256 // s32 = zext s16 in canFoldMergeOpcode()
258 // s32 = zext s16 in canFoldMergeOpcode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp153 Result = Result.zext(Op->getType()->getIntegerBitWidth()); in handlePhiDef()
H A DSeparateConstOffsetFromGEP.cpp276 /// 1) iteratively distribute s/zext towards the leaves of the expression tree
289 /// offset, distribute s/zext to the operands of all operators in UserChain.
290 /// e.g., zext(sext(a + (b + 5)) (assuming no overflow) =>
291 /// zext(sext(a)) + (zext(sext(b)) + zext(sext(5))).
294 /// distributing s/zext. e.g., the old UserChain of the above example is
295 /// 5 -> b + 5 -> a + (b + 5) -> sext(...) -> zext(sext(...)),
297 /// zext(sext(5)) -> zext(sex
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DAPInt.h680 return I1 == I2.zext(I1.getBitWidth()); in isSameValue()
682 return I1.zext(I2.getBitWidth()) == I2; in isSameValue()
1392 APInt zext(unsigned width) const;
H A DAPSInt.h104 return APSInt(zext(width), IsUnsigned); in extend()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1322 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.zext(DBitWidth);
1326 Dest.IntVal = Src.IntVal.zext(DBitWidth);
1614 Elt.IntVal = Elt.IntVal.zext(DstBitSize);
1618 Tmp = Tmp.zext(SrcBitSize);
1620 Tmp = Tmp.zext(DstBitSize);
1634 Elt.IntVal = Elt.IntVal.zext(SrcBitSize);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp283 // it to the top bits, else it will just zext. in computeKnownBitsImpl()
290 Known = Known.zext(BitWidth, true /* ExtendedBitsAreKnownZero */); in computeKnownBitsImpl()
346 // Fall through and handle them the same as zext/trunc. in computeKnownBitsImpl()
H A DUtils.cpp284 Val = Val.zext(OpcodeAndSize.second); in getConstantVRegValWithLookThrough()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DStringRef.cpp555 Result = Result.zext(BitWidth);
H A DAPInt.cpp965 APInt APInt::zext(unsigned width) const { in zext() function in APInt
986 return zext(width); in zextOrTrunc()
1002 return zext(width); in zextOrSelf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DStringRef.cpp546 Result = Result.zext(BitWidth);
H A DAPInt.cpp937 APInt APInt::zext(unsigned width) const {
957 return zext(width);
973 return zext(width);
1064 rot = rotateAmt.zext(BitWidth);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp410 LOI->Known = LOI->Known.zext(BitWidth, false /* => any extend */); in GetLiveOutRegInfo()
/third_party/node/deps/v8/src/codegen/riscv64/
H A Dconstants-riscv64.h1922 #define zext(x, len) (((uint32_t)(x) << (32 - len)) >> (32 - len)) macro
1933 return zext(imm, kRvvImm5Bits);
1936 #undef zext macro

Completed in 29 milliseconds

123