LLVM: lib/Target/CSKY/MCTargetDesc/CSKYMCAsmInfo.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

18

19using namespace llvm;

20

26

27void CSKYMCAsmInfo::anchor() {}

28

41

43 using namespace CSKY;

44 switch (Kind) {

45 default:

47 case S_None:

48 case S_ADDR:

49 return "";

50 case S_ADDR_HI16:

51 return "@HI16";

52 case S_ADDR_LO16:

53 return "@LO16";

54 case S_GOT_IMM18_BY4:

55 case S_GOT:

56 return "@GOT";

57 case S_GOTPC:

58 return "@GOTPC";

59 case S_GOTOFF:

60 return "@GOTOFF";

61 case S_PLT_IMM18_BY4:

62 case S_PLT:

63 return "@PLT";

64 case S_TLSLE:

65 return "@TPOFF";

66 case S_TLSIE:

67 return "@GOTTPOFF";

68 case S_TLSGD:

69 return "@TLSGD32";

70 case S_TLSLDO:

71 return "@TLSLDO32";

72 case S_TLSLDM:

73 return "@TLSLDM32";

74 }

75}

76

const MCAsmInfo::AtSpecifier atSpecifiers[]

static StringRef getVariantKindName(uint8_t Kind)

Definition CSKYMCAsmInfo.cpp:42

This file contains constants used for implementing Dwarf debug support.

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

Definition CSKYMCAsmInfo.cpp:77

CSKYMCAsmInfo(const Triple &TargetTriple)

Definition CSKYMCAsmInfo.cpp:29

void initializeAtSpecifiers(ArrayRef< AtSpecifier >)

ExceptionHandling ExceptionsType

Exception handling format for the target. Defaults to None.

void printExpr(raw_ostream &, const MCExpr &) const

bool UsesELFSectionDirectiveForBSS

This is true if this target uses ELF '.section' directive before the '.bss' one.

bool SupportsDebugInformation

True if target supports emission of debugging information.

bool AlignmentIsInBytes

If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number ...

StringRef CommentString

This indicates the comment string used by the assembler.

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

const MCExpr * getSubExpr() const

Spec getSpecifier() const

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.

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

@ DwarfCFI

DWARF-like instruction based exceptions.