LLVM 20.0.0git
Macros | Functions
PPCMCCodeEmitter.cpp File Reference
#include "PPCMCCodeEmitter.h"
#include "MCTargetDesc/PPCFixupKinds.h"
#include "PPCMCTargetDesc.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <cstdint>
#include "PPCGenMCCodeEmitter.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mccodeemitter"
 

Functions

 STATISTIC (MCNumEmitted, "Number of MC instructions emitted")
 
static unsigned getOpIdxForMO (const MCInst &MI, const MCOperand &MO)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mccodeemitter"

Definition at line 32 of file PPCMCCodeEmitter.cpp.

Function Documentation

◆ getOpIdxForMO()

static unsigned getOpIdxForMO ( const MCInst MI,
const MCOperand MO 
)
static

Definition at line 470 of file PPCMCCodeEmitter.cpp.

References llvm_unreachable, and MI.

Referenced by llvm::PPCMCCodeEmitter::getMachineOpValue().

◆ STATISTIC()

STATISTIC ( MCNumEmitted  ,
"Number of MC instructions emitted"   
)