Lines Matching refs:label

656 void Thumb2Assembler::b(Label* label, Condition cond) {  in b()  argument
657 EmitBranch(cond, label, false, false); in b()
661 void Thumb2Assembler::bl(Label* label, Condition cond) { in bl() argument
663 EmitBranch(cond, label, true, false); in bl()
667 void Thumb2Assembler::blx(Label* label) { in blx() argument
668 EmitBranch(AL, label, true, true); in blx()
672 void Thumb2Assembler::MarkExceptionHandler(Label* label) { in MarkExceptionHandler() argument
676 EmitBranch(AL, label, false, false); in MarkExceptionHandler()
1592 void Thumb2Assembler::EmitBranch(Condition cond, Label* label, bool link, bool x) { in EmitBranch() argument
1609 if (label->IsBound()) { in EmitBranch()
1610 Branch::Size size = AddBranch(branch_type, pc, label->Position(), cond); // Resolved branch. in EmitBranch()
1626 Emit16(static_cast<uint16_t>(label->position_)); // Emit current label link. in EmitBranch()
1629 Emit16(static_cast<uint16_t>(label->position_)); // Emit current label link. in EmitBranch()
1631 label->LinkTo(branch_id); // Link to the branch ID. in EmitBranch()
2174 void Thumb2Assembler::cbz(Register rn, Label* label) { in cbz() argument
2176 if (label->IsBound()) { in cbz()
2180 uint16_t branchid = EmitCompareAndBranch(rn, static_cast<uint16_t>(label->position_), false); in cbz()
2181 label->LinkTo(branchid); in cbz()
2186 void Thumb2Assembler::cbnz(Register rn, Label* label) { in cbnz() argument
2188 if (label->IsBound()) { in cbnz()
2192 uint16_t branchid = EmitCompareAndBranch(rn, static_cast<uint16_t>(label->position_), true); in cbnz()
2193 label->LinkTo(branchid); in cbnz()
2249 void Thumb2Assembler::Bind(Label* label) { in Bind() argument
2250 CHECK(!label->IsBound()); in Bind()
2254 while (label->IsLinked()) { in Bind()
2255 uint16_t position = label->Position(); // Branch id for linked branch. in Bind()
2292 label->position_ = next; // Move to next. in Bind()
2294 label->BindTo(bound_pc); in Bind()
2720 void Thumb2Assembler::CompareAndBranchIfZero(Register r, Label* label) { in CompareAndBranchIfZero() argument
2723 b(label, EQ); in CompareAndBranchIfZero()
2725 cbz(r, label); in CompareAndBranchIfZero()
2730 void Thumb2Assembler::CompareAndBranchIfNonZero(Register r, Label* label) { in CompareAndBranchIfNonZero() argument
2733 b(label, NE); in CompareAndBranchIfNonZero()
2735 cbnz(r, label); in CompareAndBranchIfNonZero()