Lines Matching refs:BinaryFunction
53 BinaryBasicBlock *getBBAtHotColdSplitPoint(BinaryFunction &Func) { in getBBAtHotColdSplitPoint()
78 BinaryFunction &Func = *SourceBB.getFunction(); in createNewStub()
121 const StubGroupsTy &StubGroups, const BinaryFunction &Func, in lookupStubFromGroup()
162 const BinaryFunction &Func = *SourceBB.getFunction(); in lookupGlobalStub()
172 const BinaryFunction &Func = *SourceBB.getFunction(); in lookupLocalStub()
173 const DenseMap<const BinaryFunction *, StubGroupsTy> &StubGroups = in lookupLocalStub()
185 const BinaryFunction &Func = *BB.getFunction(); in replaceTargetWithStub()
272 void LongJmpPass::tentativeBBLayout(const BinaryFunction &Func) { in tentativeBBLayout()
290 const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions, in tentativeLayoutRelocColdPart()
293 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayoutRelocColdPart()
296 DotAddress = alignTo(DotAddress, BinaryFunction::MinAlign); in tentativeLayoutRelocColdPart()
312 const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions, in tentativeLayoutRelocMode()
319 for (BinaryFunction *BF : SortedFunctions) { in tentativeLayoutRelocMode()
328 for (BinaryFunction *BF : SortedFunctions) { in tentativeLayoutRelocMode()
341 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayoutRelocMode()
355 DotAddress = alignTo(DotAddress, BinaryFunction::MinAlign); in tentativeLayoutRelocMode()
373 for (BinaryFunction *Func : SortedFunctions) in tentativeLayoutRelocMode()
380 const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions) { in tentativeLayout()
384 for (BinaryFunction *Func : SortedFunctions) { in tentativeLayout()
418 bool LongJmpPass::usesStub(const BinaryFunction &Func, in usesStub()
437 const BinaryFunction *TargetFunc = BC.getFunctionForSymbol(Target, &EntryID); in getSymbolAddress()
450 const BinaryFunction &Func = *StubBB.getFunction(); in relaxStub()
504 const BinaryFunction &Func = *BB.getFunction(); in needsStub()
527 bool LongJmpPass::relax(BinaryFunction &Func) { in relax()
618 std::vector<BinaryFunction *> Sorted = BC.getSortedFunctions(); in runOnFunctions()
626 for (BinaryFunction *Func : Sorted) { in runOnFunctions()