summaryrefslogtreecommitdiffstats
path: root/polly/lib/MayAliasSet.cpp
blob: 713559025828c9694c917249da628494c0635ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//===---------- MayAliasSet.cpp  - May-Alais Set for base pointers --------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the MayAliasSet class
//
//===----------------------------------------------------------------------===//

#include "polly/TempScopInfo.h"
#include "polly/MayAliasSet.h"

#include "llvm/LLVMContext.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/RegionIterator.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/AliasSetTracker.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/raw_ostream.h"

#include "llvm/Support/Debug.h"

using namespace llvm;
using namespace polly;

void MayAliasSet::print(raw_ostream &OS) const {
  OS << "Must alias {";
  
  for (const_iterator I = mustalias_begin(), E = mustalias_end(); I != E; ++I) {
    WriteAsOperand(OS, *I, false);
    OS << ", ";
  }

  OS << "} May alias {";
  OS << '}';
}

void MayAliasSet::dump() const {
  print(dbgs());
}

void MayAliasSetInfo::buildMayAliasSets(TempScop &Scop, AliasAnalysis &AA) {
}
OpenPOWER on IntegriCloud