blob: 1ed80d7899d9f64181c79abdf290edff64d59400 [file] [log] [blame]
//===- subzero/src/IceInstX8664.h - x86-64 machine instructions -*- C++ -*-===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief (Note: x86 instructions are templates, and they are defined in
/// src/IceInstX86Base.)
///
/// When interacting with the X8664 target (which should only happen in the
/// X8664 TargetLowering) clients have should use the Ice::X8664::Traits::Insts
/// traits, which hides all the template verboseness behind a type alias.
///
/// For example, to create an X8664 MOV Instruction, clients should do
///
/// ::Ice::X8664::Traits::Insts::Mov::create
///
//===----------------------------------------------------------------------===//
#ifndef SUBZERO_SRC_ICEINSTX8664_H
#define SUBZERO_SRC_ICEINSTX8664_H
#include "IceDefs.h"
#include "IceInst.h"
#include "IceInstX8664Base.h"
#include "IceOperand.h"
#include "IceTargetLoweringX8664Traits.h"
X86INSTS_DEFINE_STATIC_DATA(X8664::Traits)
#endif // SUBZERO_SRC_ICEINSTX8664_H