diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-15 00:29:08 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-15 00:29:08 +0000 |
commit | 220d2d7b50ddbbab1fe5e57fe9f39e72ef430a89 (patch) | |
tree | cd2f7466894af341fb53866a7a59889250198126 /include | |
parent | 7e2fa3142aca46d9435a5804932ef76123c0cf71 (diff) | |
download | external_llvm-220d2d7b50ddbbab1fe5e57fe9f39e72ef430a89.zip external_llvm-220d2d7b50ddbbab1fe5e57fe9f39e72ef430a89.tar.gz external_llvm-220d2d7b50ddbbab1fe5e57fe9f39e72ef430a89.tar.bz2 |
Remove all remnants of partial specialization in the cost computation
side of things. This is all dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/InlineCost.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h index f8bb18d..19a9c81 100644 --- a/include/llvm/Analysis/InlineCost.h +++ b/include/llvm/Analysis/InlineCost.h @@ -177,18 +177,6 @@ namespace llvm { Function *Callee, SmallPtrSet<const Function *, 16> &NeverInline); - /// getSpecializationBonus - The heuristic used to determine the per-call - /// performance boost for using a specialization of Callee with argument - /// SpecializedArgNos replaced by a constant. - int getSpecializationBonus(Function *Callee, - SmallVectorImpl<unsigned> &SpecializedArgNo); - - /// getSpecializationCost - The heuristic used to determine the code-size - /// impact of creating a specialized version of Callee with argument - /// SpecializedArgNo replaced by a constant. - InlineCost getSpecializationCost(Function *Callee, - SmallVectorImpl<unsigned> &SpecializedArgNo); - /// getInlineFudgeFactor - Return a > 1.0 factor if the inliner should use a /// higher threshold to determine if the function call should be inlined. float getInlineFudgeFactor(CallSite CS); |