diff options
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); }; } |
