Lines Matching refs:masm_

47   VIXL_ASSERT(masm_ == NULL);  in Open()
49 masm_ = masm; in Open()
51 old_available_ = masm_->GetScratchRegisterList()->GetList(); in Open()
52 old_available_vfp_ = masm_->GetScratchVRegisterList()->GetList(); in Open()
60 if (masm_ != NULL) { in Close()
65 VIXL_CHECK(masm_->GetCurrentScratchRegisterScope() == this); in Close()
66 masm_->SetCurrentScratchRegisterScope(parent_); in Close()
68 masm_->GetScratchRegisterList()->SetList(old_available_); in Close()
69 masm_->GetScratchVRegisterList()->SetList(old_available_vfp_); in Close()
71 masm_ = NULL; in Close()
77 VIXL_ASSERT(masm_ != NULL); in IsAvailable()
79 return masm_->GetScratchRegisterList()->Includes(reg); in IsAvailable()
84 VIXL_ASSERT(masm_ != NULL); in IsAvailable()
86 return masm_->GetScratchVRegisterList()->IncludesAllOf(reg); in IsAvailable()
91 VIXL_ASSERT(masm_ != NULL); in Acquire()
92 Register reg = masm_->GetScratchRegisterList()->GetFirstAvailableRegister(); in Acquire()
94 masm_->GetScratchRegisterList()->Remove(reg); in Acquire()
115 VIXL_ASSERT(masm_ != NULL); in AcquireQ()
117 masm_->GetScratchVRegisterList()->GetFirstAvailableQRegister(); in AcquireQ()
119 masm_->GetScratchVRegisterList()->Remove(reg); in AcquireQ()
125 VIXL_ASSERT(masm_ != NULL); in AcquireD()
127 masm_->GetScratchVRegisterList()->GetFirstAvailableDRegister(); in AcquireD()
129 masm_->GetScratchVRegisterList()->Remove(reg); in AcquireD()
135 VIXL_ASSERT(masm_ != NULL); in AcquireS()
137 masm_->GetScratchVRegisterList()->GetFirstAvailableSRegister(); in AcquireS()
139 masm_->GetScratchVRegisterList()->Remove(reg); in AcquireS()
145 VIXL_ASSERT(masm_ != NULL); in Release()
147 VIXL_ASSERT(!masm_->GetScratchRegisterList()->Includes(reg)); in Release()
148 masm_->GetScratchRegisterList()->Combine(reg); in Release()
153 VIXL_ASSERT(masm_ != NULL); in Release()
155 VIXL_ASSERT(!masm_->GetScratchVRegisterList()->IncludesAliasOf(reg)); in Release()
156 masm_->GetScratchVRegisterList()->Combine(reg); in Release()
161 VIXL_ASSERT(masm_ != NULL); in Include()
164 RegisterList* available = masm_->GetScratchRegisterList(); in Include()
170 VIXL_ASSERT(masm_ != NULL); in Include()
171 VRegisterList* available = masm_->GetScratchVRegisterList(); in Include()
177 VIXL_ASSERT(masm_ != NULL); in Exclude()
178 RegisterList* available = masm_->GetScratchRegisterList(); in Exclude()
184 VIXL_ASSERT(masm_ != NULL); in Exclude()
185 VRegisterList* available = masm_->GetScratchVRegisterList(); in Exclude()
202 VIXL_ASSERT(masm_ != NULL); in ExcludeAll()
203 masm_->GetScratchRegisterList()->SetList(0); in ExcludeAll()
204 masm_->GetScratchVRegisterList()->SetList(0); in ExcludeAll()