Lines Matching defs:ChildBF
1418 void BinaryContext::foldFunction(BinaryFunction &ChildBF,
1420 assert(!ChildBF.isMultiEntry() && !ParentBF.isMultiEntry() &&
1427 const StringRef ChildName = ChildBF.getOneName();
1430 for (MCSymbol *Symbol : ChildBF.getSymbols()) {
1437 ChildBF.getSymbols().clear();
1440 llvm::move(ChildBF.Aliases, std::back_inserter(ParentBF.Aliases));
1441 ChildBF.Aliases.clear();
1444 // Merge execution counts of ChildBF into those of ParentBF.
1447 ChildBF.mergeProfileDataInto(ParentBF);
1453 // Remove ChildBF from the global set of functions in relocs mode.
1455 auto FI = BinaryFunctions.find(ChildBF.getAddress());
1459 assert(&ChildBF == &FI->second && "function mismatch");
1462 ChildBF.clearDisasmState();
1471 ChildBF.getSymbols().push_back(Ctx->getOrCreateSymbol(NewName));
1474 ChildBF.setFolded(&ParentBF);