Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp144 bool ShouldInline = false; in processFunction() local
145 if ((ShouldInline = shouldInline(Candidate))) { in processFunction()
154 LLVM_DEBUG(dbgs() << (ShouldInline ? " Inlined" : " Outlined") in processFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp2608 InlineResult ShouldInline = CA.analyze(); in getInlineCost() local
2616 if (ShouldInline.isSuccess()) in getInlineCost()
2623 if (!ShouldInline.isSuccess() && CA.getCost() < CA.getThreshold()) in getInlineCost()
2624 return InlineCost::getNever(ShouldInline.getFailureReason()); in getInlineCost()
2625 if (ShouldInline.isSuccess() && CA.getCost() >= CA.getThreshold()) in getInlineCost()