LLVM 20.0.0git
Macros | Functions
RISCVMCCodeEmitter.cpp File Reference
#include "MCTargetDesc/RISCVBaseInfo.h"
#include "MCTargetDesc/RISCVFixupKinds.h"
#include "MCTargetDesc/RISCVMCExpr.h"
#include "MCTargetDesc/RISCVMCTargetDesc.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/raw_ostream.h"
#include "RISCVGenMCCodeEmitter.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mccodeemitter"
 

Functions

 STATISTIC (MCNumEmitted, "Number of MC instructions emitted")
 
 STATISTIC (MCNumFixups, "Number of MC fixups created")
 
static unsigned getInvertedBranchOp (unsigned BrOp)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mccodeemitter"

Definition at line 34 of file RISCVMCCodeEmitter.cpp.

Function Documentation

◆ getInvertedBranchOp()

static unsigned getInvertedBranchOp ( unsigned  BrOp)
static

Definition at line 224 of file RISCVMCCodeEmitter.cpp.

References llvm_unreachable.

◆ STATISTIC() [1/2]

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

◆ STATISTIC() [2/2]

STATISTIC ( MCNumFixups  ,
"Number of MC fixups created"   
)