Go to the documentation of this file.
23 #define DEBUG_TYPE "loongarch-asm-printer"
27 #include "LoongArchGenMCPseudoLowering.inc"
This is an optimization pass for GlobalISel generic memory operations.
void emitInstruction(const MachineInstr *MI) override
Targets should implement this to emit instructions.
Target & getTheLoongArch32Target()
Instances of this class represent a single low-level machine instruction.
void EmitToStreamer(MCStreamer &S, const MCInst &Inst)
bool runOnMachineFunction(MachineFunction &MF) override
Emit the specified function out to the OutStreamer.
std::unique_ptr< MCStreamer > OutStreamer
This is the MCStreamer object for the file we are generating.
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml", "ocaml 3.10-compatible collector")
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmPrinter()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
Representation of each machine instruction.
#define LLVM_EXTERNAL_VISIBILITY
bool lowerLoongArchMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP)
MachineFunction * MF
The current machine function.
bool runOnMachineFunction(MachineFunction &MF) override
Emit the specified function out to the OutStreamer.
bool emitPseudoExpansionLowering(MCStreamer &OutStreamer, const MachineInstr *MI)
RegisterAsmPrinter - Helper template for registering a target specific assembly printer,...
Target & getTheLoongArch64Target()