mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
c7b8814bb4
I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93934 91177308-0d34-0410-b5e6-96231b3b80d8
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
//=====-- MipsMCAsmInfo.h - Mips asm properties ---------------*- C++ -*--====//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declaration of the MipsMCAsmInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MIPSTARGETASMINFO_H
|
|
#define MIPSTARGETASMINFO_H
|
|
|
|
#include "llvm/MC/MCAsmInfo.h"
|
|
|
|
namespace llvm {
|
|
class Target;
|
|
class StringRef;
|
|
|
|
class MipsMCAsmInfo : public MCAsmInfo {
|
|
public:
|
|
explicit MipsMCAsmInfo(const Target &T, const StringRef &TT,
|
|
bool isLittleEndian);
|
|
};
|
|
|
|
/// Big Endian MAI.
|
|
class MipsBEMCAsmInfo : public MipsMCAsmInfo {
|
|
public:
|
|
MipsBEMCAsmInfo(const Target &T, const StringRef &TT)
|
|
: MipsMCAsmInfo(T, TT, false) {}
|
|
};
|
|
|
|
/// Little Endian MAI.
|
|
class MipsLEMCAsmInfo : public MipsMCAsmInfo {
|
|
public:
|
|
MipsLEMCAsmInfo(const Target &T, const StringRef &TT)
|
|
: MipsMCAsmInfo(T, TT, true) {}
|
|
};
|
|
} // namespace llvm
|
|
|
|
#endif
|