14 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONASMPRINTER_H 15 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONASMPRINTER_H 36 std::unique_ptr<MCStreamer> Streamer)
45 return "Hexagon Assembly Printer";
56 unsigned AsmVariant,
const char *ExtraCode,
59 unsigned AsmVariant,
const char *ExtraCode,
65 #endif // LLVM_LIB_TARGET_HEXAGON_HEXAGONASMPRINTER_H This class represents lattice values for constants.
bool runOnMachineFunction(MachineFunction &Fn) override
Emit the specified function out to the OutStreamer.
bool runOnMachineFunction(MachineFunction &MF) override
Emit the specified function out to the OutStreamer.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
void EmitInstruction(const MachineInstr *MI) override
Print out a single Hexagon MI to the current output stream.
HexagonAsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer)
Instances of this class represent a single low-level machine instruction.
void HexagonProcessInstruction(MCInst &Inst, const MachineInstr &MBB)
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
TargetMachine & TM
Target machine description.
This class is intended to be used as a driving class for all asm writers.
bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, unsigned AsmVariant, const char *ExtraCode, raw_ostream &OS) override
Print the specified operand of MI, an INLINEASM instruction, using the specified assembler variant as...
void printOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O)
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, unsigned AsmVariant, const char *ExtraCode, raw_ostream &OS) override
PrintAsmOperand - Print out an operand for an inline asm expression.
Representation of each machine instruction.
This class implements an extremely fast bulk output stream that can only output to a stream...
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
bool isBlockOnlyReachableByFallthrough(const MachineBasicBlock *MBB) const override
Return true if the basic block has exactly one predecessor and the control transfer mechanism between...