Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp333 int Bonus = 0; in getSpecializationBonus() local
358 Bonus += Params.DefaultThreshold; in getSpecializationBonus()
360 Bonus += IC.getCostDelta(); in getSpecializationBonus()
363 return TotalCost + Bonus; in getSpecializationBonus()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp527 unsigned Bonus = 0; in getJumpThreadDuplicationCost() local
533 Bonus = 6; in getJumpThreadDuplicationCost()
537 Bonus = 8; in getJumpThreadDuplicationCost()
542 Threshold += Bonus; in getJumpThreadDuplicationCost()
592 return Size > Bonus ? Size - Bonus : 0; in getJumpThreadDuplicationCost()