Lines Matching refs:stream
54 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
55 stream.BeginMethod(32, 0, 0, 2); in TEST()
59 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST()
60 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
61 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Short location. in TEST()
62 stream.EndStackMapEntry(); in TEST()
64 stream.EndMethod(); in TEST()
65 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
108 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
109 stream.BeginMethod(32, 0, 0, 2); in TEST()
117 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask1); in TEST()
118 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
119 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
120 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
121 stream.EndInlineInfoEntry(); in TEST()
122 stream.BeginInlineInfoEntry(&art_method, 2, number_of_dex_registers_in_inline_info); in TEST()
123 stream.EndInlineInfoEntry(); in TEST()
124 stream.EndStackMapEntry(); in TEST()
129 stream.BeginStackMapEntry(1, 128 * kPcAlign, 0xFF, &sp_mask2); in TEST()
130 stream.AddDexRegisterEntry(Kind::kInRegister, 18); // Short location. in TEST()
131 stream.AddDexRegisterEntry(Kind::kInFpuRegister, 3); // Short location. in TEST()
132 stream.EndStackMapEntry(); in TEST()
137 stream.BeginStackMapEntry(2, 192 * kPcAlign, 0xAB, &sp_mask3); in TEST()
138 stream.AddDexRegisterEntry(Kind::kInRegister, 6); // Short location. in TEST()
139 stream.AddDexRegisterEntry(Kind::kInRegisterHigh, 8); // Short location. in TEST()
140 stream.EndStackMapEntry(); in TEST()
145 stream.BeginStackMapEntry(3, 256 * kPcAlign, 0xCD, &sp_mask4); in TEST()
146 stream.AddDexRegisterEntry(Kind::kInFpuRegister, 3); // Short location, same in stack map 2. in TEST()
147 stream.AddDexRegisterEntry(Kind::kInFpuRegisterHigh, 1); // Short location. in TEST()
148 stream.EndStackMapEntry(); in TEST()
150 stream.EndMethod(); in TEST()
151 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
302 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
303 stream.BeginMethod(32, 0, 0, 2); in TEST()
311 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask1); in TEST()
312 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
313 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
314 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
315 stream.AddDexRegisterEntry(Kind::kInStack, 0); // Short location. in TEST()
316 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
317 stream.EndInlineInfoEntry(); in TEST()
318 stream.EndStackMapEntry(); in TEST()
320 stream.EndMethod(); in TEST()
321 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
365 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
366 stream.BeginMethod(32, 0, 0, 2); in TEST()
370 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST()
371 stream.AddDexRegisterEntry(Kind::kNone, 0); // No location. in TEST()
372 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
373 stream.EndStackMapEntry(); in TEST()
375 stream.EndMethod(); in TEST()
376 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
413 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
414 stream.BeginMethod(32, 0, 0, 2); in TEST()
419 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST()
420 stream.AddDexRegisterEntry(Kind::kInRegister, 0); // Short location. in TEST()
421 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
422 stream.EndStackMapEntry(); in TEST()
424 stream.BeginStackMapEntry(0, 65 * kPcAlign, 0x3, &sp_mask); in TEST()
425 stream.AddDexRegisterEntry(Kind::kInRegister, 0); // Short location. in TEST()
426 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
427 stream.EndStackMapEntry(); in TEST()
429 stream.BeginStackMapEntry(0, 66 * kPcAlign, 0x3, &sp_mask); in TEST()
430 stream.AddDexRegisterEntry(Kind::kInRegister, 2); // Short location. in TEST()
431 stream.AddDexRegisterEntry(Kind::kConstant, -2); // Large location. in TEST()
432 stream.EndStackMapEntry(); in TEST()
434 stream.EndMethod(); in TEST()
435 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
469 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
470 stream.BeginMethod(32, 0, 0, 1); in TEST()
474 stream.BeginStackMapEntry(0, 64 * kPcAlign, 0x3, &sp_mask); in TEST()
475 stream.EndStackMapEntry(); in TEST()
478 stream.BeginStackMapEntry(1, 68 * kPcAlign, 0x4, &sp_mask); in TEST()
479 stream.AddDexRegisterEntry(Kind::kNone, 0); in TEST()
480 stream.EndStackMapEntry(); in TEST()
482 stream.EndMethod(); in TEST()
483 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
516 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
517 stream.BeginMethod(32, 0, 0, 2); in TEST()
525 stream.BeginStackMapEntry(0, 10 * kPcAlign, 0x3, &sp_mask1); in TEST()
526 stream.AddDexRegisterEntry(Kind::kInStack, 0); in TEST()
527 stream.AddDexRegisterEntry(Kind::kConstant, 4); in TEST()
529 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
530 stream.AddDexRegisterEntry(Kind::kInStack, 8); in TEST()
531 stream.EndInlineInfoEntry(); in TEST()
532 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
533 stream.AddDexRegisterEntry(Kind::kInStack, 16); in TEST()
534 stream.AddDexRegisterEntry(Kind::kConstant, 20); in TEST()
535 stream.AddDexRegisterEntry(Kind::kInRegister, 15); in TEST()
536 stream.EndInlineInfoEntry(); in TEST()
538 stream.EndStackMapEntry(); in TEST()
541 stream.BeginStackMapEntry(2, 22 * kPcAlign, 0x3, &sp_mask1); in TEST()
542 stream.AddDexRegisterEntry(Kind::kInStack, 56); in TEST()
543 stream.AddDexRegisterEntry(Kind::kConstant, 0); in TEST()
545 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
546 stream.AddDexRegisterEntry(Kind::kInStack, 12); in TEST()
547 stream.EndInlineInfoEntry(); in TEST()
548 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
549 stream.AddDexRegisterEntry(Kind::kInStack, 80); in TEST()
550 stream.AddDexRegisterEntry(Kind::kConstant, 10); in TEST()
551 stream.AddDexRegisterEntry(Kind::kInRegister, 5); in TEST()
552 stream.EndInlineInfoEntry(); in TEST()
553 stream.BeginInlineInfoEntry(&art_method, 5, 0); in TEST()
554 stream.EndInlineInfoEntry(); in TEST()
556 stream.EndStackMapEntry(); in TEST()
559 stream.BeginStackMapEntry(4, 56 * kPcAlign, 0x3, &sp_mask1); in TEST()
560 stream.AddDexRegisterEntry(Kind::kNone, 0); in TEST()
561 stream.AddDexRegisterEntry(Kind::kConstant, 4); in TEST()
562 stream.EndStackMapEntry(); in TEST()
565 stream.BeginStackMapEntry(6, 78 * kPcAlign, 0x3, &sp_mask1); in TEST()
566 stream.AddDexRegisterEntry(Kind::kInStack, 56); in TEST()
567 stream.AddDexRegisterEntry(Kind::kConstant, 0); in TEST()
569 stream.BeginInlineInfoEntry(&art_method, 2, 0); in TEST()
570 stream.EndInlineInfoEntry(); in TEST()
571 stream.BeginInlineInfoEntry(&art_method, 5, 1); in TEST()
572 stream.AddDexRegisterEntry(Kind::kInRegister, 2); in TEST()
573 stream.EndInlineInfoEntry(); in TEST()
574 stream.BeginInlineInfoEntry(&art_method, 10, 2); in TEST()
575 stream.AddDexRegisterEntry(Kind::kNone, 0); in TEST()
576 stream.AddDexRegisterEntry(Kind::kInRegister, 3); in TEST()
577 stream.EndInlineInfoEntry(); in TEST()
579 stream.EndStackMapEntry(); in TEST()
581 stream.EndMethod(); in TEST()
582 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
706 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
707 stream.BeginMethod(32, 0, 0, 0); in TEST()
712 stream.BeginStackMapEntry(0, 4 * kPcAlign, 0x3, &sp_mask); in TEST()
713 stream.EndStackMapEntry(); in TEST()
714 stream.BeginStackMapEntry(0, 8 * kPcAlign, 0x3, &sp_mask); in TEST()
715 stream.EndStackMapEntry(); in TEST()
717 stream.EndMethod(); in TEST()
718 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
733 StackMapStream stream(&allocator, kRuntimeISA); in TEST() local
734 stream.BeginMethod(32, 0, 0, 2); in TEST()
736 stream.BeginStackMapEntry(0, 64 * kPcAlign); in TEST()
737 stream.AddDexRegisterEntry(Kind::kInStack, 0); in TEST()
738 stream.AddDexRegisterEntry(Kind::kConstant, -2); in TEST()
739 stream.EndStackMapEntry(); in TEST()
741 stream.EndMethod(); in TEST()
742 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()