Home
last modified time | relevance | path

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

/llvm-project-15.0.7/bolt/lib/Passes/
H A DIdenticalCodeFolding.cpp495 BinaryFunction *ChildBF = Twins[I]; in runOnFunctions() local
496 LLVM_DEBUG(dbgs() << "BOLT-DEBUG: folding " << *ChildBF << " into " in runOnFunctions()
500 auto FI = Candidates.find(ChildBF); in runOnFunctions()
506 BytesSavedEstimate += ChildBF->getSize(); in runOnFunctions()
507 CallsSavedEstimate += std::min(ChildBF->getKnownExecutionCount(), in runOnFunctions()
509 BC.foldFunction(*ChildBF, *ParentBF); in runOnFunctions()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryContext.cpp1319 void BinaryContext::foldFunction(BinaryFunction &ChildBF, in foldFunction() argument
1321 assert(!ChildBF.isMultiEntry() && !ParentBF.isMultiEntry() && in foldFunction()
1329 const StringRef ChildName = ChildBF.getOneName(); in foldFunction()
1332 for (MCSymbol *Symbol : ChildBF.getSymbols()) { in foldFunction()
1339 ChildBF.getSymbols().clear(); in foldFunction()
1343 ChildBF.Aliases.clear(); in foldFunction()
1349 ChildBF.mergeProfileDataInto(ParentBF); in foldFunction()
1357 auto FI = BinaryFunctions.find(ChildBF.getAddress()); in foldFunction()
1361 assert(&ChildBF == &FI->second && "function mismatch"); in foldFunction()
1364 ChildBF.clearDisasmState(); in foldFunction()
[all …]
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryContext.h1105 void foldFunction(BinaryFunction &ChildBF, BinaryFunction &ParentBF);