Lines Matching defs:label
51 #include "src/codegen/label.h"
208 // Takes a branch opcode (cc) and a label (L) and generates
210 // to the label fixup chain. Usage:
212 // Label L; // unbound label
213 // j(cc, &L); // forward branch to unbound label
214 // bind(&L); // bind label to the current pc
215 // j(cc, &L); // backward branch to bound label
216 // bind(&L); // illegal: a label may be bound only once
221 void bind(Label* L); // binds an unbound label L to the current code position
223 // Links a label at the current pc_offset(). If already bound, returns the
232 // Returns the branch offset to the given label from the current code position
233 // Links the label to the current position if it is still unbound
990 // Load the position of the label relative to the generated code object
992 void mov_label_offset(Register dst, Label* label);
994 // dst = base + label position + delta
995 void add_label_offset(Register dst, Register base, Label* label,
998 // Load the address of the label in a register and associate with an
1000 void mov_label_addr(Register dst, Label* label);
1002 // Emit the address of the label (i.e. a jump table entry) and associate with
1004 void emit_label_addr(Label* label);
1189 // Jump unconditionally to given label.
1192 // Check the code size generated from label to here.
1193 int SizeOfCodeGeneratedSince(Label* label) {
1194 return pc_offset() - label->pos();
1197 // Check the number of instructions generated from label to here.
1198 int InstructionsGeneratedSince(Label* label) {
1199 return SizeOfCodeGeneratedSince(label) / kInstrSize;
1327 // label reference or kEndOfChain.