LLVM  15.0.0git
Classes | Macros | Functions
M68kMCCodeEmitter.cpp File Reference
#include "MCTargetDesc/M68kMCCodeEmitter.h"
#include "MCTargetDesc/M68kBaseInfo.h"
#include "MCTargetDesc/M68kFixupKinds.h"
#include "MCTargetDesc/M68kMCTargetDesc.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/raw_ostream.h"
#include <type_traits>
#include "M68kGenMCCodeEmitter.inc"
Include dependency graph for M68kMCCodeEmitter.cpp:

Go to the source code of this file.

Classes

struct  select_uint_t< Size >
 

Macros

#define DEBUG_TYPE   "m68k-mccodeemitter"
 

Functions

template<typename value_t >
static value_t swapWord (value_t Val)
 
template<unsigned Size>
static unsigned getBytePosition (unsigned BitPos)
 

Detailed Description

This file contains defintions for M68k code emitter.

Definition in file M68kMCCodeEmitter.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "m68k-mccodeemitter"

Definition at line 34 of file M68kMCCodeEmitter.cpp.

Function Documentation

◆ getBytePosition()

template<unsigned Size>
static unsigned getBytePosition ( unsigned  BitPos)
static

Definition at line 106 of file M68kMCCodeEmitter.cpp.

References assert().

◆ swapWord()

template<typename value_t >
static value_t swapWord ( value_t  Val)
static

Definition at line 91 of file M68kMCCodeEmitter.cpp.

References llvm::support::big, llvm::support::endian::byte_swap(), and i.