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++ -*-===//
51 class InlineCost { class in namespace:llvm
64 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} function in class:llvm::InlineCost
67 static InlineCost get(int Cost, int Threshold) {
70 return InlineCost(Cost, Threshold);
72 static InlineCost getAlways() {
73 return InlineCost(AlwaysInlineCost, 0);
75 static InlineCost getNever() {
76 return InlineCost(NeverInlineCost, 0);
89 /// It is an error to call this on an "always" or "never" InlineCost
[all...]

Completed in 84 milliseconds