LLVM: lib/Target/X86/MCTargetDesc/X86MCExpr.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H

15#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H

16

23

24namespace llvm {

25

27

28private:

30

32

33public:

35 return new (Ctx) X86MCExpr(Reg);

36 }

37

38

40

46

51

55 return getReg() == E->getReg();

56 return false;

57 }

60

64};

65}

66

67#endif

static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")

static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")

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

unsigned getAssemblerDialect() const

Context object for machine code objects.

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

@ Target

Target specific expression.

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

Streaming machine code generation interface.

static const char * getRegisterName(MCRegister Reg)

bool isEqualTo(const MCExpr *X) const override

Definition X86MCExpr.h:53

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

Definition X86MCExpr.h:47

void visitUsedExpr(MCStreamer &Streamer) const override

Definition X86MCExpr.h:58

static const X86MCExpr * create(MCRegister Reg, MCContext &Ctx)

Definition X86MCExpr.h:34

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

Definition X86MCExpr.h:41

MCRegister getReg() const

getSubExpr - Get the child of this expression.

Definition X86MCExpr.h:39

MCFragment * findAssociatedFragment() const override

Definition X86MCExpr.h:59

static bool classof(const MCExpr *E)

Definition X86MCExpr.h:61

bool inlineAssignedExpr() const override

Definition X86MCExpr.h:52

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

This is an optimization pass for GlobalISel generic memory operations.

decltype(auto) dyn_cast(const From &Val)

dyn_cast - Return the argument parameter cast to the specified type.