mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Adjustments to last patch based on review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -61,6 +61,11 @@ struct Inliner : public CallGraphSCCPass {
|
||||
///
|
||||
virtual float getInlineFudgeFactor(CallSite CS) = 0;
|
||||
|
||||
/// resetCachedCostInfo - erase any cached cost data from the derived class.
|
||||
/// If the derived class has no such data this can be empty.
|
||||
///
|
||||
virtual void resetCachedCostInfo(Function* Caller) = 0;
|
||||
|
||||
/// removeDeadFunctions - Remove dead functions that are not included in
|
||||
/// DNR (Do Not Remove) list.
|
||||
bool removeDeadFunctions(CallGraph &CG,
|
||||
|
Reference in New Issue
Block a user