Lines Matching defs:label
219 // Bind a label to the current pc. Note that labels can only be bound once,
222 void bind(Label* label);
307 // Return the code size generated from label to the current position.
308 uint64_t SizeOfCodeGeneratedSince(const Label* label) {
309 DCHECK(label->is_bound());
310 DCHECK_GE(pc_offset(), label->pos());
312 return pc_offset() - label->pos();
315 // Return the number of instructions generated from label to the
317 uint64_t InstructionsGeneratedSince(const Label* label) {
318 return SizeOfCodeGeneratedSince(label) / kInstrSize;
378 // Unconditional branch to label.
379 void b(Label* label);
381 // Conditional branch to label.
382 void b(Label* label, Condition cond);
390 // Branch-link to label / pc offset.
391 void bl(Label* label);
394 // Compare and branch to label / pc offset if zero.
395 void cbz(const Register& rt, Label* label);
398 // Compare and branch to label / pc offset if not zero.
399 void cbnz(const Register& rt, Label* label);
402 // Test bit and branch to label / pc offset if zero.
403 void tbz(const Register& rt, unsigned bit_pos, Label* label);
406 // Test bit and branch to label / pc offset if not zero.
407 void tbnz(const Register& rt, unsigned bit_pos, Label* label);
413 void adr(const Register& rd, Label* label);
2052 void dcptr(Label* label);
2515 // Remove the specified branch from the unbound label link chain.
2516 // If available, a veneer for this label can be used for other branches in the
2518 void RemoveBranchFromLabelLinkChain(Instruction* branch, Label* label,
2603 // Return an offset for a label-referencing instruction, typically a branch.
2604 int LinkAndGetByteOffsetTo(Label* label);
2608 inline int LinkAndGetInstructionOffsetTo(Label* label);
2612 // Verify that a label's link chain is intact.
2613 void CheckLabelLinkChain(Label const* label);
2685 FarBranchInfo(int offset, Label* label)
2686 : pc_offset_(offset), label_(label) {}
2689 // The label branched to.
2696 // after a label is bound. The MacroAssembler uses this information to
2736 // removed from the associated label's link chain so that the assembler does
2738 // the label.
2739 void DeleteUnresolvedBranchInfoForLabel(Label* label);
2740 // This function deletes the information related to the label by traversing
2741 // the label chain, and for each PC-relative instruction in the chain checking
2743 // the length of the label chain.
2744 void DeleteUnresolvedBranchInfoForLabelTraverse(Label* label);