/external/valgrind/main/VEX/priv/ |
host_ppc_defs.h | 41 #include "host_generic_regs.h" // HReg 49 /* The usual HReg abstraction. There are 32 real int regs, 53 extern void ppHRegPPC ( HReg ); 55 extern HReg hregPPC_GPR0 ( Bool mode64 ); // scratch reg / zero reg 56 extern HReg hregPPC_GPR1 ( Bool mode64 ); // Stack Frame Pointer 57 extern HReg hregPPC_GPR2 ( Bool mode64 ); // not used: TOC pointer 58 extern HReg hregPPC_GPR3 ( Bool mode64 ); 59 extern HReg hregPPC_GPR4 ( Bool mode64 ); 60 extern HReg hregPPC_GPR5 ( Bool mode64 ); 61 extern HReg hregPPC_GPR6 ( Bool mode64 ) [all...] |
host_mips_defs.h | 36 #include "host_generic_regs.h" /* HReg */ 48 /* The usual HReg abstraction. 52 extern void ppHRegMIPS(HReg, Bool); 54 extern HReg hregMIPS_GPR0(Bool mode64); /* scratch reg / zero reg */ 55 extern HReg hregMIPS_GPR1(Bool mode64); 56 extern HReg hregMIPS_GPR2(Bool mode64); 57 extern HReg hregMIPS_GPR3(Bool mode64); 58 extern HReg hregMIPS_GPR4(Bool mode64); 59 extern HReg hregMIPS_GPR5(Bool mode64); 60 extern HReg hregMIPS_GPR6(Bool mode64) [all...] |
host_s390_defs.h | 38 #include "host_generic_regs.h" /* HReg */ 42 const HChar *s390_hreg_as_string(HReg); 45 HReg s390_hreg_guest_state_pointer(void); 76 HReg b; 77 HReg x; /* hregNumber(x) == 0 for S390_AMODE_B12/B20 kinds */ 82 s390_amode *s390_amode_b12(Int d, HReg b); 83 s390_amode *s390_amode_b20(Int d, HReg b); 84 s390_amode *s390_amode_bx12(Int d, HReg b, HReg x); 85 s390_amode *s390_amode_bx20(Int d, HReg b, HReg x) [all...] |
host_arm64_defs.h | 36 #include "host_generic_regs.h" // HReg 43 //ZZ /* The usual HReg abstraction. 47 extern void ppHRegARM64 ( HReg ); 49 extern HReg hregARM64_X0 ( void ); 50 extern HReg hregARM64_X1 ( void ); 51 extern HReg hregARM64_X2 ( void ); 52 extern HReg hregARM64_X3 ( void ); 53 extern HReg hregARM64_X4 ( void ); 54 extern HReg hregARM64_X5 ( void ); 55 extern HReg hregARM64_X6 ( void ) [all...] |
host_arm_defs.h | 35 #include "host_generic_regs.h" // HReg 42 /* The usual HReg abstraction. 46 extern void ppHRegARM ( HReg ); 48 extern HReg hregARM_R0 ( void ); 49 extern HReg hregARM_R1 ( void ); 50 extern HReg hregARM_R2 ( void ); 51 extern HReg hregARM_R3 ( void ); 52 extern HReg hregARM_R4 ( void ); 53 extern HReg hregARM_R5 ( void ); 54 extern HReg hregARM_R6 ( void ) [all...] |
host_amd64_defs.h | 41 #include "host_generic_regs.h" // HReg 45 /* The usual HReg abstraction. There are 16 real int regs, 6 real 49 extern void ppHRegAMD64 ( HReg ); 51 extern HReg hregAMD64_RAX ( void ); 52 extern HReg hregAMD64_RBX ( void ); 53 extern HReg hregAMD64_RCX ( void ); 54 extern HReg hregAMD64_RDX ( void ); 55 extern HReg hregAMD64_RSP ( void ); 56 extern HReg hregAMD64_RBP ( void ); 57 extern HReg hregAMD64_RSI ( void ) [all...] |
host_x86_defs.h | 41 #include "host_generic_regs.h" // HReg 45 /* The usual HReg abstraction. There are 8 real int regs, 49 extern void ppHRegX86 ( HReg ); 51 extern HReg hregX86_EAX ( void ); 52 extern HReg hregX86_EBX ( void ); 53 extern HReg hregX86_ECX ( void ); 54 extern HReg hregX86_EDX ( void ); 55 extern HReg hregX86_ESP ( void ); 56 extern HReg hregX86_EBP ( void ); 57 extern HReg hregX86_ESI ( void ) [all...] |
host_generic_regs.h | 75 HReg; 113 /* Print an HReg in a generic (non-target-specific) way. */ 114 extern void ppHReg ( HReg ); 117 static inline HReg mkHReg ( UInt regno, HRegClass rc, Bool virtual ) { 123 HReg r; 128 static inline HRegClass hregClass ( HReg r ) { 135 static inline UInt hregNumber ( HReg r ) { 139 static inline Bool hregIsVirtual ( HReg r ) { 143 static inline Bool sameHReg ( HReg r1, HReg r2 172 HReg hreg[N_HREG_USAGE]; member in struct:__anon36517 [all...] |
host_ppc_isel.c | 227 - A mapping from IRTemp to HReg. This tells the insn selector 277 HReg* vregmapLo; // Low 64-bits [63:0] Low 32-bits [31:0] 278 HReg* vregmapMedLo; // high 64-bits[127:64] Next 32-bits [63:32] 279 HReg* vregmapMedHi; // unused Next 32-bits [95:64] 280 HReg* vregmapHi; // unused highest 32-bits [127:96] 302 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) 309 static void lookupIRTempPair ( HReg* vrHI, HReg* vrLO, 320 static void lookupIRTempQuad ( HReg* vrHi, HReg* vrMedHi, HReg* vrMedLo [all...] |
host_arm_isel.c | 75 - A mapping from IRTemp to HReg. This tells the insn selector 84 32-bit virtual HReg, which holds the high half 114 HReg* vregmap; 115 HReg* vregmapHI; 129 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) 136 static void lookupIRTemp64 ( HReg* vrHI, HReg* vrLO, ISelEnv* env, IRTemp tmp ) 162 static HReg newVRegI ( ISelEnv* env ) 164 HReg reg = mkHReg(env->vreg_ctr, HRcInt32, True/*virtual reg*/); 169 static HReg newVRegD ( ISelEnv* env 6326 HReg hreg, hregHI; local [all...] |
host_mips_isel.c | 77 - A mapping from IRTemp to HReg. This tells the insn selector 86 32-bit virtual HReg, which holds the high half 116 HReg* vregmap; 117 HReg* vregmapHI; 133 static HReg lookupIRTemp(ISelEnv * env, IRTemp tmp) 140 static void lookupIRTemp64(HReg * vrHI, HReg * vrLO, ISelEnv * env, IRTemp tmp) 150 lookupIRTempPair(HReg * vrHI, HReg * vrLO, ISelEnv * env, IRTemp tmp) 169 static HReg newVRegI(ISelEnv * env 4142 HReg hreg, hregHI; local [all...] |
host_arm64_isel.c | 70 - A mapping from IRTemp to HReg. This tells the insn selector 79 64-bit virtual HReg, which holds the high half 115 HReg* vregmap; 116 HReg* vregmapHI; 132 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) 148 static HReg newVRegI ( ISelEnv* env ) 150 HReg reg = mkHReg(env->vreg_ctr, HRcInt64, True/*virtual reg*/); 155 static HReg newVRegD ( ISelEnv* env ) 157 HReg reg = mkHReg(env->vreg_ctr, HRcFlt64, True/*virtual reg*/); 162 //ZZ static HReg newVRegF ( ISelEnv* env 6987 HReg hreg, hregHI; local [all...] |
host_x86_isel.c | 138 - A mapping from IRTemp to HReg. This tells the insn selector 147 32-bit virtual HReg, which holds the high half 177 HReg* vregmap; 178 HReg* vregmapHI; 193 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) 200 static void lookupIRTemp64 ( HReg* vrHI, HReg* vrLO, ISelEnv* env, IRTemp tmp ) 218 static HReg newVRegI ( ISelEnv* env ) 220 HReg reg = mkHReg(env->vreg_ctr, HRcInt32, True/*virtual reg*/); 225 static HReg newVRegF ( ISelEnv* env 4427 HReg hreg, hregHI; local [all...] |
host_amd64_isel.c | 112 - A mapping from IRTemp to HReg. This tells the insn selector 121 64-bit virtual HReg, which holds the high half 152 HReg* vregmap; 153 HReg* vregmapHI; 168 static HReg lookupIRTemp ( ISelEnv* env, IRTemp tmp ) 175 static void lookupIRTempPair ( HReg* vrHI, HReg* vrLO, 194 static HReg newVRegI ( ISelEnv* env ) 196 HReg reg = mkHReg(env->vreg_ctr, HRcInt64, True/*virtual reg*/); 201 static HReg newVRegV ( ISelEnv* env 4864 HReg hreg, hregHI; local [all...] |
main_main.c | 214 HReg* available_real_regs; 216 Bool (*isMove) ( HInstr*, HReg*, HReg* ); 219 void (*genSpill) ( HInstr**, HInstr**, HReg, Int, Bool ); 220 void (*genReload) ( HInstr**, HInstr**, HReg, Int, Bool ); 221 HInstr* (*directReload) ( HInstr*, HReg, Short ); 223 void (*ppReg) ( HReg ); 302 isMove = (Bool(*)(HInstr*,HReg*,HReg*)) isMove_X86Instr; 306 genSpill = (void(*)(HInstr**,HInstr**,HReg,Int,Bool) [all...] |
host_s390_isel.c | 55 - A mapping from IRTemp to HReg. This tells the insn selector 108 HReg *vregmap; 109 HReg *vregmapHI; 128 static HReg s390_isel_int_expr(ISelEnv *, IRExpr *); 132 static void s390_isel_int128_expr(HReg *, HReg *, ISelEnv *, IRExpr *); 133 static HReg s390_isel_float_expr(ISelEnv *, IRExpr *); 134 static void s390_isel_float128_expr(HReg *, HReg *, ISelEnv *, IRExpr *); 135 static HReg s390_isel_dfp_expr(ISelEnv *, IRExpr *) 4087 HReg hreg, hregHI; local [all...] |
host_generic_regs.c | 57 void ppHReg ( HReg r ) 90 ppHReg(tab->hreg[i]); 101 void addHRegUse ( HRegUsage* tab, HRegMode mode, HReg reg ) 106 if (sameHReg(tab->hreg[i], reg)) 111 tab->hreg[tab->n_used] = reg; 160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement ) 178 HReg lookupHRegRemap ( HRegRemap* map, HReg orig )
|
host_mips_defs.c | 53 void ppHRegMIPS(HReg reg, Bool mode64) 116 HReg hregMIPS_GPR0(Bool mode64) 121 HReg hregMIPS_GPR1(Bool mode64) 126 HReg hregMIPS_GPR2(Bool mode64) 131 HReg hregMIPS_GPR3(Bool mode64) 136 HReg hregMIPS_GPR4(Bool mode64) 141 HReg hregMIPS_GPR5(Bool mode64) 146 HReg hregMIPS_GPR6(Bool mode64) 151 HReg hregMIPS_GPR7(Bool mode64) 156 HReg hregMIPS_GPR8(Bool mode64 [all...] |
host_ppc_defs.c | 47 void ppHRegPPC ( HReg reg ) 95 HReg hregPPC_GPR0 ( Bool mode64 ) { return MkHRegGPR( 0, mode64); } 96 HReg hregPPC_GPR1 ( Bool mode64 ) { return MkHRegGPR( 1, mode64); } 97 HReg hregPPC_GPR2 ( Bool mode64 ) { return MkHRegGPR( 2, mode64); } 98 HReg hregPPC_GPR3 ( Bool mode64 ) { return MkHRegGPR( 3, mode64); } 99 HReg hregPPC_GPR4 ( Bool mode64 ) { return MkHRegGPR( 4, mode64); } 100 HReg hregPPC_GPR5 ( Bool mode64 ) { return MkHRegGPR( 5, mode64); } 101 HReg hregPPC_GPR6 ( Bool mode64 ) { return MkHRegGPR( 6, mode64); } 102 HReg hregPPC_GPR7 ( Bool mode64 ) { return MkHRegGPR( 7, mode64); } 103 HReg hregPPC_GPR8 ( Bool mode64 ) { return MkHRegGPR( 8, mode64); [all...] |
host_arm64_defs.c | 44 /* The usual HReg abstraction. We use the following classes only: 50 void ppHRegARM64 ( HReg reg ) { 79 static void ppHRegARM64asSreg ( HReg reg ) { 84 HReg hregARM64_X0 ( void ) { return mkHReg(0, HRcInt64, False); } 85 HReg hregARM64_X1 ( void ) { return mkHReg(1, HRcInt64, False); } 86 HReg hregARM64_X2 ( void ) { return mkHReg(2, HRcInt64, False); } 87 HReg hregARM64_X3 ( void ) { return mkHReg(3, HRcInt64, False); } 88 HReg hregARM64_X4 ( void ) { return mkHReg(4, HRcInt64, False); } 89 HReg hregARM64_X5 ( void ) { return mkHReg(5, HRcInt64, False); } 90 HReg hregARM64_X6 ( void ) { return mkHReg(6, HRcInt64, False); [all...] |
host_arm_defs.c | 49 /* The usual HReg abstraction. 53 void ppHRegARM ( HReg reg ) { 87 HReg hregARM_R0 ( void ) { return mkHReg(0, HRcInt32, False); } 88 HReg hregARM_R1 ( void ) { return mkHReg(1, HRcInt32, False); } 89 HReg hregARM_R2 ( void ) { return mkHReg(2, HRcInt32, False); } 90 HReg hregARM_R3 ( void ) { return mkHReg(3, HRcInt32, False); } 91 HReg hregARM_R4 ( void ) { return mkHReg(4, HRcInt32, False); } 92 HReg hregARM_R5 ( void ) { return mkHReg(5, HRcInt32, False); } 93 HReg hregARM_R6 ( void ) { return mkHReg(6, HRcInt32, False); } 94 HReg hregARM_R7 ( void ) { return mkHReg(7, HRcInt32, False); [all...] |
host_amd64_defs.c | 47 void ppHRegAMD64 ( HReg reg ) 80 static void ppHRegAMD64_lo32 ( HReg reg ) 104 HReg hregAMD64_RAX ( void ) { return mkHReg( 0, HRcInt64, False); } 105 HReg hregAMD64_RCX ( void ) { return mkHReg( 1, HRcInt64, False); } 106 HReg hregAMD64_RDX ( void ) { return mkHReg( 2, HRcInt64, False); } 107 HReg hregAMD64_RBX ( void ) { return mkHReg( 3, HRcInt64, False); } 108 HReg hregAMD64_RSP ( void ) { return mkHReg( 4, HRcInt64, False); } 109 HReg hregAMD64_RBP ( void ) { return mkHReg( 5, HRcInt64, False); } 110 HReg hregAMD64_RSI ( void ) { return mkHReg( 6, HRcInt64, False); } 111 HReg hregAMD64_RDI ( void ) { return mkHReg( 7, HRcInt64, False); [all...] |
host_x86_defs.c | 47 void ppHRegX86 ( HReg reg ) 79 HReg hregX86_EAX ( void ) { return mkHReg(0, HRcInt32, False); } 80 HReg hregX86_ECX ( void ) { return mkHReg(1, HRcInt32, False); } 81 HReg hregX86_EDX ( void ) { return mkHReg(2, HRcInt32, False); } 82 HReg hregX86_EBX ( void ) { return mkHReg(3, HRcInt32, False); } 83 HReg hregX86_ESP ( void ) { return mkHReg(4, HRcInt32, False); } 84 HReg hregX86_EBP ( void ) { return mkHReg(5, HRcInt32, False); } 85 HReg hregX86_ESI ( void ) { return mkHReg(6, HRcInt32, False); } 86 HReg hregX86_EDI ( void ) { return mkHReg(7, HRcInt32, False); } 88 HReg hregX86_FAKE0 ( void ) { return mkHReg(0, HRcFlt64, False); [all...] |
host_generic_reg_alloc2.c | 53 Note that state[].hreg is the same as the available real regs. 79 HReg rreg; 96 HReg rreg; 117 HReg vreg; 149 HReg r, 157 if (sameHReg(reg_usage.hreg[i], r)) 314 HReg* available_real_regs, 319 Bool (*isMove) ( HInstr*, HReg*, HReg* ), 334 void (*genSpill) ( HInstr**, HInstr**, HReg, Int, Bool ) [all...] |
host_s390_defs.c | 60 static Bool s390_insn_is_reg_reg_move(const s390_insn *, HReg *src, HReg *dst); 72 s390_hreg_as_string(HReg reg) 116 s390_hreg_get_allocable(Int *nregs, HReg **arr) 130 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); 178 HReg 206 s390_amode_b12(Int d, HReg b) 223 s390_amode_b20(Int d, HReg b) 240 s390_amode_bx12(Int d, HReg b, HReg x [all...] |