Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h
Line
Count
Source (jump to first uncovered line)
1
//===- LoopUnrollAndJamPass.h -----------------------------------*- 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_LOOPUNROLLANDJAMPASS_H
10
#define LLVM_TRANSFORMS_SCALAR_LOOPUNROLLANDJAMPASS_H
11
12
#include "llvm/Analysis/LoopAnalysisManager.h"
13
#include "llvm/Analysis/LoopInfo.h"
14
#include "llvm/IR/PassManager.h"
15
16
namespace llvm {
17
18
class Loop;
19
struct LoopStandardAnalysisResults;
20
class LPMUpdater;
21
22
/// A simple loop rotation transformation.
23
class LoopUnrollAndJamPass : public PassInfoMixin<LoopUnrollAndJamPass> {
24
  const int OptLevel;
25
26
public:
27
0
  explicit LoopUnrollAndJamPass(int OptLevel = 2) : OptLevel(OptLevel) {}
28
  PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
29
                        LoopStandardAnalysisResults &AR, LPMUpdater &U);
30
};
31
32
} // end namespace llvm
33
34
#endif // LLVM_TRANSFORMS_SCALAR_LOOPUNROLLANDJAMPASS_H