[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / llvm / lib / Transforms / Scalar / IVUsersPrinter.cpp
blob26f2db183fbf1e4dc3645205ac343678d2e823f5
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 //===----------------------------------------------------------------------===//
9 #include "llvm/Transforms/Scalar/IVUsersPrinter.h"
10 #include "llvm/Analysis/IVUsers.h"
11 using namespace llvm;
13 #define DEBUG_TYPE "iv-users"
15 PreservedAnalyses IVUsersPrinterPass::run(Loop &L, LoopAnalysisManager &AM,
16 LoopStandardAnalysisResults &AR,
17 LPMUpdater &U) {
18 AM.getResult<IVUsersAnalysis>(L, AR).print(OS);
19 return PreservedAnalyses::all();