LLVM  12.0.0git
Macros | Functions
RISCVAsmPrinter.cpp File Reference
#include "MCTargetDesc/RISCVInstPrinter.h"
#include "MCTargetDesc/RISCVMCExpr.h"
#include "MCTargetDesc/RISCVTargetStreamer.h"
#include "RISCV.h"
#include "RISCVTargetMachine.h"
#include "TargetInfo/RISCVTargetInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include "RISCVGenCompressInstEmitter.inc"
#include "RISCVGenMCPseudoLowering.inc"
Include dependency graph for RISCVAsmPrinter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"
 
#define GEN_COMPRESS_INSTR
 

Functions

 STATISTIC (RISCVNumInstrsCompressed, "Number of RISC-V Compressed instructions emitted")
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeRISCVAsmPrinter ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 34 of file RISCVAsmPrinter.cpp.

◆ GEN_COMPRESS_INSTR

#define GEN_COMPRESS_INSTR

Definition at line 76 of file RISCVAsmPrinter.cpp.

Function Documentation

◆ LLVMInitializeRISCVAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeRISCVAsmPrinter ( )

Definition at line 207 of file RISCVAsmPrinter.cpp.

References llvm::getTheRISCV32Target(), llvm::getTheRISCV64Target(), X, and Y.

◆ STATISTIC()

STATISTIC ( RISCVNumInstrsCompressed  ,
"Number of RISC-V Compressed instructions emitted"   
)