/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeX86_64.c | 40 *inst++ = REX_W | ((reg_map[reg] <= 7) ? 0 : REX_B); in emit_load_imm64() 41 *inst++ = U8(MOV_r_i32 | (reg_map[reg] & 0x7)); in emit_load_imm64() 131 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction() 139 if (reg_map[OFFS_REG(b)] >= 8) in emit_x86_instruction() 145 if (reg_map[b] >= 8) in emit_x86_instruction() 176 if (reg_map[a] >= 8) in emit_x86_instruction() 295 SLJIT_ASSERT(reg_map[TMP_REG2] >= 8); in generate_far_jump_code() 405 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter() 409 if (reg_map[i] >= 8) in sljit_emit_enter() 415 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter() [all …]
|
D | sljitNativeX86_32.c | 91 else if (reg_map[b & REG_MASK] == 5) { in emit_x86_instruction() 93 if ((b & OFFS_REG_MASK) && (immb & 0x3) == 0 && reg_map[OFFS_REG(b)] != 5) in emit_x86_instruction() 99 if (reg_map[b & REG_MASK] == 4 && !(b & OFFS_REG_MASK)) in emit_x86_instruction() 154 *buf_ptr = U8(reg_map[a] << 3); in emit_x86_instruction() 170 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_map[b] : b)); in emit_x86_instruction() 173 reg_map_b = reg_map[b & REG_MASK]; in emit_x86_instruction() 187 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3)); in emit_x86_instruction() 204 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction() 355 PUSH_REG(reg_map[TMP_REG1]); in sljit_emit_enter() 358 PUSH_REG(reg_map[SLJIT_S2]); in sljit_emit_enter() [all …]
|
D | sljitNativeX86_common.c | 71 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 3] = { variable 93 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 4] = { variable 102 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 4] = { variable 901 *inst++ = REX_W | (reg_map[reg] <= 7 ? 0 : REX_B); in emit_rdssp() 905 *inst = (0x3 << 6) | (0x1 << 3) | (reg_map[reg] & 0x7); in emit_rdssp() 925 *inst++ = REX_W | (reg_map[reg] <= 7 ? 0 : REX_B); in emit_incssp() 929 *inst = (0x3 << 6) | (0x5 << 3) | (reg_map[reg] & 0x7); in emit_incssp() 958 SLJIT_ASSERT(reg_map[TMP_REG1] == 5); in adjust_shadow_stack() 1030 return emit_do_imm(compiler, MOV_r_i32 | reg_map[dst], srcw); in emit_mov() 1037 …return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, U8(MOV_r_i32 | reg_lmap[dst]), src… in emit_mov() [all …]
|
D | sljitNativeARM_T2_32.c | 48 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable 62 #define RD3(rd) ((sljit_ins)reg_map[rd]) 63 #define RN3(rn) ((sljit_ins)reg_map[rn] << 3) 64 #define RM3(rm) ((sljit_ins)reg_map[rm] << 6) 65 #define RDN3(rdn) ((sljit_ins)reg_map[rdn] << 8) 71 …(((sljit_ins)reg_map[rn] << 3) | ((sljit_ins)reg_map[rd] & 0x7) | (((sljit_ins)reg_map[rd] & 0x8) … 73 (reg_map[reg1] <= 7 && reg_map[reg2] <= 7) 75 (reg_map[reg1] <= 7 && reg_map[reg2] <= 7 && reg_map[reg3] <= 7) 78 #define RD4(rd) ((sljit_ins)reg_map[rd] << 8) 79 #define RN4(rn) ((sljit_ins)reg_map[rn] << 16) [all …]
|
D | sljitNativeARM_32.c | 63 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable 71 #define RM(rm) ((sljit_uw)reg_map[rm]) 72 #define RM8(rm) ((sljit_uw)reg_map[rm] << 8) 73 #define RD(rd) ((sljit_uw)reg_map[rd] << 12) 74 #define RN(rn) ((sljit_uw)reg_map[rn] << 16) 286 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx() 1082 imm |= (sljit_uw)1 << reg_map[i]; in sljit_emit_enter() 1085 imm |= (sljit_uw)1 << reg_map[i]; in sljit_emit_enter() 1087 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_enter() 1266 SLJIT_ASSERT(reg_map[TMP_REG2] == 14 && frame_size <= 128); in emit_stack_frame_release() [all …]
|
D | sljitNativeARM_64.c | 46 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 8] = { variable 55 #define RD(rd) ((sljit_ins)reg_map[rd]) 56 #define RT(rt) ((sljit_ins)reg_map[rt]) 57 #define RN(rn) ((sljit_ins)reg_map[rn] << 5) 58 #define RT2(rt2) ((sljit_ins)reg_map[rt2] << 10) 59 #define RM(rm) ((sljit_ins)reg_map[rm] << 16) 1577 SLJIT_ASSERT(reg_map[1] == 0 && reg_map[3] == 2 && reg_map[5] == 4); in sljit_emit_op_src() 1599 return reg_map[reg]; in sljit_get_register_index()
|
D | sljitNativePPC_common.c | 107 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 7] = { variable 118 #define D(d) ((sljit_ins)reg_map[d] << 21) 119 #define S(s) ((sljit_ins)reg_map[s] << 21) 120 #define A(a) ((sljit_ins)reg_map[a] << 16) 121 #define B(b) ((sljit_ins)reg_map[b] << 11) 122 #define C(c) ((sljit_ins)reg_map[c] << 6) 1860 return reg_map[reg]; in sljit_get_register_index()
|
D | sljitNativeMIPS_64.c | 160 SLJIT_ASSERT(reg_map[TMP_REG1] == 4 && freg_map[TMP_FREG1] == 12); in call_with_args()
|
D | sljitNativeMIPS_32.c | 78 SLJIT_ASSERT(reg_map[TMP_REG1] == 4 && freg_map[TMP_FREG1] == 12); in call_with_args()
|
D | sljitNativeRISCV_common.c | 53 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 7] = { variable 65 #define RD(rd) ((sljit_ins)reg_map[rd] << 7) 66 #define RS1(rs1) ((sljit_ins)reg_map[rs1] << 15) 67 #define RS2(rs2) ((sljit_ins)reg_map[rs2] << 20) 1953 return reg_map[reg]; in sljit_get_register_index()
|
D | sljitNativeS390X.c | 50 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 4] = { variable 125 #define R0(r) ((sljit_ins)reg_map[r]) 140 SLJIT_ASSERT(r >= 0 && r < (sljit_s32)(sizeof(reg_map) / sizeof(reg_map[0]))); in gpr() 141 return reg_map[r]; in gpr()
|
D | sljitNativeMIPS_common.c | 90 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable 112 #define S(s) ((sljit_ins)reg_map[s] << 21) 113 #define T(t) ((sljit_ins)reg_map[t] << 16) 114 #define D(d) ((sljit_ins)reg_map[d] << 11) 125 #define DR(dr) (reg_map[dr]) 2524 return reg_map[reg]; in sljit_get_register_index()
|
/third_party/mesa3d/src/etnaviv/drm-shim/ |
D | etnaviv_noop.c | 39 const uint64_t *reg_map; member 45 .reg_map = (const uint64_t[]){ 72 .reg_map = (const uint64_t[]){ 99 .reg_map = (const uint64_t[]){ 126 .reg_map = (const uint64_t[]){ 198 gp->value = shim_gpu->reg_map[gp->param]; in etnaviv_ioctl_get_param()
|
/third_party/libbpf/src/ |
D | usdt.c | 1242 } reg_map[] = { in calc_pt_regs_off() local 1271 for (i = 0; i < ARRAY_SIZE(reg_map); i++) { in calc_pt_regs_off() 1272 for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { in calc_pt_regs_off() 1273 if (strcmp(reg_name, reg_map[i].names[j]) == 0) in calc_pt_regs_off() 1274 return reg_map[i].pt_regs_off; in calc_pt_regs_off() 1433 } reg_map[] = { in calc_pt_regs_off() local 1468 for (i = 0; i < ARRAY_SIZE(reg_map); i++) { in calc_pt_regs_off() 1469 if (strcmp(reg_name, reg_map[i].name) == 0) in calc_pt_regs_off() 1470 return reg_map[i].pt_regs_off; in calc_pt_regs_off() 1519 } reg_map[] = { in calc_pt_regs_off() local [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_schedule.c | 132 struct hash_table *reg_map; member 246 struct hash_entry *entry = _mesa_hash_table_search(state->reg_map, in nir_schedule_reg_src_deps() 273 struct hash_entry *entry = _mesa_hash_table_search(state->reg_map, in nir_schedule_reg_dest_deps() 276 _mesa_hash_table_insert(state->reg_map, dest->reg.reg, dest_n); in nir_schedule_reg_dest_deps() 315 ralloc(state->reg_map, struct nir_schedule_class_dep); in nir_schedule_get_class_dep() 515 .reg_map = _mesa_pointer_hash_table_create(NULL), in calculate_forward_deps() 524 ralloc_free(state.reg_map); in calculate_forward_deps() 533 .reg_map = _mesa_pointer_hash_table_create(NULL), in calculate_reverse_deps() 542 ralloc_free(state.reg_map); in calculate_reverse_deps()
|
/third_party/mesa3d/src/broadcom/simulator/ |
D | v3dx_simulator.c | 249 static const uint32_t reg_map[] = { in v3dX() local 277 if (args->param < ARRAY_SIZE(reg_map) && reg_map[args->param]) { in v3dX() 278 args->value = V3D_READ(reg_map[args->param]); in v3dX()
|