Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp277 getOutliningCallBBRelativeFreq(FunctionCloner &Cloner) const;
281 bool shouldPartialInline(CallBase &CB, FunctionCloner &Cloner,
288 bool tryPartialInline(FunctionCloner &Cloner);
327 computeOutliningCosts(FunctionCloner &Cloner) const;
674 FunctionCloner &Cloner) const { in getOutliningCallBBRelativeFreq()
675 BasicBlock *OutliningCallBB = Cloner.OutlinedFunctions.back().second; in getOutliningCallBBRelativeFreq()
677 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock()); in getOutliningCallBBRelativeFreq()
679 Cloner.ClonedFuncBFI->getBlockFreq(OutliningCallBB); in getOutliningCallBBRelativeFreq()
689 if (hasProfileData(*Cloner.OrigFunc, *Cloner.ClonedOI)) in getOutliningCallBBRelativeFreq()
714 CallBase &CB, FunctionCloner &Cloner, BlockFrequency WeightedOutliningRcost, in shouldPartialInline() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCloner.h92 BaseCloner Cloner(OrigF, Suffix, Shape, NewF, ActiveSuspend, TTI); in createClone()
93 Cloner.create(); in createClone()
94 return Cloner.getFunction(); in createClone()
145 SwitchCloner Cloner(OrigF, Suffix, Shape, FKind, TTI); in createClone()
146 Cloner.create(); in createClone()
147 return Cloner.getFunction(); in createClone()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAllocatorList.h57 struct Cloner { struct
60 Cloner(AllocatorList &AL) : AL(AL) {} in Cloner() function
136 List.cloneFrom(X.List, Cloner(*this), Disposer(*this)); in AllocatorList()
147 List.cloneFrom(X.List, Cloner(*this), Disposer(*this));
H A Dsimple_ilist.h178 template <class Cloner, class Disposer>
179 void cloneFrom(const simple_ilist &L2, Cloner clone, Disposer dispose) {
H A Dilist.h182 template <class Cloner> void cloneFrom(const iplist_impl &L2, Cloner clone) {