Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1362 uint64_t FuncEntryCount = getBBInfo(&*F.begin()).CountValue; in populateCounters() local
1363 uint64_t FuncMaxCount = FuncEntryCount; in populateCounters()
1372 if (FuncMaxCount > 0 && FuncEntryCount == 0) in populateCounters()
1373 FuncEntryCount = 1; in populateCounters()
1374 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1375 markFunctionAttributes(FuncEntryCount, FuncMaxCount); in populateCounters()
1647 uint64_t FuncEntryCount = Func.getBBInfo(&*F.begin()).CountValue; in fixFuncEntryCount() local
1648 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount()
1651 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
1654 << ", entry_count " << FuncEntryCount << " --> " in fixFuncEntryCount()