/external/pcre/dist/sljit/ |
D | sljitNativeARM_64.c | 828 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 835 if ((arg & REG_MASK) && !(arg & OFFS_REG_MASK) && argw <= 255 && argw >= -256) { in getput_arg_fast() 840 argw &= 0x1ff; in getput_arg_fast() 842 | (shift << 30) | RT(reg) | RN(arg) | (argw << 12))); in getput_arg_fast() 849 argw &= 0x3; in getput_arg_fast() 850 if (argw && argw != shift) in getput_arg_fast() 857 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0))); in getput_arg_fast() 862 if (argw >= 0 && (argw >> shift) <= 0xfff && (argw & ((1 << shift) - 1)) == 0) { in getput_arg_fast() 867 | RT(reg) | RN(arg) | (argw << (10 - shift)))); in getput_arg_fast() 871 if (argw > 255 || argw < -256) in getput_arg_fast() [all …]
|
D | sljitNativeARM_T2_32.c | 799 #define OFFSET_CHECK(imm, shift) (!(argw & ~(imm << shift))) 891 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 898 if ((arg & REG_MASK) && !(arg & OFFS_REG_MASK) && argw <= 0xff && argw >= -0xff) { in getput_arg_fast() 904 if (argw >= 0) in getput_arg_fast() 905 argw |= 0x200; in getput_arg_fast() 907 argw = -argw; in getput_arg_fast() 910 SLJIT_ASSERT(argw >= 0 && (argw & 0xff) <= 0xff); in getput_arg_fast() 911 …FAIL_IF(push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | 0x100 | argw)); in getput_arg_fast() 921 argw &= 0x3; in getput_arg_fast() 925 if (!argw && IS_3_LO_REGS(reg, arg, other_r)) in getput_arg_fast() [all …]
|
D | sljitNativeARM_32.c | 1336 …ast(struct sljit_compiler *compiler, sljit_si inp_flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 1341 imm = get_imm(argw); in getput_arg_fast() 1348 imm = get_imm(~argw); in getput_arg_fast() 1365 if ((argw & 0x3) != 0 && !IS_TYPE1_TRANSFER(inp_flags)) in getput_arg_fast() 1371 RM(OFFS_REG(arg)) | (IS_TYPE1_TRANSFER(inp_flags) ? SRC2_IMM : 0) | ((argw & 0x3) << 7)))); in getput_arg_fast() 1376 if (argw >= 0 && argw <= 0xfff) { in getput_arg_fast() 1379 …st(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & REG_MASK, argw))); in getput_arg_fast() 1382 if (argw < 0 && argw >= -0xfff) { in getput_arg_fast() 1385 …t(compiler, EMIT_DATA_TRANSFER(inp_flags, 0, inp_flags & WRITE_BACK, reg, arg & REG_MASK, -argw))); in getput_arg_fast() 1390 if (argw >= 0 && argw <= 0xff) { in getput_arg_fast() [all …]
|
D | sljitNativeMIPS_common.c | 701 …fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 705 … WRITE_BACK) || !(arg & REG_MASK)) && !(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_M… in getput_arg_fast() 710 …| TA(reg_ar) | IMM(argw), ((flags & MEM_MASK) <= GPR_REG && (flags & LOAD_DATA)) ? reg_ar : MOVABL… in getput_arg_fast() 719 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() argument 725 argw &= 0x3; in can_cache() 727 …if (argw && argw == next_argw && (arg == next_arg || (arg & OFFS_REG_MASK) == (next_arg & OFFS_REG… in can_cache() 733 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache() 742 …mpiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw, sljit_si next_arg,… in getput_arg() argument 762 argw &= 0x3; in getput_arg() 770 if (argw == compiler->cache_argw) { in getput_arg() [all …]
|
D | sljitNativeTILEGX_64.c | 1288 …fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 1293 && !(arg & OFFS_REG_MASK) && argw <= SIMM_16BIT_MAX && argw >= SIMM_16BIT_MIN) { in getput_arg_fast() 1298 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[arg & REG_MASK], argw)); in getput_arg_fast() 1314 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() argument 1320 argw &= 0x3; in can_cache() 1322 if (argw && argw == next_argw in can_cache() 1329 if (((next_argw - argw) <= SIMM_16BIT_MAX in can_cache() 1330 && (next_argw - argw) >= SIMM_16BIT_MIN)) in can_cache() 1340 …mpiler *compiler, sljit_si flags, sljit_si reg_ar, sljit_si arg, sljit_sw argw, sljit_si next_arg,… in getput_arg() argument 1358 argw &= 0x3; in getput_arg() [all …]
|
D | sljitNativePPC_common.c | 844 …ast(struct sljit_compiler *compiler, sljit_si inp_flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 853 if (argw & 0x3) in getput_arg_fast() 871 …if (argw > SIMM_MAX || argw < SIMM_MIN || ((inst & INT_ALIGNED) && (argw & 0x3)) || (inst & UPDATE… in getput_arg_fast() 878 if (argw > SIMM_MAX || argw < SIMM_MIN) in getput_arg_fast() 887 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw… in getput_arg_fast() 894 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() argument 904 return ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && (argw & 0x3) == (next_argw & 0x3)); in can_cache() 910 high_short = (argw + ((argw & 0x8000) << 1)) & ~0xffff; in can_cache() 914 if (argw <= 0x7fffffffl && argw >= -0x80000000l) { in can_cache() 915 high_short = (argw + ((argw & 0x8000) << 1)) & ~0xffff; in can_cache() [all …]
|
D | sljitNativeSPARC_common.c | 509 …rg_fast(struct sljit_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw) in getput_arg_fast() argument 514 if ((!(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_MIN) in getput_arg_fast() 515 || ((arg & OFFS_REG_MASK) && (argw & 0x3) == 0)) { in getput_arg_fast() 521 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast() 532 static sljit_si can_cache(sljit_si arg, sljit_sw argw, sljit_si next_arg, sljit_sw next_argw) in can_cache() argument 538 argw &= 0x3; in can_cache() 539 SLJIT_ASSERT(argw); in can_cache() 541 if ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && argw == next_argw) in can_cache() 546 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache() 552 …_compiler *compiler, sljit_si flags, sljit_si reg, sljit_si arg, sljit_sw argw, sljit_si next_arg,… in getput_arg() argument [all …]
|
D | sljitNativeX86_common.c | 1429 #define BINARY_IMM(op_imm, op_mr, immw, arg, argw) \ argument 1431 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \ 1437 inst = emit_x86_instruction(compiler, 1, TMP_REG2, 0, arg, argw); \ 1447 #define BINARY_IMM(op_imm, op_mr, immw, arg, argw) \ argument 1448 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \
|
/external/llvm/test/Transforms/InstCombine/ |
D | icmp-range.ll | 49 define i1 @test_nonzero6(i8* %argw) { 52 %val = load i8, i8* %argw, !range !3
|