Home
last modified time | relevance | path

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

/llvm-project/bolt/lib/Passes/
H A DPatchEntries.cpp121 BinaryFunction *PatchFunction = BC.createInjectedBinaryFunction( in runOnFunctions() local
124 PatchFunction->setOutputAddress(Patch.Address); in runOnFunctions()
125 PatchFunction->setFileOffset(Patch.FileOffset); in runOnFunctions()
126 PatchFunction->setOriginSection(Patch.Section); in runOnFunctions()
130 PatchFunction->addBasicBlock()->addInstructions(Seq); in runOnFunctions()
134 std::tie(HotSize, ColdSize) = BC.calculateEmittedSize(*PatchFunction); in runOnFunctions()