| //===- subzero/src/IceConverter.h - Converts LLVM to ICE --------*- C++ -*-===// |
| // The Subzero Code Generator |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // This file declares the LLVM to ICE converter. |
| //===----------------------------------------------------------------------===// |
| #ifndef SUBZERO_SRC_ICECONVERTER_H |
| #define SUBZERO_SRC_ICECONVERTER_H |
| #include "IceGlobalContext.h" |
| Converter(Ice::GlobalContext *Ctx, |
| bool SubzeroTimingEnabled, |
| DisableInternal(DisableInternal), |
| SubzeroTimingEnabled(SubzeroTimingEnabled), |
| DisableTranslation(DisableTranslation) |
| /// Converts the LLVM Module to ICE. Returns exit status 0 if successful, |
| int convertToIce(llvm::Module *Mod); |
| bool SubzeroTimingEnabled; |
| #endif // SUBZERO_SRC_ICECONVERTER_H |