Lines Matching defs:label
15 #include "src/codegen/label.h"
158 // Takes a branch opcode (cc) and a label (L) and generates
160 // to the label fixup chain. Usage:
162 // Label L; // unbound label
163 // j(cc, &L); // forward branch to unbound label
164 // bind(&L); // bind label to the current pc
165 // j(cc, &L); // backward branch to bound label
166 // bind(&L); // illegal: a label may be bound only once
170 void bind(Label* L); // Binds an unbound label L to current code position.
183 // Returns the branch offset to the given label from the current code
184 // position. Links the label to the current position if it is still unbound.
688 // Check the code size generated from label to here.
689 int SizeOfCodeGeneratedSince(Label* label) {
690 return pc_offset() - label->pos();
693 // Check the number of instructions generated from label to here.
694 int InstructionsGeneratedSince(Label* label) {
695 return SizeOfCodeGeneratedSince(label) / kInstrSize;
747 void dd(Label* label);
995 // Space for trampoline slots precedes space for labels. Each label is of one