view include/llvm/Analysis/DomPrinter.h @ 65:35ab9e3560be

remove null pointer access bug which occured if the callee codesegment is accessed by pointer on LowerCallTo().
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 11 Feb 2014 02:09:46 +0900
parents 95c75e76d11b
children c2174574ed3a
line wrap: on
line source

//===-- DomPrinter.h - Dom printer external interface ------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file defines external functions that can be called to explicitly
// instantiate the dominance tree printer.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_ANALYSIS_DOMPRINTER_H
#define LLVM_ANALYSIS_DOMPRINTER_H

namespace llvm {
  class FunctionPass;
  FunctionPass *createDomPrinterPass();
  FunctionPass *createDomOnlyPrinterPass();
  FunctionPass *createDomViewerPass();
  FunctionPass *createDomOnlyViewerPass();
  FunctionPass *createPostDomPrinterPass();
  FunctionPass *createPostDomOnlyPrinterPass();
  FunctionPass *createPostDomViewerPass();
  FunctionPass *createPostDomOnlyViewerPass();
} // End llvm namespace

#endif