Lines Matching refs:endian
61 load_aux(IREndness endian, IRType type, IRExpr *addr)
68 IRExpr_Load(endian, Ity_I64, addr));
72 return unop(Iop_32to1, IRExpr_Load(endian, Ity_I32, addr));
75 return IRExpr_Load(endian, type, addr);
82 load(IREndness endian, IRType type, HWord haddr)
106 if (endian == Iend_BE) {
109 load_aux(endian, type, addr),
110 load_aux(endian, type, next_addr));
114 load_aux(endian, type, next_addr),
115 load_aux(endian, type, addr));
119 return load_aux(endian, type, addr);
125 store_aux(IRSB *irsb, IREndness endian, IRExpr *addr, IRExpr *data)
138 stmt(irsb, IRStmt_Store(endian, addr, data));
145 store(IRSB *irsb, IREndness endian, HWord haddr, IRExpr *data)
171 if (endian == Iend_BE) {
173 store_aux(irsb, endian, addr, unop(high, data));
174 store_aux(irsb, endian, next_addr, unop(low, data));
177 store_aux(irsb, endian, addr, unop(low, data));
178 store_aux(irsb, endian, next_addr, unop(high, data));
183 store_aux(irsb, endian, addr, data);
192 vex_inject_ir(IRSB *irsb, IREndness endian)
203 opnd1 = load(endian, iricb.t_opnd1, iricb.opnd1);
211 opnd1 = load(endian, iricb.t_opnd1, iricb.opnd1);
219 opnd2 = load(endian, iricb.t_opnd2, iricb.opnd2);
229 opnd1 = load(endian, iricb.t_opnd1, iricb.opnd1);
230 opnd2 = load(endian, iricb.t_opnd2, iricb.opnd2);
231 opnd3 = load(endian, iricb.t_opnd3, iricb.opnd3);
240 opnd1 = load(endian, iricb.t_opnd1, iricb.opnd1);
241 opnd2 = load(endian, iricb.t_opnd2, iricb.opnd2);
242 opnd3 = load(endian, iricb.t_opnd3, iricb.opnd3);
243 opnd4 = load(endian, iricb.t_opnd4, iricb.opnd4);
251 store(irsb, endian, iricb.result, data);