Home
last modified time | relevance | path

Searched refs:LibVEX_Alloc (Results 1 – 19 of 19) sorted by relevance

/external/valgrind/main/VEX/priv/
Dir_defs.c1379 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_U1()
1388 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_U8()
1395 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_U16()
1402 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_U32()
1409 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_U64()
1416 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_F32()
1423 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_F32i()
1430 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_F64()
1437 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_F64i()
1444 IRConst* c = LibVEX_Alloc(sizeof(IRConst)); in IRConst_V128()
[all …]
Dhost_x86_defs.c108 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_X86()
162 X86AMode* am = LibVEX_Alloc(sizeof(X86AMode)); in X86AMode_IR()
169 X86AMode* am = LibVEX_Alloc(sizeof(X86AMode)); in X86AMode_IRRS()
244 X86RMI* op = LibVEX_Alloc(sizeof(X86RMI)); in X86RMI_Imm()
250 X86RMI* op = LibVEX_Alloc(sizeof(X86RMI)); in X86RMI_Reg()
256 X86RMI* op = LibVEX_Alloc(sizeof(X86RMI)); in X86RMI_Mem()
315 X86RI* op = LibVEX_Alloc(sizeof(X86RI)); in X86RI_Imm()
321 X86RI* op = LibVEX_Alloc(sizeof(X86RI)); in X86RI_Reg()
371 X86RM* op = LibVEX_Alloc(sizeof(X86RM)); in X86RM_Reg()
377 X86RM* op = LibVEX_Alloc(sizeof(X86RM)); in X86RM_Mem()
[all …]
Dhost_amd64_defs.c139 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_AMD64()
150 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_AMD64()
206 AMD64AMode* am = LibVEX_Alloc(sizeof(AMD64AMode)); in AMD64AMode_IR()
213 AMD64AMode* am = LibVEX_Alloc(sizeof(AMD64AMode)); in AMD64AMode_IRRS()
276 AMD64RMI* op = LibVEX_Alloc(sizeof(AMD64RMI)); in AMD64RMI_Imm()
282 AMD64RMI* op = LibVEX_Alloc(sizeof(AMD64RMI)); in AMD64RMI_Reg()
288 AMD64RMI* op = LibVEX_Alloc(sizeof(AMD64RMI)); in AMD64RMI_Mem()
356 AMD64RI* op = LibVEX_Alloc(sizeof(AMD64RI)); in AMD64RI_Imm()
362 AMD64RI* op = LibVEX_Alloc(sizeof(AMD64RI)); in AMD64RI_Reg()
412 AMD64RM* op = LibVEX_Alloc(sizeof(AMD64RM)); in AMD64RM_Reg()
[all …]
Dhost_generic_regs.c195 HInstrArray* ha = LibVEX_Alloc(sizeof(HInstrArray)); in newHInstrArray()
198 ha->arr = LibVEX_Alloc(ha->arr_size * sizeof(HInstr*)); in newHInstrArray()
211 HInstr** arr2 = LibVEX_Alloc(ha->arr_size * 2 * sizeof(HInstr*)); in addHInstr()
Dhost_ppc_defs.c203 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_PPC()
320 PPCAMode* am = LibVEX_Alloc(sizeof(PPCAMode)); in PPCAMode_IR()
328 PPCAMode* am = LibVEX_Alloc(sizeof(PPCAMode)); in PPCAMode_RR()
397 PPCRH* op = LibVEX_Alloc(sizeof(PPCRH)); in PPCRH_Imm()
409 PPCRH* op = LibVEX_Alloc(sizeof(PPCRH)); in PPCRH_Reg()
462 PPCRI* op = LibVEX_Alloc(sizeof(PPCRI)); in PPCRI_Imm()
468 PPCRI* op = LibVEX_Alloc(sizeof(PPCRI)); in PPCRI_Reg()
518 PPCVI5s* op = LibVEX_Alloc(sizeof(PPCVI5s)); in PPCVI5s_Imm()
525 PPCVI5s* op = LibVEX_Alloc(sizeof(PPCVI5s)); in PPCVI5s_Reg()
755 PPCInstr* i = LibVEX_Alloc(sizeof(PPCInstr)); in PPCInstr_LI()
[all …]
Dhost_arm_defs.c126 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_ARM()
220 ARMAMode1* am = LibVEX_Alloc(sizeof(ARMAMode1)); in ARMAMode1_RI()
228 ARMAMode1* am = LibVEX_Alloc(sizeof(ARMAMode1)); in ARMAMode1_RRS()
288 ARMAMode2* am = LibVEX_Alloc(sizeof(ARMAMode2)); in ARMAMode2_RI()
296 ARMAMode2* am = LibVEX_Alloc(sizeof(ARMAMode2)); in ARMAMode2_RR()
354 ARMAModeV* am = LibVEX_Alloc(sizeof(ARMAModeV)); in mkARMAModeV()
380 ARMAModeN* am = LibVEX_Alloc(sizeof(ARMAModeN)); in mkARMAModeN_RR()
388 ARMAModeN* am = LibVEX_Alloc(sizeof(ARMAModeN)); in mkARMAModeN_R()
438 ARMRI84* ri84 = LibVEX_Alloc(sizeof(ARMRI84)); in ARMRI84_I84()
447 ARMRI84* ri84 = LibVEX_Alloc(sizeof(ARMRI84)); in ARMRI84_R()
[all …]
Dhost_mips_defs.c559 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in getAllocableRegs_MIPS()
823 MIPSAMode *am = LibVEX_Alloc(sizeof(MIPSAMode)); in MIPSAMode_IR()
833 MIPSAMode *am = LibVEX_Alloc(sizeof(MIPSAMode)); in MIPSAMode_RR()
950 MIPSRH *op = LibVEX_Alloc(sizeof(MIPSRH)); in MIPSRH_Imm()
964 MIPSRH *op = LibVEX_Alloc(sizeof(MIPSRH)); in MIPSRH_Reg()
1111 MIPSInstr *i = LibVEX_Alloc(sizeof(MIPSInstr)); in MIPSInstr_LI()
1120 MIPSInstr *i = LibVEX_Alloc(sizeof(MIPSInstr)); in MIPSInstr_Alu()
1132 MIPSInstr *i = LibVEX_Alloc(sizeof(MIPSInstr)); in MIPSInstr_Shft()
1144 MIPSInstr *i = LibVEX_Alloc(sizeof(MIPSInstr)); in MIPSInstr_Unary()
1155 MIPSInstr *i = LibVEX_Alloc(sizeof(MIPSInstr)); in MIPSInstr_Cmp()
[all …]
Dhost_generic_reg_alloc2.c228 arr2 = LibVEX_Alloc(2 * *size * sizeof(RRegLR)); in ensureRRLRspace()
466 rreg_state = LibVEX_Alloc(n_rregs * sizeof(RRegState)); in doRegisterAllocation()
467 vreg_state = LibVEX_Alloc(n_vregs * sizeof(Short)); in doRegisterAllocation()
495 vreg_lrs = LibVEX_Alloc(sizeof(VRegLR) * n_vregs); in doRegisterAllocation()
515 rreg_lrs_la = LibVEX_Alloc(rreg_lrs_size * sizeof(RRegLR)); in doRegisterAllocation()
521 rreg_live_after = LibVEX_Alloc(n_available_real_regs * sizeof(Int)); in doRegisterAllocation()
522 rreg_dead_before = LibVEX_Alloc(n_available_real_regs * sizeof(Int)); in doRegisterAllocation()
748 rreg_lrs_db = LibVEX_Alloc(rreg_lrs_used * sizeof(RRegLR)); in doRegisterAllocation()
Dhost_s390_defs.c129 *arr = LibVEX_Alloc(*nregs * sizeof(HReg)); in s390_hreg_get_allocable()
207 s390_amode *am = LibVEX_Alloc(sizeof(s390_amode)); in s390_amode_b12()
224 s390_amode *am = LibVEX_Alloc(sizeof(s390_amode)); in s390_amode_b20()
241 s390_amode *am = LibVEX_Alloc(sizeof(s390_amode)); in s390_amode_bx12()
260 s390_amode *am = LibVEX_Alloc(sizeof(s390_amode)); in s390_amode_bx20()
4142 s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn)); in s390_insn_load()
4158 s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn)); in s390_insn_store()
4174 s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn)); in s390_insn_move()
4190 s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn)); in s390_insn_cond_move()
4207 s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn)); in s390_insn_load_immediate()
[all …]
Dir_opt.c184 HashHW* h = LibVEX_Alloc(sizeof(HashHW)); in newHHW()
187 h->inuse = LibVEX_Alloc(h->size * sizeof(Bool)); in newHHW()
188 h->key = LibVEX_Alloc(h->size * sizeof(HWord)); in newHHW()
189 h->val = LibVEX_Alloc(h->size * sizeof(HWord)); in newHHW()
229 Bool* inuse2 = LibVEX_Alloc(2 * h->size * sizeof(Bool)); in addToHHW()
230 HWord* key2 = LibVEX_Alloc(2 * h->size * sizeof(HWord)); in addToHHW()
231 HWord* val2 = LibVEX_Alloc(2 * h->size * sizeof(HWord)); in addToHHW()
2500 IRExpr** env = LibVEX_Alloc(n_tmps * sizeof(IRExpr*)); in cprop_BB()
2730 Bool* set = LibVEX_Alloc(n_tmps * sizeof(Bool)); in do_deadcode_BB()
3012 *outs = LibVEX_Alloc(n * sizeof(TmpOrConst)); in irExprVec_to_TmpOrConsts()
[all …]
Dhost_s390_isel.c2736 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_S390()
2759 env->vregmap = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_S390()
2760 env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_S390()
Dhost_mips_isel.c3175 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_MIPS()
3188 env->vregmap = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_MIPS()
3189 env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_MIPS()
Dhost_ppc_isel.c5248 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_PPC()
5267 env->vregmapLo = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_PPC()
5268 env->vregmapMedLo = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_PPC()
5273 env->vregmapMedHi = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_PPC()
5274 env->vregmapHi = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_PPC()
Dhost_x86_isel.c4256 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_X86()
4268 env->vregmap = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_X86()
4269 env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_X86()
Dhost_amd64_isel.c4213 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_AMD64()
4225 env->vregmap = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_AMD64()
4226 env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_AMD64()
Dhost_arm_isel.c6183 env = LibVEX_Alloc(sizeof(ISelEnv)); in iselSB_ARM()
6195 env->vregmap = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_ARM()
6196 env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg)); in iselSB_ARM()
/external/valgrind/main/docs/internals/
Dperformance.txt8 - Julian made LibVEX_Alloc() inlinable. Saved a couple of percent.
/external/valgrind/main/VEX/pub/
Dlibvex.h380 static inline void* LibVEX_Alloc ( Int nbytes ) in LibVEX_Alloc() function
/external/valgrind/main/VEX/
Dtest_main.c2595 mce.tmpMap = LibVEX_Alloc(mce.n_originalTmps * sizeof(IRTemp)); in mc_instrument()