Lines Matching defs:label

231                                           Label* label,
233 VIXL_ASSERT(!label->IsBound());
234 BranchInfo branch_info = BranchInfo(branch_pos, label, branch_type);
237 // TODO: In debug mode register the label with the assembler to make sure it
242 void VeneerPool::DeleteUnresolvedBranchInfoForLabel(Label* label) {
248 if (label->IsLinked()) {
249 Label::LabelLinksIterator links_it(label);
256 BranchInfo branch_info(link_offset, label, link->GetBranchType());
328 Label* label = branch_info->label_;
331 // to the label.
336 masm_->b(label);
339 // Update the label. The branch patched does not point to it any longer.
340 label->DeleteLink(branch_pos);
583 void MacroAssembler::B(Label* label, BranchType type, Register reg, int bit) {
587 B(static_cast<Condition>(type), label);
591 B(label);
596 Cbz(reg, label);
599 Cbnz(reg, label);
602 Tbz(reg, bit, label);
605 Tbnz(reg, bit, label);
614 void MacroAssembler::B(Label* label) {
621 b(label);
625 void MacroAssembler::B(Label* label, Condition cond) {
635 if (label->IsBound() && LabelIsOutOfRange(label, CondBranchType)) {
642 b(label);
645 if (!label->IsBound()) {
647 label,
650 b(label, cond);
655 void MacroAssembler::Cbnz(const Register& rt, Label* label) {
665 if (label->IsBound() && LabelIsOutOfRange(label, CondBranchType)) {
672 b(label);
675 if (!label->IsBound()) {
677 label,
680 cbnz(rt, label);
685 void MacroAssembler::Cbz(const Register& rt, Label* label) {
695 if (label->IsBound() && LabelIsOutOfRange(label, CondBranchType)) {
702 b(label);
705 if (!label->IsBound()) {
707 label,
710 cbz(rt, label);
715 void MacroAssembler::Tbnz(const Register& rt, unsigned bit_pos, Label* label) {
724 if (label->IsBound() && LabelIsOutOfRange(label, TestBranchType)) {
731 b(label);
734 if (!label->IsBound()) {
736 label,
739 tbnz(rt, bit_pos, label);
744 void MacroAssembler::Tbz(const Register& rt, unsigned bit_pos, Label* label) {
753 if (label->IsBound() && LabelIsOutOfRange(label, TestBranchType)) {
760 b(label);
763 if (!label->IsBound()) {
765 label,
768 tbz(rt, bit_pos, label);
772 void MacroAssembler::Bind(Label* label, BranchTargetIdentifier id) {
774 veneer_pool_.DeleteUnresolvedBranchInfoForLabel(label);
776 bind(label);
781 bind(label);
792 // Bind a label to a specified offset from the start of the buffer.
793 void MacroAssembler::BindToOffset(Label* label, ptrdiff_t offset) {
795 veneer_pool_.DeleteUnresolvedBranchInfoForLabel(label);
796 Assembler::BindToOffset(label, offset);