14 #ifndef MIPSASMPRINTER_H
15 #define MIPSASMPRINTER_H
27 class MachineBasicBlock;
28 class MipsTargetStreamer;
39 bool emitPseudoExpansionLowering(
MCStreamer &OutStreamer,
53 bool UsingConstantPools;
63 MCInstLowering(*this) {
66 (Subtarget->inMips16Mode() && Subtarget->useConstantIslands());
70 return "Mips Assembly Printer";
76 if (!UsingConstantPools)
84 void emitFrameDirective();
85 const char *getCurrentABIString()
const;
86 virtual void EmitFunctionEntryLabel();
87 virtual void EmitFunctionBodyStart();
88 virtual void EmitFunctionBodyEnd();
91 bool PrintAsmOperand(
const MachineInstr *MI,
unsigned OpNo,
92 unsigned AsmVariant,
const char *ExtraCode,
94 bool PrintAsmMemoryOperand(
const MachineInstr *MI,
unsigned OpNum,
95 unsigned AsmVariant,
const char *ExtraCode,
103 const char *Modifier = 0);
104 void EmitStartOfAsmFile(
Module &M);
105 void EmitEndOfAsmFile(
Module &M);
The machine constant pool.
The main container class for the LLVM Intermediate Representation.
virtual void EmitConstantPool()
MipsMCInstLower - This class is used to lower an MachineInstr into an.
virtual void EmitConstantPool() LLVM_OVERRIDE
#define LLVM_LIBRARY_VISIBILITY
MipsMCInstLower MCInstLowering
const STC & getSubtarget() const
virtual const char * getPassName() const
const MipsSubtarget * Subtarget
MipsAsmPrinter(TargetMachine &TM, MCStreamer &Streamer)
LLVM Value Representation.
const MipsFunctionInfo * MipsFI