Lines Matching refs:pc_delta
331 uint32_t RelocInfoWriter::WriteVariableLengthPCJump(uint32_t pc_delta) { in WriteVariableLengthPCJump() argument
335 if (is_uintn(pc_delta, kSmallPCDeltaBits)) return pc_delta; in WriteVariableLengthPCJump()
337 uint32_t pc_jump = pc_delta >> kSmallPCDeltaBits; in WriteVariableLengthPCJump()
347 return pc_delta & kSmallPCDeltaMask; in WriteVariableLengthPCJump()
351 void RelocInfoWriter::WriteTaggedPC(uint32_t pc_delta, int tag) { in WriteTaggedPC() argument
353 pc_delta = WriteVariableLengthPCJump(pc_delta); in WriteTaggedPC()
354 *--pos_ = pc_delta << kTagBits | tag; in WriteTaggedPC()
370 void RelocInfoWriter::WriteExtraTaggedPC(uint32_t pc_delta, int extra_tag) { in WriteExtraTaggedPC() argument
372 pc_delta = WriteVariableLengthPCJump(pc_delta); in WriteExtraTaggedPC()
374 *--pos_ = pc_delta; in WriteExtraTaggedPC()
417 uint32_t pc_delta = static_cast<uint32_t>(rinfo->pc() - last_pc_); in Write() local
422 WriteTaggedPC(pc_delta, kEmbeddedObjectTag); in Write()
424 WriteTaggedPC(pc_delta, kCodeTargetTag); in Write()
432 WriteTaggedPC(pc_delta, kLocatableTag); in Write()
436 WriteExtraTaggedPC(pc_delta, kPCJumpExtraTag); in Write()
448 WriteTaggedPC(pc_delta, kLocatableTag); in Write()
452 WriteExtraTaggedPC(pc_delta, kPCJumpExtraTag); in Write()
458 WriteExtraTaggedPC(pc_delta, kPCJumpExtraTag); in Write()
462 WriteExtraTaggedPC(pc_delta, kPCJumpExtraTag); in Write()
472 WriteExtraTaggedPC(pc_delta, saved_mode); in Write()