LLVM: lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHMCASMINFO_H

14#define LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHMCASMINFO_H

15

18

19namespace llvm {

22

24public:

27

28private:

29 const bool RelaxHint;

30

33

34public:

36 MCContext &Ctx, bool Hint = false);

37

39};

40

42 void anchor() override;

43

44public:

48};

49

52}

53

54}

55

56#endif

LoongArchMCAsmInfo(const Triple &TargetTriple)

void printSpecifierExpr(raw_ostream &OS, const MCSpecifierExpr &Expr) const override

@ VK_None

Definition LoongArchMCAsmInfo.h:26

uint16_t Specifier

Definition LoongArchMCAsmInfo.h:25

bool getRelaxHint() const

Definition LoongArchMCAsmInfo.h:38

static const LoongArchMCExpr * create(const MCExpr *Expr, uint16_t S, MCContext &Ctx, bool Hint=false)

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

MCExpr(ExprKind Kind, SMLoc Loc, unsigned SubclassData=0)

Extension point for target-specific MCExpr subclasses with a relocation specifier,...

MCSpecifierExpr(const MCExpr *Expr, Spec S, SMLoc Loc=SMLoc())

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

Triple - Helper class for working with autoconf configuration names.

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

uint16_t parseSpecifier(StringRef name)

This is an optimization pass for GlobalISel generic memory operations.