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

1

2

3

4

5

6

7

8

11using namespace llvm;

12

13#define DEBUG_TYPE "systemzmcexpr"

14

18}

19

23 return "A";

25 return "R";

27 return "V";

28 default:

30 }

31}

32

36 OS << ')';

37}

38

43 return false;

44

45 Res =

47

48 return true;

49}

PowerPC TLS Dynamic Call Fixup

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

Context object for machine code objects.

Base class for the full range of assembler expressions which are needed for parsing.

bool evaluateAsRelocatable(MCValue &Res, const MCAssembler *Asm, const MCFixup *Fixup) const

Try to evaluate the expression to a relocatable value, i.e.

void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const

Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...

This represents an "assembler immediate".

int64_t getConstant() const

static MCValue get(const MCSymbolRefExpr *SymA, const MCSymbolRefExpr *SymB=nullptr, int64_t Val=0, uint32_t RefKind=0)

const MCSymbolRefExpr * getSymB() const

const MCSymbolRefExpr * getSymA() const

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

void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override

StringRef getVariantKindName() const

static const SystemZMCExpr * create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)

bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, const MCFixup *Fixup) const override

VariantKind getKind() const

getOpcode - Get the kind of this expression.

const MCExpr * getSubExpr() const

getSubExpr - Get the child of this expression.

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

#define llvm_unreachable(msg)

Marks that the current location is not supposed to be reachable.

This is an optimization pass for GlobalISel generic memory operations.