Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1642 uint64_t FuncEntryCount = getBBInfo(&*F.begin()).CountValue; in populateCounters() local
1643 uint64_t FuncMaxCount = FuncEntryCount; in populateCounters()
1652 if (FuncMaxCount > 0 && FuncEntryCount == 0) in populateCounters()
1653 FuncEntryCount = 1; in populateCounters()
1654 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1655 markFunctionAttributes(FuncEntryCount, FuncMaxCount); in populateCounters()
1972 uint64_t FuncEntryCount = Func.getBBInfo(&*F.begin()).CountValue; in fixFuncEntryCount() local
1973 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount()
1976 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
1979 << ", entry_count " << FuncEntryCount << " --> " in fixFuncEntryCount()