Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp275 int Bonus = 0; in getSpecializationBonus() local
279 Bonus -= InlineConstants::ColdccPenalty; in getSpecializationBonus()
294 Bonus += CountBonusForConstant(I); in getSpecializationBonus()
299 Bonus -= CalleeFI->Metrics.NumCalls * InlineConstants::CallPenalty; in getSpecializationBonus()
301 return Bonus; in getSpecializationBonus()
318 int Bonus = InlineConstants::IndirectCallBonus + getInlineSize(CS, F); in ConstantFunctionBonus() local
319 return (Bonus > 0) ? 0 : Bonus; in ConstantFunctionBonus()
325 unsigned Bonus = 0; in CountBonusForConstant() local
331 Bonus += ConstantFunctionBonus(CallSite(CI), C); in CountBonusForConstant()
335 Bonus += ConstantFunctionBonus(CallSite(II), C); in CountBonusForConstant()
[all …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp268 unsigned Bonus = 0; in getJumpThreadDuplicationCost() local
273 Bonus = 6; in getJumpThreadDuplicationCost()
277 Bonus = 8; in getJumpThreadDuplicationCost()
281 Threshold += Bonus; in getJumpThreadDuplicationCost()
323 return Size > Bonus ? Size - Bonus : 0; in getJumpThreadDuplicationCost()
/external/honggfuzz/examples/terminal-emulators/
DREADME.md84 ## Bonus: term.log ##
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp465 unsigned Bonus = 0; in getJumpThreadDuplicationCost() local
471 Bonus = 6; in getJumpThreadDuplicationCost()
475 Bonus = 8; in getJumpThreadDuplicationCost()
480 Threshold += Bonus; in getJumpThreadDuplicationCost()
522 return Size > Bonus ? Size - Bonus : 0; in getJumpThreadDuplicationCost()