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 d34641def0..3a2b36cae2 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 1e2bbaa295..2de66e4a3c 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 6018a803c6..b56678b204 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); }; } |