LLVM 20.0.0git
Macros | Functions
CSKYAsmPrinter.cpp File Reference
#include "CSKYAsmPrinter.h"
#include "CSKY.h"
#include "CSKYConstantPoolValue.h"
#include "CSKYTargetMachine.h"
#include "MCTargetDesc/CSKYInstPrinter.h"
#include "MCTargetDesc/CSKYMCExpr.h"
#include "MCTargetDesc/CSKYTargetStreamer.h"
#include "TargetInfo/CSKYTargetInfo.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/TargetRegistry.h"
#include "CSKYGenCompressInstEmitter.inc"
#include "CSKYGenMCPseudoLowering.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "csky-asm-printer"
 
#define GEN_COMPRESS_INSTR
 

Functions

 STATISTIC (CSKYNumInstrsCompressed, "Number of C-SKY Compressed instructions emitted")
 
static CSKYMCExpr::VariantKind getModifierVariantKind (CSKYCP::CSKYCPModifier Modifier)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmPrinter ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "csky-asm-printer"

Definition at line 34 of file CSKYAsmPrinter.cpp.

◆ GEN_COMPRESS_INSTR

#define GEN_COMPRESS_INSTR

Definition at line 57 of file CSKYAsmPrinter.cpp.

Function Documentation

◆ getModifierVariantKind()

static CSKYMCExpr::VariantKind getModifierVariantKind ( CSKYCP::CSKYCPModifier  Modifier)
static

◆ LLVMInitializeCSKYAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmPrinter ( )

Definition at line 328 of file CSKYAsmPrinter.cpp.

References llvm::getTheCSKYTarget(), and X.

◆ STATISTIC()

STATISTIC ( CSKYNumInstrsCompressed  ,
"Number of C-SKY Compressed instructions emitted"   
)