diff options
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/MutateStructTypes.h | 2 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar/InductionVars.h | 4 | ||||
-rw-r--r-- | include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Transforms/MutateStructTypes.h b/include/llvm/Transforms/MutateStructTypes.h index f1132fd..4ed7440 100644 --- a/include/llvm/Transforms/MutateStructTypes.h +++ b/include/llvm/Transforms/MutateStructTypes.h @@ -88,7 +88,7 @@ private: // transformMethod - This transforms the instructions of the method to use the // new types. // - void transformMethod(Method *M); + void transformMethod(Function *F); // removeDeadGlobals - This removes the old versions of methods that are no // longer needed. diff --git a/include/llvm/Transforms/Scalar/InductionVars.h b/include/llvm/Transforms/Scalar/InductionVars.h index 7c79afa..b40f8f3 100644 --- a/include/llvm/Transforms/Scalar/InductionVars.h +++ b/include/llvm/Transforms/Scalar/InductionVars.h @@ -14,9 +14,9 @@ namespace cfg { class IntervalPartition; } struct InductionVariableCannonicalize : public MethodPass { // doInductionVariableCannonicalize - Simplify induction variables in loops // - static bool doIt(Method *M, cfg::IntervalPartition &IP); + static bool doIt(Function *M, cfg::IntervalPartition &IP); - virtual bool runOnMethod(Method *M); + virtual bool runOnMethod(Function *M); // getAnalysisUsageInfo - Declare that we need IntervalPartitions void getAnalysisUsageInfo(Pass::AnalysisSet &Required, diff --git a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h index 4c87b09..86784ed 100644 --- a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h +++ b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h @@ -23,11 +23,11 @@ public: // // If there are no return stmts in the Method, a null pointer is returned. // - static bool doit(Method *M, BasicBlock *&ExitNode); + static bool doit(Function *F, BasicBlock *&ExitNode); - virtual bool runOnMethod(Method *M) { - return doit(M, ExitNode); + virtual bool runOnMethod(Function *F) { + return doit(F, ExitNode); } BasicBlock *getExitNode() const { return ExitNode; } |