/external/valgrind/main/VEX/priv/ |
D | ir_inject.c | 45 #define stmt(irsb, st) addStmtToIRSB(irsb, st) argument 125 store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data) in store_aux() argument 127 if (typeOfIRExpr(irsb->tyenv, data) == Ity_D64) { in store_aux() 133 if (typeOfIRExpr(irsb->tyenv, data) == Ity_I1) { in store_aux() 138 stmt(irsb, IRStmt_Store(endian, addr, data)); in store_aux() 145 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data) in store() argument 160 IRType type = typeOfIRExpr(irsb->tyenv, data); in store() 173 store_aux(irsb, endian, addr, unop(high, data)); in store() 174 store_aux(irsb, endian, next_addr, unop(low, data)); in store() 177 store_aux(irsb, endian, addr, unop(low, data)); in store() [all …]
|
D | guest_generic_bb_to_IR.c | 212 IRSB* irsb; in bb_to_IR() local 244 irsb = emptyIRSB(); in bb_to_IR() 264 selfcheck_idx = irsb->stmts_used; in bb_to_IR() 266 addStmtToIRSB( irsb, nop ); in bb_to_IR() 271 Bool stopNow = preamble_function( callback_opaque, irsb ); in bb_to_IR() 278 return irsb; in bb_to_IR() 315 first_stmt_idx = irsb->stmts_used; in bb_to_IR() 334 addStmtToIRSB( irsb, in bb_to_IR() 342 addStmtToIRSB( irsb, in bb_to_IR() 354 vassert(irsb->next == NULL); in bb_to_IR() [all …]
|
D | main_main.c | 236 IRSB* irsb; in LibVEX_Translate() local 710 irsb = bb_to_IR ( vta->guest_extents, in LibVEX_Translate() 733 if (irsb == NULL) { in LibVEX_Translate() 767 sanityCheckIRSB( irsb, "initial IR", in LibVEX_Translate() 773 irsb = do_iropt_BB ( irsb, specHelper, preciseMemExnsFn, in LibVEX_Translate() 776 sanityCheckIRSB( irsb, "after initial iropt", in LibVEX_Translate() 783 ppIRSB ( irsb ); in LibVEX_Translate() 791 irsb = vta->instrument1(vta->callback_opaque, in LibVEX_Translate() 792 irsb, guest_layout, in LibVEX_Translate() 799 irsb = vta->instrument2(vta->callback_opaque, in LibVEX_Translate() [all …]
|
D | guest_ppc_toIR.c | 170 static IRSB* irsb; variable 464 addStmtToIRSB( irsb, st ); in stmt() 471 return newIRTemp( irsb->tyenv, ty ); in newTemp() 531 IRType tyA = typeOfIRExpr(irsb->tyenv, addr); in storeBE() 596 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkOR1() 597 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkOR1() 604 vassert(typeOfIRExpr(irsb->tyenv, arg1) == Ity_I1); in mkAND1() 605 vassert(typeOfIRExpr(irsb->tyenv, arg2) == Ity_I1); in mkAND1() 616 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Ux16() 634 vassert(typeOfIRExpr(irsb->tyenv, vIn) == Ity_V128); in expand8Sx16() [all …]
|
D | guest_x86_toIR.c | 212 static IRSB* irsb; variable 315 addStmtToIRSB( irsb, st ); in stmt() 322 return newIRTemp( irsb->tyenv, ty ); in newTemp() 550 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putIReg() 568 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putSReg() 599 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_V128); in putXMMReg() 605 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I64); in putXMMRegLane64() 611 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_F64); in putXMMRegLane64F() 617 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_F32); in putXMMRegLane32F() 623 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I32); in putXMMRegLane32() [all …]
|
D | guest_arm64_toIR.c | 131 static IRSB* irsb; variable 305 addStmtToIRSB( irsb, st ); in stmt() 365 return newIRTemp( irsb->tyenv, ty ); in newTemp() 787 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orSP() 793 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putIReg64orZR() 840 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orSP() 846 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putIReg32orZR() 880 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putPC() 932 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_V128); in putQReg128() 990 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putQRegLO() [all …]
|
D | guest_s390_toIR.c | 61 static IRSB *irsb; variable 110 addStmtToIRSB(irsb, st); in stmt() 119 return newIRTemp(irsb->tyenv, type); in newTemp() 241 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in mkite() 308 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto_computed() 325 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in if_condition_goto() 389 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in iterate_if() 408 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in next_insn_if() 418 vassert(typeOfIRExpr(irsb->tyenv, condition) == Ity_I1); in restart_if() 556 switch (typeOfIRTemp(irsb->tyenv, v)) { in s390_cc_widen() [all …]
|
D | guest_amd64_toIR.c | 202 static IRSB* irsb; variable 228 return newIRTemp( irsb->tyenv, ty ); in newTemp() 234 addStmtToIRSB( irsb, st ); in stmt() 988 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I8); in putIRegAH() 1021 IRType ty = typeOfIRExpr(irsb->tyenv, e); in putIRegRAX() 1070 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRDX() 1096 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I64); in putIReg64() 1119 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I32); in putIReg32() 1142 vassert(typeOfIRExpr(irsb->tyenv,e) == Ity_I16); in putIReg16() 1208 vassert(typeOfIRExpr(irsb->tyenv, e) == szToITy(sz)); in putIRegRexB() [all …]
|
D | guest_arm_toIR.c | 141 static IRSB* irsb; variable 321 addStmtToIRSB( irsb, st ); in stmt() 381 return newIRTemp( irsb->tyenv, ty ); in newTemp() 571 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in llPutIReg() 709 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_F64); in llPutDReg() 752 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in llPutDRegI64() 818 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_V128); in llPutQReg() 877 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_F32); in llPutFReg() 916 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I32); in putMiscReg32() 1131 vassert(typeOfIRExpr(irsb->tyenv, cond) == Ity_I32); in mk_armg_calculate_condition_dyn() [all …]
|
D | guest_mips_toIR.c | 69 static IRSB *irsb; variable 908 addStmtToIRSB(irsb, st); in stmt() 929 return newIRTemp(irsb->tyenv, ty); in newTemp() 1205 vassert(typeOfIRExpr(irsb->tyenv, e) == ty); in putIReg() 1257 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_I64); in putAcc() 1290 IRType src_ty = typeOfIRExpr(irsb->tyenv, e); in narrowTo() 1361 irsb->jumpkind = Ijk_Boring; in dis_branch_likely() 1442 vassert(typeOfIRExpr(irsb->tyenv, e) == ty); in putFReg() 1451 vassert(typeOfIRExpr(irsb->tyenv, e) == ty); in putDReg() 1455 vassert(typeOfIRExpr(irsb->tyenv, e) == Ity_F64); in putDReg() [all …]
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | m_gdbserver.c | 1072 IRSB* irsb) in VG_() 1091 addStmtToIRSB(irsb, IRStmt_Dirty(di)); in VG_() 1112 IRSB* irsb) /* irsb block to which call is added */ in VG_() 1137 addStmtToIRSB(irsb, IRStmt_Put(layout->offset_IP , in VG_() 1169 addStmtToIRSB(irsb, IRStmt_Dirty(di)); in VG_() 1185 IRSB* irsb) in VG_() 1193 (sb_in, layout, vge, sb_in->next->Iex.RdTmp.tmp, irsb); in VG_()
|