summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Analysis/LoopPass.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Analysis/LoopPass.h')
-rw-r--r--llvm/include/llvm/Analysis/LoopPass.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/include/llvm/Analysis/LoopPass.h b/llvm/include/llvm/Analysis/LoopPass.h
index 89debec04e9..2cf734e53bb 100644
--- a/llvm/include/llvm/Analysis/LoopPass.h
+++ b/llvm/include/llvm/Analysis/LoopPass.h
@@ -88,10 +88,9 @@ public:
virtual void deleteAnalysisLoop(Loop *L) {}
protected:
- /// Optional passes call this function to check whether the pass should be
- /// skipped. This is the case when Attribute::OptimizeNone is set or when
- /// optimization bisect is over the limit.
- bool skipLoop(const Loop *L) const;
+ /// skipOptnoneFunction - Containing function has Attribute::OptimizeNone
+ /// and most transformation passes should skip it.
+ bool skipOptnoneFunction(const Loop *L) const;
};
class LPPassManager : public FunctionPass, public PMDataManager {
OpenPOWER on IntegriCloud