Home
last modified time | relevance | path

Searched refs:HWord (Results 1 – 25 of 65) sorted by relevance

123

/external/valgrind/main/VEX/priv/
Dguest_amd64_defs.h125 extern VexEmNote amd64g_dirtyhelper_FLDENV ( VexGuestAMD64State*, HWord );
126 extern VexEmNote amd64g_dirtyhelper_FRSTOR ( VexGuestAMD64State*, HWord );
127 extern VexEmNote amd64g_dirtyhelper_FRSTORS ( VexGuestAMD64State*, HWord );
129 extern void amd64g_dirtyhelper_FSTENV ( VexGuestAMD64State*, HWord );
130 extern void amd64g_dirtyhelper_FNSAVE ( VexGuestAMD64State*, HWord );
131 extern void amd64g_dirtyhelper_FNSAVES ( VexGuestAMD64State*, HWord );
173 extern void amd64g_dirtyhelper_FXSAVE ( VexGuestAMD64State*, HWord );
174 extern VexEmNote amd64g_dirtyhelper_FXRSTOR ( VexGuestAMD64State*, HWord );
226 HWord opc4_and_imm,
227 HWord gstOffL, HWord gstOffR,
[all …]
Dguest_generic_bb_to_IR.c46 static UInt genericg_compute_checksum_4al ( HWord first_w32, HWord n_w32s );
48 static UInt genericg_compute_checksum_4al_1 ( HWord first_w32 );
50 static UInt genericg_compute_checksum_4al_2 ( HWord first_w32 );
52 static UInt genericg_compute_checksum_4al_3 ( HWord first_w32 );
54 static UInt genericg_compute_checksum_4al_4 ( HWord first_w32 );
56 static UInt genericg_compute_checksum_4al_5 ( HWord first_w32 );
58 static UInt genericg_compute_checksum_4al_6 ( HWord first_w32 );
60 static UInt genericg_compute_checksum_4al_7 ( HWord first_w32 );
62 static UInt genericg_compute_checksum_4al_8 ( HWord first_w32 );
64 static UInt genericg_compute_checksum_4al_9 ( HWord first_w32 );
[all …]
Dguest_x86_defs.h133 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt,
153 extern void x86g_dirtyhelper_FXSAVE ( VexGuestX86State*, HWord );
154 extern void x86g_dirtyhelper_FSAVE ( VexGuestX86State*, HWord );
155 extern void x86g_dirtyhelper_FSTENV ( VexGuestX86State*, HWord );
167 x86g_dirtyhelper_FXRSTOR ( VexGuestX86State*, HWord );
170 x86g_dirtyhelper_FRSTOR ( VexGuestX86State*, HWord );
173 x86g_dirtyhelper_FLDENV ( VexGuestX86State*, HWord );
Dhost_amd64_isel.c916 HWord fn = 0; in iselIntExpr_R_wrk()
1085 fn = (HWord)h_generic_calc_Add8x8; break; in iselIntExpr_R_wrk()
1087 fn = (HWord)h_generic_calc_Add16x4; break; in iselIntExpr_R_wrk()
1089 fn = (HWord)h_generic_calc_Add32x2; break; in iselIntExpr_R_wrk()
1092 fn = (HWord)h_generic_calc_Avg8Ux8; break; in iselIntExpr_R_wrk()
1094 fn = (HWord)h_generic_calc_Avg16Ux4; break; in iselIntExpr_R_wrk()
1097 fn = (HWord)h_generic_calc_CmpEQ8x8; break; in iselIntExpr_R_wrk()
1099 fn = (HWord)h_generic_calc_CmpEQ16x4; break; in iselIntExpr_R_wrk()
1101 fn = (HWord)h_generic_calc_CmpEQ32x2; break; in iselIntExpr_R_wrk()
1104 fn = (HWord)h_generic_calc_CmpGT8Sx8; break; in iselIntExpr_R_wrk()
[all …]
Dhost_x86_isel.c1403 HWord fn = (HWord)h_generic_calc_GetMSBs8x8; in iselIntExpr_R_wrk()
2088 HWord fn = 0; /* helper fn for most SIMD64 stuff */ in iselInt64Expr_wrk()
2431 fn = (HWord)h_generic_calc_Add8x8; goto binnish; in iselInt64Expr_wrk()
2433 fn = (HWord)h_generic_calc_Add16x4; goto binnish; in iselInt64Expr_wrk()
2435 fn = (HWord)h_generic_calc_Add32x2; goto binnish; in iselInt64Expr_wrk()
2438 fn = (HWord)h_generic_calc_Avg8Ux8; goto binnish; in iselInt64Expr_wrk()
2440 fn = (HWord)h_generic_calc_Avg16Ux4; goto binnish; in iselInt64Expr_wrk()
2443 fn = (HWord)h_generic_calc_CmpEQ8x8; goto binnish; in iselInt64Expr_wrk()
2445 fn = (HWord)h_generic_calc_CmpEQ16x4; goto binnish; in iselInt64Expr_wrk()
2447 fn = (HWord)h_generic_calc_CmpEQ32x2; goto binnish; in iselInt64Expr_wrk()
[all …]
Dmain_util.c96 # define IS_WORD_ALIGNED(p) (0 == (((HWord)p) & (sizeof(HWord)-1))) in vexAllocSanityCheck()
97 vassert(sizeof(HWord) == 4 || sizeof(HWord) == 8); in vexAllocSanityCheck()
Dguest_amd64_helpers.c1726 void amd64g_dirtyhelper_FXSAVE ( VexGuestAMD64State* gst, HWord addr ) in amd64g_dirtyhelper_FXSAVE()
1838 VexEmNote amd64g_dirtyhelper_FXRSTOR ( VexGuestAMD64State* gst, HWord addr ) in amd64g_dirtyhelper_FXRSTOR()
2044 /*IN*/HWord x87_state) in amd64g_dirtyhelper_FLDENV()
2055 /*OUT*/HWord x87_state ) in amd64g_dirtyhelper_FSTENV()
2096 /*OUT*/HWord x87_state) in amd64g_dirtyhelper_FNSAVE()
2107 /*OUT*/HWord x87_state) in amd64g_dirtyhelper_FNSAVES()
2150 /*IN*/HWord x87_state) in amd64g_dirtyhelper_FRSTOR()
2161 /*IN*/HWord x87_state) in amd64g_dirtyhelper_FRSTORS()
3322 HWord opc4_and_imm, in amd64g_dirtyhelper_PCMPxSTRx()
3323 HWord gstOffL, HWord gstOffR, in amd64g_dirtyhelper_PCMPxSTRx()
[all …]
Dguest_generic_x87.h118 extern ULong x86amd64g_calculate_FXTRACT ( ULong arg, HWord getExp );
Dir_inject.c82 load(IREndness endian, IRType type, HWord haddr) in load()
145 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) in store()
Dir_opt.c182 HWord* key;
183 HWord* val;
195 h->key = LibVEX_Alloc(h->size * sizeof(HWord)); in newHHW()
196 h->val = LibVEX_Alloc(h->size * sizeof(HWord)); in newHHW()
203 static Bool lookupHHW ( HashHW* h, /*OUT*/HWord* val, HWord key ) in lookupHHW()
220 static void addToHHW ( HashHW* h, HWord key, HWord val ) in addToHHW()
237 HWord* key2 = LibVEX_Alloc(2 * h->size * sizeof(HWord)); in addToHHW()
238 HWord* val2 = LibVEX_Alloc(2 * h->size * sizeof(HWord)); in addToHHW()
619 HWord val; in redundant_get_removal_BB()
633 key = (HWord)mk_key_GetPut( get->Iex.Get.offset, in redundant_get_removal_BB()
[all …]
Dguest_x86_helpers.c1667 void x86g_dirtyhelper_FXSAVE ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FXSAVE()
1758 VexEmNote x86g_dirtyhelper_FXRSTOR ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FXRSTOR()
1851 void x86g_dirtyhelper_FSAVE ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FSAVE()
1858 VexEmNote x86g_dirtyhelper_FRSTOR ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FRSTOR()
1865 void x86g_dirtyhelper_FSTENV ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FSTENV()
1878 VexEmNote x86g_dirtyhelper_FLDENV ( VexGuestX86State* gst, HWord addr ) in x86g_dirtyhelper_FLDENV()
2615 ULong x86g_use_seg_selector ( HWord ldt, HWord gdt, in x86g_use_seg_selector()
/external/valgrind/main/VEX/switchback/
Dswitchback.c94 HWord sb_helper1 = 0;
95 HWord sb_helper2 = 0;
96 HWord sb_helper3 = 0;
119 static HWord serviceFn ( HWord arg1, HWord arg2 ) in serviceFn()
133 return (HWord)malloc(arg2); in serviceFn()
289 sb_helper1 = (HWord)&gst; in switchback()
296 extern void switchback_asm(HWord x0_gst, HWord x1_pstate);
393 HWord arg0 = (HWord)&gst; in switchback()
394 HWord arg1 = LibVEX_GuestARM64_get_nzcv(&gst); in switchback()
441 ( (void(*)(HWord,HWord))copy )(arg0, arg1); in switchback()
[all …]
Dtest_emfloat.c28 static HWord (*serviceFn)(HWord,HWord) = 0;
333 (ULong)((HWord)va_arg (vargs, void *))); in vprintf_wrk()
1938 void entry ( HWord(*f)(HWord,HWord) ) in entry() argument
Dtest_ppc_jm1.c157 typedef unsigned long HWord; typedef
173 static HWord (*serviceFn)(HWord,HWord) = 0;
551 (ULong)((HWord)va_arg (vargs, void *))); in vprintf_wrk()
4607 void entry ( HWord(*service)(HWord,HWord) ) in entry() argument
/external/valgrind/main/memcheck/tests/vbit-test/
Dvalgrind.c15 cb.result = (HWord)&data->result.value; in new_iricb()
16 cb.opnd1 = (HWord)&data->opnds[0].value; in new_iricb()
17 cb.opnd2 = (HWord)&data->opnds[1].value; in new_iricb()
18 cb.opnd3 = (HWord)&data->opnds[2].value; in new_iricb()
19 cb.opnd4 = (HWord)&data->opnds[3].value; in new_iricb()
/external/valgrind/main/drd/
Ddrd_load_store.c95 const HWord stored_value_hi, in DRD_()
96 const HWord stored_value_lo) in DRD_()
103 if (access_type == eStore && size <= sizeof(HWord)) { in DRD_()
108 } else if (access_type == eStore && size > sizeof(HWord)) { in DRD_()
111 tl_assert(sizeof(HWord) == 4); in DRD_()
136 const HWord stored_value_hi, in drd_trace_mem_store()
137 const HWord stored_value_lo) in drd_trace_mem_store()
351 const HWord size, in instr_trace_mem_load()
379 HWord size; in instr_trace_mem_store()
381 tl_assert(sizeof(HWord) == 4 || sizeof(HWord) == 8); in instr_trace_mem_store()
[all …]
Ddrd_load_store.h51 const HWord stored_value_hi,
52 const HWord stored_value_lo);
/external/valgrind/main/VEX/pub/
Dlibvex.h799 HWord start;
800 HWord len; /* always > 0 */
857 HWord result; // address of the result
858 HWord opnd1; // address of 1st operand
859 HWord opnd2; // address of 2nd operand
860 HWord opnd3; // address of 3rd operand
861 HWord opnd4; // address of 4th operand
Dlibvex_guest_x86.h196 HWord guest_LDT; /* host addr, a VexGuestX86SegDescr* */
197 HWord guest_GDT; /* host addr, a VexGuestX86SegDescr* */
Dlibvex_basictypes.h133 typedef unsigned long HWord; typedef
138 # define offsetof(type,memb) ((Int)(HWord)&((type*)0)->memb)
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-x86-linux.c506 vg_assert(sizeof(HWord) == sizeof(void*)); in deallocate_LGDTs_for_thread()
513 if (vex->guest_LDT != (HWord)NULL) { in deallocate_LGDTs_for_thread()
515 vex->guest_LDT = (HWord)NULL; in deallocate_LGDTs_for_thread()
518 if (vex->guest_GDT != (HWord)NULL) { in deallocate_LGDTs_for_thread()
520 vex->guest_GDT = (HWord)NULL; in deallocate_LGDTs_for_thread()
549 vg_assert(sizeof(HWord) == sizeof(VexGuestX86SegDescr*)); in read_ldt()
584 vg_assert(sizeof(HWord) == sizeof(VexGuestX86SegDescr*)); in write_ldt()
607 VG_(threads)[tid].arch.vex.guest_LDT = (HWord)ldt; in write_ldt()
651 vg_assert(sizeof(HWord) == sizeof(VexGuestX86SegDescr*)); in sys_set_thread_area()
661 VG_(threads)[tid].arch.vex.guest_GDT = (HWord)gdt; in sys_set_thread_area()
[all …]
/external/valgrind/main/coregrind/
Dpub_core_dispatch.h64 void VG_(disp_run_translations)( HWord* two_words,
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c843 void run_thread_for_a_while ( /*OUT*/HWord* two_words, in run_thread_for_a_while()
846 HWord alt_host_addr, in run_thread_for_a_while()
849 volatile HWord jumped = 0; in run_thread_for_a_while()
852 volatile HWord host_code_addr = 0; in run_thread_for_a_while()
910 = (HWord)VG_(fnptr_to_fnentry)( &VG_(disp_cp_evcheck_fail) ); in run_thread_for_a_while()
944 if (jumped != (HWord)0) { in run_thread_for_a_while()
964 == (HWord)VG_(fnptr_to_fnentry)( &VG_(disp_cp_evcheck_fail)) ); in run_thread_for_a_while()
1101 void handle_noredir_jump ( /*OUT*/HWord* two_words, in handle_noredir_jump()
1277 HWord trc[2]; /* "two_words" */ in VG_()
/external/valgrind/main/cachegrind/
Dcg_main.c734 i_node_expr = mkIRExpr_HWord( (HWord)ev->inode ); in flushEvents()
783 mkIRExpr_HWord( (HWord)ev2->inode ), in flushEvents()
784 mkIRExpr_HWord( (HWord)ev3->inode ) ); in flushEvents()
799 mkIRExpr_HWord( (HWord)ev2->inode ) ); in flushEvents()
988 i_node_expr = mkIRExpr_HWord( (HWord)inode ); in addEvent_D_guarded()
1011 == (sizeof(HWord)==4 ? Ity_I32 : Ity_I64)); in addEvent_Bc()
1031 == (sizeof(HWord)==4 ? Ity_I32 : Ity_I64)); in addEvent_Bi()
/external/valgrind/main/callgrind/
Dmain.c452 i_node_expr = mkIRExpr_HWord( (HWord)ev->inode ); in flushEvents()
496 mkIRExpr_HWord( (HWord)ev2->inode ), in flushEvents()
497 mkIRExpr_HWord( (HWord)ev3->inode ) ); in flushEvents()
507 mkIRExpr_HWord( (HWord)ev2->inode ) ); in flushEvents()
699 i_node_expr = mkIRExpr_HWord( (HWord)inode ); in addEvent_D_guarded()
721 == (sizeof(HWord)==4 ? Ity_I32 : Ity_I64)); in addEvent_Bc()
741 == (sizeof(HWord)==4 ? Ity_I32 : Ity_I64)); in addEvent_Bi()
942 arg1 = mkIRExpr_HWord( (HWord)clgs->bb ); in addBBSetupCall()

123