projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo
[oota-llvm.git]
/
lib
/
Analysis
/
MemDepPrinter.cpp
diff --git
a/lib/Analysis/MemDepPrinter.cpp
b/lib/Analysis/MemDepPrinter.cpp
index b268a461a54bd5db476c2670242391211c9fc898..55dea6ad5ea59785cef6ad18f281c058cd4d52ff 100644
(file)
--- a/
lib/Analysis/MemDepPrinter.cpp
+++ b/
lib/Analysis/MemDepPrinter.cpp
@@
-13,8
+13,7
@@
#include "llvm/Analysis/Passes.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
-#include "llvm/Assembly/Writer.h"
-#include "llvm/LLVMContext.h"
+#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/InstIterator.h"
@@
-68,7
+67,7
@@
namespace {
return InstTypePair(dep.getInst(), Def);
if (dep.isNonFuncLocal())
return InstTypePair(dep.getInst(), NonFuncLocal);
return InstTypePair(dep.getInst(), Def);
if (dep.isNonFuncLocal())
return InstTypePair(dep.getInst(), NonFuncLocal);
- assert(dep.isUnknown() && "unexp
t
ected dependence type");
+ assert(dep.isUnknown() && "unexpected dependence type");
return InstTypePair(dep.getInst(), Unknown);
}
static InstTypePair getInstTypePair(const Instruction* inst, DepType type) {
return InstTypePair(dep.getInst(), Unknown);
}
static InstTypePair getInstTypePair(const Instruction* inst, DepType type) {
@@
-177,7
+176,7
@@
void MemDepPrinter::print(raw_ostream &OS, const Module *M) const {
OS << DepTypeStr[type];
if (DepBB) {
OS << " in block ";
OS << DepTypeStr[type];
if (DepBB) {
OS << " in block ";
-
WriteAsOperand(OS, DepBB
, /*PrintType=*/false, M);
+
DepBB->printAsOperand(OS
, /*PrintType=*/false, M);
}
if (DepInst) {
OS << " from: ";
}
if (DepInst) {
OS << " from: ";