Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 pmbaty 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
//===----------------------------------------------------------------------===//
8
 
9
#ifndef LLVM_TRANSFORMS_SCALAR_IVUSERSPRINTER_H
10
#define LLVM_TRANSFORMS_SCALAR_IVUSERSPRINTER_H
11
 
12
#include "llvm/Analysis/LoopAnalysisManager.h"
13
#include "llvm/IR/PassManager.h"
14
 
15
namespace llvm {
16
class LPMUpdater;
17
class Loop;
18
class raw_ostream;
19
 
20
/// Printer pass for the \c IVUsers for a loop.
21
class IVUsersPrinterPass : public PassInfoMixin<IVUsersPrinterPass> {
22
  raw_ostream &OS;
23
 
24
public:
25
  explicit IVUsersPrinterPass(raw_ostream &OS) : OS(OS) {}
26
  PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
27
                        LoopStandardAnalysisResults &AR, LPMUpdater &U);
28
};
29
}
30
 
31
#endif