Home
last modified time | relevance | path

Searched refs:JumpDistance (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DTailDuplication.cpp389 uint64_t JumpDistance = 0; in cacheScore() local
393 JumpDistance = (DstAddr + DstSize) - (SrcAddr); in cacheScore()
395 JumpDistance = (SrcAddr + SrcSize) - (DstAddr); in cacheScore()
398 if (JumpDistance >= opts::TailDuplicationMaxCacheDistance) in cacheScore()
400 double Prob = 1.0 - static_cast<double>(JumpDistance) / in cacheScore()