Home
last modified time | relevance | path

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

12345

/third_party/ltp/tools/sparse/sparse-src/validation/optim/
Dcmp-sext-simm.c1 #define sext(X) ((long long) (X)) macro
5 static int lt_ge0(int x) { return (sext(x) < (POS + 0)) == 1; } in lt_ge0()
6 static int lt_ge1(int x) { return (sext(x) < (POS + 1)) == 1; } in lt_ge1()
7 static int lt_ge2(int x) { return (sext(x) < (POS + 2)) == 1; } in lt_ge2()
8 static int lt_gex(int x) { return (sext(x) < (POS<< 1)) == 1; } in lt_gex()
9 static int lt_gey(int x) { return (sext(x) < (POS<< 3)) == 1; } in lt_gey()
10 static int le_ge0(int x) { return (sext(x) <= (POS + 0)) == 1; } in le_ge0()
11 static int le_ge1(int x) { return (sext(x) <= (POS + 1)) == 1; } in le_ge1()
12 static int le_ge2(int x) { return (sext(x) <= (POS + 2)) == 1; } in le_ge2()
13 static int le_gex(int x) { return (sext(x) <= (POS<< 1)) == 1; } in le_gex()
[all …]
Dcmp-sext-uimm.c1 #define sext(X) ((unsigned long long) (X)) macro
5 int sext_ltu_p2(int x) { return (sext(x) < (POS + 2)) == (x >= 0); } in sext_ltu_p2()
6 int sext_ltu_p1(int x) { return (sext(x) < (POS + 1)) == (x >= 0); } in sext_ltu_p1()
7 int sext_ltu_p0(int x) { return (sext(x) < (POS + 0)) == (x >= 0); } in sext_ltu_p0()
9 int sext_leu_p1(int x) { return (sext(x) <= (POS + 1)) == (x >= 0); } in sext_leu_p1()
10 int sext_leu_p0(int x) { return (sext(x) <= (POS + 0)) == (x >= 0); } in sext_leu_p0()
12 int sext_geu_m1(int x) { return (sext(x) >= (NEG - 1)) == (x < 0); } in sext_geu_m1()
13 int sext_geu_m2(int x) { return (sext(x) >= (NEG - 2)) == (x < 0); } in sext_geu_m2()
15 int sext_gtu_m1(int x) { return (sext(x) > (NEG - 1)) == (x < 0); } in sext_gtu_m1()
16 int sext_gtu_m2(int x) { return (sext(x) > (NEG - 2)) == (x < 0); } in sext_gtu_m2()
[all …]
Dsext.c1 int sext(int x) in sext() function
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_icmp_i1vec.ll6 %cmp.sext = sext <16 x i1> %cmp to <16 x i8>
7 ret <16 x i8> %cmp.sext
15 %cmp.sext = sext <16 x i1> %cmp to <16 x i8>
16 ret <16 x i8> %cmp.sext
24 %cmp.sext = sext <16 x i1> %cmp to <16 x i8>
25 ret <16 x i8> %cmp.sext
33 %cmp.sext = sext <16 x i1> %cmp to <16 x i8>
34 ret <16 x i8> %cmp.sext
42 %cmp.sext = sext <16 x i1> %cmp to <16 x i8>
43 ret <16 x i8> %cmp.sext
[all …]
Dtest_fcmp.pnacl.ll647 %res = sext <4 x i1> %res.trunc to <4 x i32>
656 %res = sext <4 x i1> %res.trunc to <4 x i32>
665 %res = sext <4 x i1> %res.trunc to <4 x i32>
674 %res = sext <4 x i1> %res.trunc to <4 x i32>
683 %res = sext <4 x i1> %res.trunc to <4 x i32>
692 %res = sext <4 x i1> %res.trunc to <4 x i32>
701 %res = sext <4 x i1> %res.trunc to <4 x i32>
712 %res = sext <4 x i1> %res.trunc to <4 x i32>
721 %res = sext <4 x i1> %res.trunc to <4 x i32>
730 %res = sext <4 x i1> %res.trunc to <4 x i32>
[all …]
Dtest_select.ll56 %res = sext <4 x i1> %res.trunc to <4 x i32>
66 %res = sext <8 x i1> %res.trunc to <8 x i16>
76 %res = sext <16 x i1> %res.trunc to <16 x i8>
Dtest_arith_ll.ll206 %result = sext i8 %result.trunc to i32
214 %result = sext i16 %result.trunc to i32
334 %result = sext i8 %result.trunc to i32
342 %result = sext i16 %result.trunc to i32
590 %result = sext i8 %result.trunc to i32
598 %result = sext i16 %result.trunc to i32
/third_party/icu/icu4c/source/data/rbnf/
Dis.txt36 "16: sext\u00E1n;",
44 "60: sext\u00EDu[ og >>];",
72 "60: sext\u00EDu[ og >>];",
100 "60: sext\u00EDu[ og >>];",
/third_party/skia/third_party/externals/icu/source/data/rbnf/
Dis.txt36 "16: sext\u00E1n;",
44 "60: sext\u00EDu[ og >>];",
72 "60: sext\u00EDu[ og >>];",
100 "60: sext\u00EDu[ og >>];",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h145 KnownBits sext(unsigned BitWidth) const { in sext() function
146 return KnownBits(Zero.sext(BitWidth), One.sext(BitWidth)); in sext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp694 return ConstantRange(Lower.sext(DstTySize), Upper.zext(DstTySize)); in signExtend()
701 return ConstantRange(Lower.sext(DstTySize), Upper.sext(DstTySize)); in signExtend()
973 this_min = getSignedMin().sext(getBitWidth() * 2); in multiply()
974 this_max = getSignedMax().sext(getBitWidth() * 2); in multiply()
975 Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in multiply()
976 Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in multiply()
1355 APInt this_min = getSignedMin().sext(getBitWidth() * 2); in smul_sat()
1356 APInt this_max = getSignedMax().sext(getBitWidth() * 2); in smul_sat()
1357 APInt Other_min = Other.getSignedMin().sext(getBitWidth() * 2); in smul_sat()
1358 APInt Other_max = Other.getSignedMax().sext(getBitWidth() * 2); in smul_sat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
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))]>,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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)))),
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 …]
/third_party/libffi/src/xtensa/
Dsysv.S244 sext a2, a2, 7
254 sext a2, a2, 15
/third_party/mesa3d/src/amd/compiler/
Daco_print_ir.cpp624 char sext = sdwa.dst_sel.sign_extend() ? 's' : 'u'; in print_instr_format_specific() local
629 case 1: fprintf(output, " dst_sel:%cbyte%u", sext, offset); break; in print_instr_format_specific()
630 case 2: fprintf(output, " dst_sel:%cword%u", sext, offset >> 1); break; in print_instr_format_specific()
638 char sext = sdwa.sel[i].sign_extend() ? 's' : 'u'; in print_instr_format_specific() local
643 case 1: fprintf(output, " src%d_sel:%cbyte%u", i, sext, offset); break; in print_instr_format_specific()
644 case 2: fprintf(output, " src%d_sel:%cword%u", i, sext, offset >> 1); break; in print_instr_format_specific()
Daco_ir.h707 bool sext = false)
715 if (sext && (upper33 == 0xFFFFFFFF80000000 || upper33 == 0))
1463 sext = 0x20, enumerator
1464 sbyte = ubyte | sext,
1465 sword = uword | sext,
1484 : sel((sdwa_sel)((sign_extend ? sext : 0) | size << 2 | offset)) in SubdwordSel()
1491 constexpr bool sign_extend() const { return sel & sext; } in sign_extend()
/third_party/mesa3d/src/freedreno/rnn/
Dutil.h88 #define sext(a, b) extrs(a, 0, b+1) macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCTargetDesc.cpp126 Target = (SignedOffset.sext(64) + Addr + Size).getZExtValue(); in evaluateBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp281 Val = Val.sext(OpcodeAndSize.second); in getConstantVRegValWithLookThrough()
425 return C1.trunc(Imm).sext(C1.getBitWidth()); in ConstantFoldExtOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonPatterns.td269 def asext: PatFrags<(ops node:$Rs), [(sext node:$Rs), (anyext node:$Rs)]>;
460 def: Pat<(i64 (sext I32:$Rs)), (A2_sxtw I32:$Rs)>;
476 def: Pat<(i32 (sext I1:$Pu)), (C2_muxii I1:$Pu, -1, 0)>;
477 def: Pat<(i64 (sext I1:$Pu)), (Combinew (C2_muxii PredRegs:$Pu, -1, 0),
480 def: Pat<(v2i16 (sext V2I1:$Pu)), (S2_vtrunehb (C2_mask V2I1:$Pu))>;
481 def: Pat<(v2i32 (sext V2I1:$Pu)), (C2_mask V2I1:$Pu)>;
482 def: Pat<(v4i8 (sext V4I1:$Pu)), (S2_vtrunehb (C2_mask V4I1:$Pu))>;
483 def: Pat<(v4i16 (sext V4I1:$Pu)), (C2_mask V4I1:$Pu)>;
484 def: Pat<(v8i8 (sext V8I1:$Pu)), (C2_mask V8I1:$Pu)>;
502 def: Pat<(v4i16 (sext V4I8:$Rs)), (S2_vsxtbh V4I8:$Rs)>;
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dscheck.c90 static BoolectorNode *sext(Btor *btor, struct instruction *insn, BoolectorNode *s) in sext() function
166 case OP_SEXT: t = sext(btor, insn, a); break; in unop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DREADME_P9.txt53 (set v4i32:$vD, (sext v4i8:$vB))
61 (set v4i32:$vD, (sext v4i16:$vB))
69 (set v2i64:$vD, (sext v2i8:$vB))
77 (set v2i64:$vD, (sext v2i16:$vB))
85 (set v2i64:$vD, (sext v2i32:$vB))
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.def60 X(Sext, "sext") \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZPatterns.td12 def : Pat<(operator (sext (i32 GR32:$src))),
23 def : Pat<(operator cls:$src1, (sext GR32:$src2)),

12345