Searched refs:InlineCost (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h1 //===- InlineCost.h - Cost analysis for inliner -----------------*- C++ -*-===//
50 class InlineCost { class in namespace:llvm
63 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} function in class:llvm::InlineCost
66 static InlineCost get(int Cost, int Threshold) {
69 return InlineCost(Cost, Threshold);
71 static InlineCost getAlways() {
72 return InlineCost(AlwaysInlineCost, 0);
74 static InlineCost getNever() {
75 return InlineCost(NeverInlineCost, 0);
88 /// It is an error to call this on an "always" or "never" InlineCost
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Transforms/IPO/
H A DInlineAlways.cpp19 #include "llvm/Analysis/InlineCost.h"
50 virtual InlineCost getInlineCost(CallSite CS);
89 InlineCost AlwaysInliner::getInlineCost(CallSite CS) {
99 return InlineCost::getAlways();
101 return InlineCost::getNever();
H A DInlineSimple.cpp17 #include "llvm/Analysis/InlineCost.h"
51 InlineCost getInlineCost(CallSite CS) {
H A DInliner.cpp21 #include "llvm/Analysis/InlineCost.h"
286 InlineCost IC = getInlineCost(CS);
345 InlineCost IC2 = getInlineCost(CS2);
/freebsd-10.2-release/lib/clang/libllvmipa/
H A DMakefile13 InlineCost.cpp
/freebsd-10.2-release/contrib/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h25 class InlineCost;
67 virtual InlineCost getInlineCost(CallSite CS) = 0;
/freebsd-10.2-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp1 //===- InlineCost.cpp - Cost analysis for inliner -------------------------===//
15 #include "llvm/Analysis/InlineCost.h"
1209 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, int Threshold) {
1229 InlineCost InlineCostAnalysis::getInlineCost(CallSite CS, Function *Callee,
1233 return llvm::InlineCost::getNever();
1239 return llvm::InlineCost::getAlways();
1240 return llvm::InlineCost::getNever();
1246 return llvm::InlineCost::getNever();
1250 return llvm::InlineCost::getNever();
1257 return llvm::InlineCost
[all...]

Completed in 169 milliseconds