/external/libunwind/src/aarch64/ |
H A D | Gregs.c | 30 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 36 switch (reg) 42 mask = 1 << reg; 45 c->dwarf.eh_args[reg] = *valp; 51 *valp = c->dwarf.eh_args[reg]; 55 loc = c->dwarf.loc[reg]; 87 loc = c->dwarf.loc[reg]; 97 Debug (1, "bad register number %u\n", reg); 108 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 111 Debug (1, "bad register number %u\n", reg); [all...] |
/external/libunwind/src/ppc64/ |
H A D | Gregs.c | 31 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 36 switch (reg) 62 if ((((unsigned) (reg - UNW_PPC64_F0)) <= 31) || 63 (((unsigned) (reg - UNW_PPC64_V0)) <= 31)) 66 loc = c->dwarf.loc[reg]; 75 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 80 if ((unsigned) (reg - UNW_PPC64_F0) < 32) 82 loc = c->dwarf.loc[reg]; 89 if ((unsigned) (reg - UNW_PPC64_V0) < 32) 91 loc = c->dwarf.loc[reg]; [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/include/ |
H A D | basic_asm.h | 8 #define LOAD_REG_IMMEDIATE(reg, expr) \ 9 lis reg, (expr)@highest; \ 10 ori reg, reg, (expr)@higher; \ 11 rldicr reg, reg, 32, 31; \ 12 oris reg, reg, (expr)@high; \ 13 ori reg, reg, (exp [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_emit.c | 48 i915_release_temp(struct i915_fp_compile *p, int reg) argument 50 p->temp_flag &= ~(1 << reg); 82 uint reg = UREG(type, nr); local 86 return reg; 92 return reg; 97 return reg; 100 *(p->decl++) = (D0_DCL | D0_DEST(reg) | d0_flags); 108 return reg; 221 temp = i915_get_temp(p); /* get temp reg index */ 225 tempReg, A0_DEST_CHANNEL_ALL, /* dest reg, writemas 286 unsigned reg, idx; local 316 unsigned reg, idx; local 355 unsigned reg; local [all...] |
H A D | i915_fpc.h | 127 #define GET_CHANNEL_SRC( reg, channel ) ((reg<<(channel*4)) & (0xf<<20)) 130 #define GET_UREG_TYPE(reg) (((reg)>>UREG_TYPE_SHIFT)®_TYPE_MASK) 131 #define GET_UREG_NR(reg) (((reg)>>UREG_NR_SHIFT)®_NR_MASK) 140 swizzle(int reg, uint x, uint y, uint z, uint w) argument 146 return ((reg & ~UREG_XYZW_CHANNEL_MASK) | 147 CHANNEL_SRC(GET_CHANNEL_SRC(reg, x), 0) | 148 CHANNEL_SRC(GET_CHANNEL_SRC(reg, [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_ff_gs_emit.c | 62 c->reg.R0 = retype(brw_vec8_grf(i, 0), BRW_REGISTER_TYPE_UD); i++; 66 c->reg.SVBI = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); 71 c->reg.vertex[j] = brw_vec4_grf(i, 0); 75 c->reg.header = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); 76 c->reg.temp = retype(brw_vec8_grf(i++, 0), BRW_REGISTER_TYPE_UD); 79 c->reg.destination_indices = 89 * Set up the initial value of c->reg.header register based on c->reg.R0. 105 brw_MOV(p, c->reg.header, c->reg [all...] |
H A D | brw_fs_live_variables.h | 69 int var_from_reg(const fs_reg ®) const 71 return var_from_vgrf[reg.nr] + reg.offset / REG_SIZE; 103 const fs_reg ®); 105 const fs_reg ®);
|
/external/libunwind/src/arm/ |
H A D | Gregs.c | 28 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 33 switch (reg) 50 loc = c->dwarf.loc[reg - UNW_ARM_R0]; 63 Debug (1, "bad register number %u\n", reg); 76 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 79 Debug (1, "bad register number %u\n", reg);
|
/external/libunwind/src/sh/ |
H A D | Gregs.c | 29 tdep_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp, argument 34 switch (reg) 53 loc = c->dwarf.loc[reg]; 63 Debug (1, "bad register number %u\n", reg); 74 tdep_access_fpreg (struct cursor *c, unw_regnum_t reg, unw_fpreg_t *valp, argument 77 Debug (1, "bad register number %u\n", reg);
|
/external/libunwind/src/coredump/ |
H A D | _UPT_access_fpreg.c | 28 _UCD_access_fpreg (unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, argument
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tar.h | 33 int validate_tar_registers(unsigned long *reg, unsigned long tar, argument 38 if (reg[0] != tar) 41 if (reg[1] != ppr) 44 if (reg[2] != dscr)
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcTargetStreamer.cpp | 29 void SparcTargetAsmStreamer::emitSparcRegisterIgnore(unsigned reg) { argument 31 << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower() 35 void SparcTargetAsmStreamer::emitSparcRegisterScratch(unsigned reg) { argument 37 << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower()
|
/external/v8/src/interpreter/ |
H A D | bytecode-register-allocator.h | 23 virtual void RegisterAllocateEvent(Register reg) = 0; 36 Register reg(next_register_index_++); 39 observer_->RegisterAllocateEvent(reg); 41 return reg; 67 Register reg(NewRegister()); 72 CHECK_EQ(reg.index(), reg_list->last_register().index()); 73 return reg; 85 // Returns true if the register |reg| is a live register. 86 bool RegisterIsLive(Register reg) const { 87 return reg [all...] |
/external/libunwind/src/ptrace/ |
H A D | _UPT_access_reg.c | 41 _UPT_access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, argument 48 Debug(16, "using pokeuser: reg: %s [%u], val: %lx, write: %d\n", unw_regname(reg), (unsigned) reg, (long) val, write); 51 Debug (16, "%s <- %lx\n", unw_regname (reg), (long) *val); 55 if ((unsigned) reg - UNW_IA64_NAT < 32) 60 mask = ((unw_word_t) 1) << (reg - UNW_IA64_NAT); 88 switch (reg) 139 reg = UNW_IA64_AR_BSP; 230 if ((unsigned) reg > 279 _UPT_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) argument 357 _UPT_access_reg(unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, void *arg) argument [all...] |
H A D | _UPT_access_fpreg.c | 31 _UPT_access_fpreg (unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, argument 39 if ((unsigned) reg >= ARRAY_SIZE (_UPT_reg_offset)) 50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 65 (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 0); 75 _UPT_access_fpreg (unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, argument 82 if ((unsigned) reg >= ARRAY_SIZE (_UPT_reg_offset)) 89 memcpy(&fpreg.fpr_xacc[reg], val, sizeof(unw_fpreg_t)); 91 memcpy(&fpreg.fpr_acc[reg], val, sizeof(unw_fpreg_t)); 99 memcpy(val, &fpreg.fpr_xacc[reg], sizeof(unw_fpreg_t)); 101 memcpy(val, &fpreg.fpr_acc[reg], sizeo 110 _UPT_access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument [all...] |
/external/libunwind/src/mips/ |
H A D | Ginit.c | 45 uc_addr (ucontext_t *uc, int reg) argument 47 if (reg >= UNW_MIPS_R0 && reg < UNW_MIPS_R0 + 32) 48 return &uc->uc_mcontext.gregs[reg - UNW_MIPS_R0]; 49 else if (reg == UNW_MIPS_PC) 58 tdep_uc_addr (ucontext_t *uc, int reg) argument 60 char *addr = uc_addr (uc, reg); 62 if (reg >= UNW_MIPS_R0 && reg <= UNW_MIPS_R31 140 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_ argument 171 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument [all...] |
/external/libunwind/src/ppc32/ |
H A D | Ginit.c | 46 uc_addr (ucontext_t *uc, int reg) argument 50 if ((unsigned) (reg - UNW_PPC32_R0) < 32) 51 addr = &uc->uc_mcontext.uc_regs->gregs[reg - UNW_PPC32_R0]; 54 if ( ((unsigned) (reg - UNW_PPC32_F0) < 32) && 55 ((unsigned) (reg - UNW_PPC32_F0) >= 0) ) 56 addr = &uc->uc_mcontext.uc_regs->fpregs.fpregs[reg - UNW_PPC32_F0]; 62 switch (reg) 87 tdep_uc_addr (ucontext_t *uc, int reg) argument 89 return uc_addr (uc, reg); 157 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_ argument 189 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | i915_program.c | 42 #define A0_DEST( reg ) (((reg)&UREG_TYPE_NR_MASK)>>UREG_A0_DEST_SHIFT_LEFT) 43 #define D0_DEST( reg ) (((reg)&UREG_TYPE_NR_MASK)>>UREG_A0_DEST_SHIFT_LEFT) 44 #define T0_DEST( reg ) (((reg)&UREG_TYPE_NR_MASK)>>UREG_A0_DEST_SHIFT_LEFT) 45 #define A0_SRC0( reg ) (((reg)&UREG_MASK)>>UREG_A0_SRC0_SHIFT_LEFT) 46 #define A1_SRC0( reg ) (((reg) 113 GLuint reg = UREG(type, nr); local 303 GLint reg, idx; local 333 GLint reg, idx; local 373 GLint reg; local 410 GLint reg, i; local [all...] |
H A D | i915_program.h | 75 #define GET_CHANNEL_SRC( reg, channel ) ((reg<<(channel*4)) & (0xf<<20)) 78 #define GET_UREG_TYPE(reg) (((reg)>>UREG_TYPE_SHIFT)®_TYPE_MASK) 79 #define GET_UREG_NR(reg) (((reg)>>UREG_NR_SHIFT)®_NR_MASK) 88 swizzle(int reg, int x, int y, int z, int w) argument 90 return ((reg & ~UREG_XYZW_CHANNEL_MASK) | 91 CHANNEL_SRC(GET_CHANNEL_SRC(reg, x), 0) | 92 CHANNEL_SRC(GET_CHANNEL_SRC(reg, 100 negate(int reg, int x, int y, int z, int w) argument [all...] |
/external/capstone/arch/ARM/ |
H A D | ARMMapping.h | 11 const char *ARM_reg_name(csh handle, unsigned int reg); 12 const char *ARM_reg_name2(csh handle, unsigned int reg);
|
/external/clang/test/CodeGen/ |
H A D | pr4349.c | 4 union reg union 12 union reg pc;
|
/external/mesa3d/src/amd/common/ |
H A D | sid_tables.py | 131 def __init__(self, reg, s_name): 135 self.varname_values = '%s__%s__values' % (reg.r_name.lower(), self.name.lower()) 162 reg = Reg(line.split()[0]) 163 regs.append(reg) 166 field = Field(reg, line[:line.find('(')]) 167 reg.fields.append(field) 183 for reg in regs: 184 if len(reg.fields) and reg.name.find('0') != -1: 185 reg_dict[reg [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_util.c | 54 const struct tgsi_src_register *reg, 59 return reg->SwizzleX; 61 return reg->SwizzleY; 63 return reg->SwizzleZ; 65 return reg->SwizzleW; 75 const struct tgsi_full_src_register *reg, 79 ®->Register, 85 struct tgsi_src_register *reg, 91 reg->SwizzleX = swizzle; 94 reg 53 tgsi_util_get_src_register_swizzle( const struct tgsi_src_register *reg, unsigned component ) argument 74 tgsi_util_get_full_src_register_swizzle( const struct tgsi_full_src_register *reg, unsigned component ) argument 84 tgsi_util_set_src_register_swizzle( struct tgsi_src_register *reg, unsigned swizzle, unsigned component ) argument 108 tgsi_util_get_full_src_register_sign_mode( const struct tgsi_full_src_register *reg, unsigned component ) argument 137 tgsi_util_set_full_src_register_sign_mode( struct tgsi_full_src_register *reg, unsigned sign_mode ) argument 356 tgsi_util_get_src_from_ind(const struct tgsi_ind_register *reg) argument [all...] |
/external/skia/tools/ |
H A D | Registry.h | 27 Registry* reg = gHead; local 28 while (reg) { 29 if (reg == this) { 32 reg = reg->fChain;
|
/external/skqp/tools/ |
H A D | Registry.h | 27 Registry* reg = gHead; local 28 while (reg) { 29 if (reg == this) { 32 reg = reg->fChain;
|