[yaml2obj/obj2yaml] - Add support for .stack_sizes sections.
[llvm-complete.git] / include / llvm / Transforms / Scalar / IVUsersPrinter.h
bloba1f20d9ca98351b9fb7de5af4245fd68f1002a0a
1 //===- IVUsersPrinter.h - Induction Variable Users Printing -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TRANSFORMS_SCALAR_IVUSERSPRINTER_H
10 #define LLVM_TRANSFORMS_SCALAR_IVUSERSPRINTER_H
12 #include "llvm/Analysis/IVUsers.h"
13 #include "llvm/Support/raw_ostream.h"
14 #include "llvm/Transforms/Scalar/LoopPassManager.h"
16 namespace llvm {
18 /// Printer pass for the \c IVUsers for a loop.
19 class IVUsersPrinterPass : public PassInfoMixin<IVUsersPrinterPass> {
20 raw_ostream &OS;
22 public:
23 explicit IVUsersPrinterPass(raw_ostream &OS) : OS(OS) {}
24 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
25 LoopStandardAnalysisResults &AR, LPMUpdater &U);
29 #endif