//===---- subzero/src/IceTargetLoweringX86.cpp - x86 lowering -*- C++ -*---===// // // The Subzero Code Generator // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// /// /// \file /// \brief Implements portions of the TargetLoweringX86Base class, and related /// classes. /// //===----------------------------------------------------------------------===// // Choose one namespace, since including this file should not cause the // templates to be instantiated. This avoids duplicating the PoolTypeConverter // data items, but is ugly as code common to all of x86 is including code // specific to one of 32 or 64. // TODO(jpp): replace this ugliness with the beauty of extern template. #define X86NAMESPACE X8632 #include "IceTargetLoweringX86Base.h" #undef X86NAMESPACE namespace Ice { namespace X86 { const char *PoolTypeConverter::TypeName = "float"; const char *PoolTypeConverter::AsmTag = ".long"; const char *PoolTypeConverter::PrintfString = "0x%x"; const char *PoolTypeConverter::TypeName = "double"; const char *PoolTypeConverter::AsmTag = ".quad"; const char *PoolTypeConverter::PrintfString = "0x%llx"; const char *PoolTypeConverter::TypeName = "i32"; const char *PoolTypeConverter::AsmTag = ".long"; const char *PoolTypeConverter::PrintfString = "0x%x"; const char *PoolTypeConverter::TypeName = "i16"; const char *PoolTypeConverter::AsmTag = ".short"; const char *PoolTypeConverter::PrintfString = "0x%x"; const char *PoolTypeConverter::TypeName = "i8"; const char *PoolTypeConverter::AsmTag = ".byte"; const char *PoolTypeConverter::PrintfString = "0x%x"; } // end of namespace X86 } // end of namespace Ice