Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp621 int Bonus = 0; in getSpecializationBonus() local
646 Bonus += Params.DefaultThreshold; in getSpecializationBonus()
648 Bonus += IC.getCostDelta(); in getSpecializationBonus()
650 LLVM_DEBUG(dbgs() << "FnSpecialization: Inlining bonus " << Bonus in getSpecializationBonus()
654 return TotalCost + Bonus; in getSpecializationBonus()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp53 unsigned Bonus = 0; in adjustInliningThreshold() local
61 Bonus += 150; in adjustInliningThreshold()
64 LLVM_DEBUG(if (Bonus) in adjustInliningThreshold()
65 dbgs() << "++ SZTTI Adding inlining bonus: " << Bonus << "\n";); in adjustInliningThreshold()
66 return Bonus; in adjustInliningThreshold()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp526 unsigned Bonus = 0; in getJumpThreadDuplicationCost() local
532 Bonus = 6; in getJumpThreadDuplicationCost()
536 Bonus = 8; in getJumpThreadDuplicationCost()
541 Threshold += Bonus; in getJumpThreadDuplicationCost()
582 return Size > Bonus ? Size - Bonus : 0; in getJumpThreadDuplicationCost()