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

/external/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...]

Completed in 88 milliseconds