Lines Matching refs:u4
26 static dex::u2 Pack_Z_8(dex::u4 a) { in Pack_Z_8()
33 static dex::u2 Pack_8_8(dex::u4 a, dex::u4 b) { in Pack_8_8()
42 static dex::u2 Pack_4_4_8(dex::u4 a, dex::u4 b, dex::u4 c) { in Pack_4_4_8()
53 static dex::u2 Pack_4_4_4_4(dex::u4 a, dex::u4 b, dex::u4 c, dex::u4 d) { in Pack_4_4_4_4()
66 static dex::u2 Pack_16(dex::u4 a) { in Pack_16()
73 static dex::u4 Trim_S0(dex::u4 value) { in Trim_S0()
74 dex::u4 trim = value & 0xf; in Trim_S0()
75 SLICER_CHECK(dex::u4(dex::s4(trim << 28) >> 28) == value); in Trim_S0()
80 static dex::u4 Trim_S1(dex::u4 value) { in Trim_S1()
81 dex::u4 trim = value & 0xff; in Trim_S1()
82 SLICER_CHECK(dex::u4(dex::s4(trim << 24) >> 24) == value); in Trim_S1()
87 static dex::u4 Trim_S2(dex::u4 value) { in Trim_S2()
88 dex::u4 trim = value & 0xffff; in Trim_S2()
89 SLICER_CHECK(dex::u4(dex::s4(trim << 16) >> 16) == value); in Trim_S2()
95 static dex::u4 GetRegA(const Bytecode* bytecode, int index) { in GetRegA()
104 static dex::u4 GetRegB(const Bytecode* bytecode, int index) { in GetRegB()
113 static dex::u4 GetRegC(const Bytecode* bytecode, int index) { in GetRegC()
149 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
150 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
157 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
158 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
166 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
167 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
176 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
177 dex::u4 B = Trim_S0(bytecode->CastOperand<Const32>(1)->u.u4_value); in Visit()
184 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
185 dex::u4 B = Trim_S2(bytecode->CastOperand<Const32>(1)->u.u4_value); in Visit()
193 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
200 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
201 dex::u4 B = bytecode->CastOperand<Const32>(1)->u.u4_value; in Visit()
211 dex::u4 A = 0; in Visit()
228 dex::u4 A = 0; in Visit()
244 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
246 dex::u4 B = 0; in Visit()
262 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
263 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
265 dex::u4 C = 0; in Visit()
281 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
283 dex::u4 B = 0; in Visit()
299 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
300 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
301 dex::u4 vC = GetRegC(bytecode, 2); in Visit()
309 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
310 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
311 dex::u4 C = Trim_S1(bytecode->CastOperand<Const32>(2)->u.u4_value); in Visit()
319 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
320 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
321 dex::u4 C = Trim_S2(bytecode->CastOperand<Const32>(2)->u.u4_value); in Visit()
329 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
330 dex::u4 vB = GetRegB(bytecode, 1); in Visit()
331 dex::u4 C = bytecode->CastOperand<IndexedOperand>(2)->index; in Visit()
339 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
340 dex::u4 B = bytecode->CastOperand<IndexedOperand>(1)->index; in Visit()
348 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
349 dex::u4 B = bytecode->CastOperand<IndexedOperand>(1)->index; in Visit()
359 dex::u4 B = bytecode->CastOperand<IndexedOperand>(1)->index; in Visit()
360 dex::u4 A = regs.size(); in Visit()
361 dex::u4 C = (A > 0) ? regs[0] : 0; in Visit()
362 dex::u4 D = (A > 1) ? regs[1] : 0; in Visit()
363 dex::u4 E = (A > 2) ? regs[2] : 0; in Visit()
364 dex::u4 F = (A > 3) ? regs[3] : 0; in Visit()
365 dex::u4 G = (A > 4) ? regs[4] : 0; in Visit()
380 dex::u4 A = vreg_range->count; in Visit()
381 dex::u4 B = bytecode->CastOperand<IndexedOperand>(1)->index; in Visit()
382 dex::u4 C = vreg_range->base_reg; in Visit()
396 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
409 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
410 dex::u4 B = bytecode->CastOperand<Const32>(1)->u.u4_value >> 16; in Visit()
416 dex::u4 vA = GetRegA(bytecode, 0); in Visit()
417 dex::u4 B = bytecode->CastOperand<Const64>(1)->u.u8_value >> 48; in Visit()
451 bytecode_.Push<dex::u4>(0); in Visit()
477 bytecode_.Push<dex::u4>(0); in Visit()
548 void BytecodeEncoder::FixupPackedSwitch(dex::u4 base_offset, in FixupPackedSwitch()
549 dex::u4 payload_offset) { in FixupPackedSwitch()
565 void BytecodeEncoder::FixupSparseSwitch(dex::u4 base_offset, in FixupSparseSwitch()
566 dex::u4 payload_offset) { in FixupSparseSwitch()
586 dex::u4 label_offset = fixup.label->offset; in FixupLabels()
589 dex::u4 rel_offset = label_offset - fixup.offset; in FixupLabels()