diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 22:47:19 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-30 22:47:19 +0000 |
| commit | 652f7ea955bb433d6b7a4d33685dca9485fd7b8b (patch) | |
| tree | 0767e9795827970bb39980558044dfd47703795c /include/llvm/Transforms | |
| parent | 8666cc3b99cccef39281c715754e551a2b14363d (diff) | |
Revert 51775.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
| -rw-r--r-- | include/llvm/Transforms/IPO/InlinerPass.h | 4 | ||||
| -rw-r--r-- | include/llvm/Transforms/Utils/Cloning.h | 2 | ||||
| -rw-r--r-- | include/llvm/Transforms/Utils/InlineCost.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Transforms/IPO/InlinerPass.h b/include/llvm/Transforms/IPO/InlinerPass.h index 3a2b36cae2..d34641def0 100644 --- a/include/llvm/Transforms/IPO/InlinerPass.h +++ b/include/llvm/Transforms/IPO/InlinerPass.h @@ -53,12 +53,12 @@ struct Inliner : public CallGraphSCCPass { /// returned is greater than the current inline threshold, the call site is /// not inlined. /// - virtual int getInlineCost(CallSite cs) = 0; + virtual int getInlineCost(CallSite CS) = 0; // getInlineFudgeFactor - Return a > 1.0 factor if the inliner should use a // higher threshold to determine if the function call should be inlined. /// - virtual float getInlineFudgeFactor(CallSite cs) = 0; + virtual float getInlineFudgeFactor(CallSite CS) = 0; private: // InlineThreshold - Cache the value here for easy access. diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index 2de66e4a3c..1e2bbaa295 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -184,7 +184,7 @@ std::vector<BasicBlock *> CloneTrace(const std::vector<BasicBlock*> &origTrace); /// bool InlineFunction(CallInst *C, CallGraph *CG = 0, const TargetData *TD = 0); bool InlineFunction(InvokeInst *II, CallGraph *CG = 0, const TargetData *TD =0); -bool InlineFunction(CallSite cs, CallGraph *CG = 0, const TargetData *TD = 0); +bool InlineFunction(CallSite CS, CallGraph *CG = 0, const TargetData *TD = 0); } // End llvm namespace diff --git a/include/llvm/Transforms/Utils/InlineCost.h b/include/llvm/Transforms/Utils/InlineCost.h index b56678b204..6018a803c6 100644 --- a/include/llvm/Transforms/Utils/InlineCost.h +++ b/include/llvm/Transforms/Utils/InlineCost.h @@ -77,12 +77,12 @@ namespace llvm { // getInlineCost - The heuristic used to determine if we should inline the // function call or not. // - int getInlineCost(CallSite cs, + int getInlineCost(CallSite CS, SmallPtrSet<const Function *, 16> &NeverInline); // 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); + float getInlineFudgeFactor(CallSite CS); }; } |
