LLVM: lib/Target/Xtensa/MCTargetDesc/XtensaMCExpr.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

24

25using namespace llvm;

26

27#define DEBUG_TYPE "xtensamcexpr"

28

32}

33

36 if (HasVariant)

39 if (HasVariant)

40 OS << ')';

41}

42

47}

48

51}

52

56}

57

59 switch (Kind) {

60 default:

62 }

63}

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)...

Streaming machine code generation interface.

void visitUsedExpr(const MCExpr &Expr)

This represents an "assembler immediate".

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

A switch()-like statement whose cases are string literals.

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

static VariantKind getVariantKindForName(StringRef name)

VariantKind getKind() const

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

static StringRef getVariantKindName(VariantKind Kind)

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

void visitUsedExpr(MCStreamer &Streamer) const override

const MCExpr * getSubExpr() const

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.