| //===- subzero/src/IceTypes.h - Primitive ICE types -------------*- 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 a few properties of the primitive types allowed |
| // in Subzero. Every Subzero source file is expected to include |
| //===----------------------------------------------------------------------===// |
| #ifndef SUBZERO_SRC_ICETYPES_H |
| #define SUBZERO_SRC_ICETYPES_H |
| #define X(tag, size, align, str) tag, |
| size_t typeWidthInBytes(Type Ty); |
| size_t typeAlignInBytes(Type Ty); |
| template <> Ostream &operator<<(class Ostream &Str, const Type &Ty); |
| } // end of namespace Ice |
| #endif // SUBZERO_SRC_ICETYPES_H |