mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user