Lines Matching refs:label
210 auto label = bytecode->CastOperand<CodeLocation>(0)->label; in Visit() local
212 if (label->offset != kInvalidOffset) { in Visit()
213 assert(label->offset <= offset_); in Visit()
214 A = label->offset - offset_; in Visit()
218 fixups_.push_back(LabelFixup(offset_, label, true)); in Visit()
227 auto label = bytecode->CastOperand<CodeLocation>(0)->label; in Visit() local
229 if (label->offset != kInvalidOffset) { in Visit()
231 assert(label->offset <= offset_); in Visit()
232 A = label->offset - offset_; in Visit()
234 fixups_.push_back(LabelFixup(offset_, label, false)); in Visit()
245 auto label = bytecode->CastOperand<CodeLocation>(1)->label; in Visit() local
247 if (label->offset != kInvalidOffset) { in Visit()
248 assert(label->offset <= offset_); in Visit()
249 B = label->offset - offset_; in Visit()
253 fixups_.push_back(LabelFixup(offset_, label, true)); in Visit()
264 auto label = bytecode->CastOperand<CodeLocation>(2)->label; in Visit() local
266 if (label->offset != kInvalidOffset) { in Visit()
267 assert(label->offset <= offset_); in Visit()
268 C = label->offset - offset_; in Visit()
272 fixups_.push_back(LabelFixup(offset_, label, true)); in Visit()
282 auto label = bytecode->CastOperand<CodeLocation>(1)->label; in Visit() local
284 if (label->offset != kInvalidOffset) { in Visit()
285 assert(label->offset <= offset_); in Visit()
286 B = label->offset - offset_; in Visit()
289 fixups_.push_back(LabelFixup(offset_, label, false)); in Visit()
496 bool BytecodeEncoder::Visit(Label* label) { in Visit() argument
498 if (label->aligned && offset_ % 2 == 1) { in Visit()
503 label->offset = offset_; in Visit()
559 auto label = instr->targets[i]; in FixupPackedSwitch() local
560 assert(label->offset != kInvalidOffset); in FixupPackedSwitch()
561 payload->targets[i] = label->offset - base_offset; in FixupPackedSwitch()
578 auto label = instr->switch_cases[i].target; in FixupSparseSwitch() local
579 assert(label->offset != kInvalidOffset); in FixupSparseSwitch()
580 targets[i] = label->offset - base_offset; in FixupSparseSwitch()
586 dex::u4 label_offset = fixup.label->offset; in FixupLabels()