Lines Matching defs:BF
136 BinaryFunction &BF = It.second;
137 if (!BF.hasValidIndex() && BF.hasValidProfile())
138 BF.setIndex(Index++);
279 [](const BinaryFunction &BF) {
280 if (!BF.hasProfile())
282 if (BF.getState() != BinaryFunction::State::CFG)
301 [](BinaryFunction &BF) { return &BF; });
325 for (BinaryFunction *BF : SortedFunctions)
326 if (BF->hasProfile()) {
327 BF->setIndex(Index++);
329 dbgs() << "BOLT-INFO: hot func " << BF->getPrintName() << " ("
330 << BF->getExecutionCount() << ")\n";
376 for (const BinaryFunction &BF : llvm::make_second_range(BFs))
377 for (StringRef Name : BF.getNames())
379 LTOCommonNameMap[*LTOCommonName].push_back(BF.getAddress());
423 BinaryFunction *BF = BC.getFunctionForSymbol(FuncBD->getSymbol());
424 if (!BF) {
431 if (!BF->hasValidIndex())
432 BF->setIndex(Index++);
476 [](BinaryFunction &BF) { return &BF; });