You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.182
Former-commit-id: f9d55cf82631bfd710c387739687e5845296aea1
This commit is contained in:
parent
8625704ad8
commit
b716dc8d12
@ -1,25 +0,0 @@
|
||||
//===- LoopAccessAnalysisPrinter.cpp - Loop Access Analysis Printer --------==//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h"
|
||||
#include "llvm/Analysis/LoopAccessAnalysis.h"
|
||||
using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "loop-accesses"
|
||||
|
||||
PreservedAnalyses
|
||||
LoopAccessInfoPrinterPass::run(Loop &L, LoopAnalysisManager &AM,
|
||||
LoopStandardAnalysisResults &AR, LPMUpdater &) {
|
||||
Function &F = *L.getHeader()->getParent();
|
||||
auto &LAI = AM.getResult<LoopAccessAnalysis>(L, AR);
|
||||
OS << "Loop access info in function '" << F.getName() << "':\n";
|
||||
OS.indent(2) << L.getHeader()->getName() << ":\n";
|
||||
LAI.print(OS, 4);
|
||||
return PreservedAnalyses::all();
|
||||
}
|
Reference in New Issue
Block a user