LLVM: lib/Target/SystemZ/MCTargetDesc/SystemZHLASMInstPrinter.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

13

14using namespace llvm;

15

16#define DEBUG_TYPE "asm-printer"

17

18#include "SystemZGenHLASMAsmWriter.inc"

19

20void SystemZHLASMInstPrinter::printFormattedRegName(const MCAsmInfo *MAI,

24

27}

28

33 std::string Str;

36

37

38

39 if (!Str.empty() && Str.front() == '\t')

40 O << " " << Str.substr(1, Str.length());

41 else

42 O << Str;

43

45}

assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")

This class is intended to be used as a base class for asm properties and features specific to the tar...

WithMarkup markup(raw_ostream &OS, Markup M)

void printAnnotation(raw_ostream &OS, StringRef Annot)

Utility function for printing annotations.

Instances of this class represent a single low-level machine instruction.

Wrapper class representing physical registers. Should be passed by value.

Generic base class for all target subtargets.

StringRef - Represent a constant reference to a string, i.e.

static const char * getRegisterName(MCRegister Reg)

void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O)

void printInst(const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &O) override

Print the specified MCInst to the specified raw_ostream.

Definition SystemZHLASMInstPrinter.cpp:29

This class implements an extremely fast bulk output stream that can only output to a stream.

A raw_ostream that writes to an std::string.

This is an optimization pass for GlobalISel generic memory operations.