Home
last modified time | relevance | path

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

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp386 auto adjustedCount = [&](uint64_t Count) -> uint64_t { in adjustExecutionCount() local
393 setExecutionCount(adjustedCount(getKnownExecutionCount())); in adjustExecutionCount()
396 BI.Count = adjustedCount(BI.Count); in adjustExecutionCount()
398 BI.MispredictedCount = adjustedCount(BI.MispredictedCount); in adjustExecutionCount()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprCXX.cpp772 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize() local
776 if (adjustedCount.ult(minElements)) in EmitCXXNewAllocSize()
783 adjustedCount * arraySizeMultiplier); in EmitCXXNewAllocSize()
788 = adjustedCount.umul_ov(typeSizeMultiplier, overflow); in EmitCXXNewAllocSize()