Lines Matching refs:DistanceTo
218 return IsValidImmPCOffset(BranchType(), DistanceTo(target)); in IsTargetInImmPCOffsetRange()
240 ptrdiff_t target_offset = DistanceTo(target); in SetPCRelImmTarget()
254 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetBranchImmTarget()
256 DistanceTo(target) >> kInstructionSizeLog2)); in SetBranchImmTarget()
257 int offset = static_cast<int>(DistanceTo(target) >> kInstructionSizeLog2); in SetBranchImmTarget()
290 DCHECK(IsAligned(DistanceTo(target), kInstructionSize)); in SetUnresolvedInternalReferenceImmTarget()
291 DCHECK(is_int32(DistanceTo(target) >> kInstructionSizeLog2)); in SetUnresolvedInternalReferenceImmTarget()
293 static_cast<int32_t>(DistanceTo(target) >> kInstructionSizeLog2); in SetUnresolvedInternalReferenceImmTarget()
305 DCHECK(IsAligned(DistanceTo(source), kInstructionSize)); in SetImmLLiteral()
306 DCHECK(Assembler::IsImmLLiteral(DistanceTo(source))); in SetImmLLiteral()
308 static_cast<int>(DistanceTo(source) >> kLoadLiteralScaleLog2)); in SetImmLLiteral()