Jan Voung | b36ad9b | 2015-04-21 17:01:49 -0700 | [diff] [blame] | 1 | //===- subzero/src/IceInstX8632.h - x86-32 machine instructions -*- C++ -*-===// |
Jim Stichnoth | 5bc2b1d | 2014-05-22 13:38:48 -0700 | [diff] [blame] | 2 | // |
| 3 | // The Subzero Code Generator |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
Andrew Scull | 9612d32 | 2015-07-06 14:53:25 -0700 | [diff] [blame] | 9 | /// |
| 10 | /// \file |
Jim Stichnoth | 92a6e5b | 2015-12-02 16:52:44 -0800 | [diff] [blame^] | 11 | /// \brief Used to house all the X8632 instructions. |
| 12 | /// |
| 13 | /// Subzero has been modified to use templates for X86 instructions, so all |
| 14 | /// those definitions are are in IceInstX86Base.h |
John Porto | 921856d | 2015-07-07 11:56:26 -0700 | [diff] [blame] | 15 | /// |
| 16 | /// When interacting with the X8632 target (which should only happen in the |
| 17 | /// X8632 TargetLowering) clients have should use the Ice::X8632::Traits::Insts |
| 18 | /// traits, which hides all the template verboseness behind a type alias. |
| 19 | /// |
| 20 | /// For example, to create an X8632 MOV Instruction, clients should do |
| 21 | /// |
| 22 | /// ::Ice::X8632::Traits::Insts::Mov::create |
| 23 | /// |
Jim Stichnoth | 5bc2b1d | 2014-05-22 13:38:48 -0700 | [diff] [blame] | 24 | //===----------------------------------------------------------------------===// |
| 25 | |
| 26 | #ifndef SUBZERO_SRC_ICEINSTX8632_H |
| 27 | #define SUBZERO_SRC_ICEINSTX8632_H |
| 28 | |
| 29 | #include "IceDefs.h" |
| 30 | #include "IceInst.h" |
John Porto | 921856d | 2015-07-07 11:56:26 -0700 | [diff] [blame] | 31 | #include "IceInstX86Base.h" |
Jim Stichnoth | 5bc2b1d | 2014-05-22 13:38:48 -0700 | [diff] [blame] | 32 | #include "IceOperand.h" |
John Porto | 5d0acff | 2015-06-30 15:29:21 -0700 | [diff] [blame] | 33 | #include "IceTargetLoweringX8632Traits.h" |
Jim Stichnoth | 5bc2b1d | 2014-05-22 13:38:48 -0700 | [diff] [blame] | 34 | |
Jim Stichnoth | 5bc2b1d | 2014-05-22 13:38:48 -0700 | [diff] [blame] | 35 | #endif // SUBZERO_SRC_ICEINSTX8632_H |