Lines Matching refs:masm
47 #define __ masm.
55 aarch32::MacroAssembler masm; in TEST() local
58 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
62 masm.FinalizeCode(); in TEST()
69 aarch64::MacroAssembler masm; in TEST() local
72 CodeBufferCheckScope scope(&masm, aarch64::kInstructionSize); in TEST()
76 masm.FinalizeCode(); in TEST()
83 aarch32::MacroAssembler masm; in TEST() local
86 CodeBufferCheckScope scope(&masm, 2 * aarch32::kA32InstructionSizeInBytes); in TEST()
91 masm.FinalizeCode(); in TEST()
98 aarch64::MacroAssembler masm; in TEST() local
101 CodeBufferCheckScope scope(&masm, 2 * aarch64::kInstructionSize); in TEST()
106 masm.FinalizeCode(); in TEST()
113 aarch32::MacroAssembler masm; in TEST() local
118 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
122 masm.FinalizeCode(); in TEST()
129 aarch64::MacroAssembler masm; in TEST() local
134 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
138 masm.FinalizeCode(); in TEST()
145 aarch32::MacroAssembler masm; in TEST() local
148 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
154 masm.FinalizeCode(); in TEST()
161 aarch64::MacroAssembler masm; in TEST() local
164 CodeBufferCheckScope scope(&masm, aarch64::kInstructionSize); in TEST()
170 masm.FinalizeCode(); in TEST()
177 aarch32::MacroAssembler masm; in TEST() local
182 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
188 masm.FinalizeCode(); in TEST()
195 aarch64::MacroAssembler masm; in TEST() local
200 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
206 masm.FinalizeCode(); in TEST()
213 aarch32::MacroAssembler masm; in TEST() local
216 EmissionCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
220 masm.FinalizeCode(); in TEST()
227 aarch64::MacroAssembler masm; in TEST() local
230 EmissionCheckScope scope(&masm, aarch64::kInstructionSize); in TEST()
234 masm.FinalizeCode(); in TEST()
241 aarch32::MacroAssembler masm; in TEST() local
246 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
250 masm.FinalizeCode(); in TEST()
257 aarch64::MacroAssembler masm; in TEST() local
262 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
266 masm.FinalizeCode(); in TEST()
273 aarch32::MacroAssembler masm; in TEST() local
276 EmissionCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
282 masm.FinalizeCode(); in TEST()
289 aarch64::MacroAssembler masm; in TEST() local
292 EmissionCheckScope scope(&masm, aarch64::kInstructionSize); in TEST()
298 masm.FinalizeCode(); in TEST()
305 aarch32::MacroAssembler masm; in TEST() local
310 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
316 masm.FinalizeCode(); in TEST()
323 aarch64::MacroAssembler masm; in TEST() local
328 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
334 masm.FinalizeCode(); in TEST()
343 aarch32::TestMacroAssembler test(&masm); \
348 aarch32::MacroAssembler masm; in TEST_A32() local
351 masm.EmitLiteralPool(PoolManager<int32_t>::kBranchRequired); in TEST_A32()
364 EmissionCheckScope scope(&masm, in TEST_A32()
372 EmissionCheckScope scope(&masm, in TEST_A32()
378 masm.FinalizeCode(); in TEST_A32()
387 masm.GetLiteralPoolSize())
390 aarch64::MacroAssembler masm; in TEST() local
393 masm.EmitLiteralPool(aarch64::LiteralPool::kBranchRequired); in TEST()
403 EmissionCheckScope scope(&masm, in TEST()
411 EmissionCheckScope scope(&masm, in TEST()
417 masm.FinalizeCode(); in TEST()
424 aarch32::MacroAssembler masm; in TEST_A32() local
427 masm.EmitLiteralPool(PoolManager<int32_t>::kBranchRequired); in TEST_A32()
440 EmissionCheckScope scope(&masm, in TEST_A32()
448 EmissionCheckScope scope(&masm, in TEST_A32()
454 masm.FinalizeCode(); in TEST_A32()
461 aarch64::MacroAssembler masm; in TEST() local
464 masm.EmitLiteralPool(aarch64::LiteralPool::kBranchRequired); in TEST()
475 scope.Open(&masm, in TEST()
484 scope.Open(&masm, in TEST()
490 masm.FinalizeCode(); in TEST()
497 aarch32::MacroAssembler masm; in TEST_A32() local
500 ExactAssemblyScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST_A32()
504 masm.FinalizeCode(); in TEST_A32()
511 aarch64::MacroAssembler masm; in TEST() local
514 ExactAssemblyScope scope(&masm, aarch64::kInstructionSize); in TEST()
518 masm.FinalizeCode(); in TEST()
525 aarch32::MacroAssembler masm; in TEST_A32() local
530 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST_A32()
534 masm.FinalizeCode(); in TEST_A32()
541 aarch64::MacroAssembler masm; in TEST() local
546 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
550 masm.FinalizeCode(); in TEST()
557 aarch32::MacroAssembler masm; in TEST_A32() local
560 ExactAssemblyScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST_A32()
566 masm.FinalizeCode(); in TEST_A32()
573 aarch64::MacroAssembler masm; in TEST() local
576 ExactAssemblyScope scope(&masm, aarch64::kInstructionSize); in TEST()
582 masm.FinalizeCode(); in TEST()
589 aarch32::MacroAssembler masm; in TEST_A32() local
594 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST_A32()
600 masm.FinalizeCode(); in TEST_A32()
607 aarch64::MacroAssembler masm; in TEST() local
612 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
618 masm.FinalizeCode(); in TEST()
625 aarch32::MacroAssembler masm; in TEST_A32() local
628 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST_A32()
629 VIXL_ASSERT(!masm.AllowAssembler()); in TEST_A32()
630 VIXL_ASSERT(masm.AllowMacroInstructions()); in TEST_A32()
632 ExactAssemblyScope scope1(&masm, 2 * aarch32::kA32InstructionSizeInBytes); in TEST_A32()
633 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32()
634 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32()
635 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32()
638 ExactAssemblyScope scope2(&masm, 1 * aarch32::kA32InstructionSizeInBytes); in TEST_A32()
639 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32()
640 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32()
641 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32()
644 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32()
645 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32()
646 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32()
648 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST_A32()
649 VIXL_ASSERT(!masm.AllowAssembler()); in TEST_A32()
650 VIXL_ASSERT(masm.AllowMacroInstructions()); in TEST_A32()
653 ExactAssemblyScope scope(&masm, 2 * aarch32::kA32InstructionSizeInBytes); in TEST_A32()
658 masm.FinalizeCode(); in TEST_A32()
665 aarch64::MacroAssembler masm; in TEST() local
668 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST()
669 VIXL_ASSERT(!masm.AllowAssembler()); in TEST()
670 VIXL_ASSERT(masm.AllowMacroInstructions()); in TEST()
672 ExactAssemblyScope scope1(&masm, 2 * aarch64::kInstructionSize); in TEST()
673 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST()
674 VIXL_ASSERT(masm.AllowAssembler()); in TEST()
675 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST()
678 ExactAssemblyScope scope2(&masm, 1 * aarch64::kInstructionSize); in TEST()
679 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST()
680 VIXL_ASSERT(masm.AllowAssembler()); in TEST()
681 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST()
684 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST()
685 VIXL_ASSERT(masm.AllowAssembler()); in TEST()
686 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST()
688 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST()
689 VIXL_ASSERT(!masm.AllowAssembler()); in TEST()
690 VIXL_ASSERT(masm.AllowMacroInstructions()); in TEST()
693 ExactAssemblyScope scope(&masm, 2 * aarch64::kInstructionSize); in TEST()
698 masm.FinalizeCode(); in TEST()
705 aarch32::MacroAssembler masm; in TEST_A32() local
719 ExactAssemblyScope scope(&masm, in TEST_A32()
733 masm.FinalizeCode(); in TEST_A32()
740 aarch64::MacroAssembler masm; in TEST() local
754 ExactAssemblyScope scope(&masm, n_nops * aarch64::kInstructionSize); in TEST()
767 masm.FinalizeCode(); in TEST()