Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Transforms/Scalar/IVUsersPrinter.cpp
Line
Count
Source
1
//===- IVUsersPrinter.cpp - Induction Variable Users Printer ----*- 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
#include "llvm/Transforms/Scalar/IVUsersPrinter.h"
10
#include "llvm/Analysis/IVUsers.h"
11
#include "llvm/Support/Debug.h"
12
using namespace llvm;
13
14
#define DEBUG_TYPE "iv-users"
15
16
PreservedAnalyses IVUsersPrinterPass::run(Loop &L, LoopAnalysisManager &AM,
17
                                          LoopStandardAnalysisResults &AR,
18
5
                                          LPMUpdater &U) {
19
5
  AM.getResult<IVUsersAnalysis>(L, AR).print(OS);
20
5
  return PreservedAnalyses::all();
21
5
}