LLVM 20.0.0git
|
#include "CSKYMCCodeEmitter.h"
#include "CSKYMCExpr.h"
#include "MCTargetDesc/CSKYMCTargetDesc.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/EndianStream.h"
#include "CSKYGenMCCodeEmitter.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "csky-mccode-emitter" |
Functions | |
STATISTIC (MCNumEmitted, "Number of MC instructions emitted") | |
static void | writeData (uint32_t Bin, unsigned Size, SmallVectorImpl< char > &CB) |
#define DEBUG_TYPE "csky-mccode-emitter" |
Definition at line 26 of file CSKYMCCodeEmitter.cpp.
STATISTIC | ( | MCNumEmitted | , |
"Number of MC instructions emitted" | |||
) |
|
static |
Definition at line 60 of file CSKYMCCodeEmitter.cpp.
References llvm::Bin, llvm::little, Size, and llvm::support::endian::write().
Referenced by llvm::CSKYMCCodeEmitter::encodeInstruction(), llvm::CSKYMCCodeEmitter::expandJBTF(), llvm::CSKYMCCodeEmitter::expandNEG(), and llvm::CSKYMCCodeEmitter::expandRSUBI().