LLVM: lib/Target/AVR/MCTargetDesc/AVRFixupKinds.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_AVR_FIXUP_KINDS_H

10#define LLVM_AVR_FIXUP_KINDS_H

11

13

14namespace llvm {

15namespace AVR {

16

17

18

19

20

21

22

23

24

25

27

29

30

31

33

34

35

36

37

38

39

40

42

43

45

47

48

50

51

52

54

55

57

58

60

61

63

64

65

67

68

70

71

73

74

76

77

78

80

81

82

84

85

86

88

89

90

91

93

94

95

97

98

99

101

102

104

106

108

111

116

120

122

123

125

127

128

131};

132

134

135

136

137

138

139

140

142

143}

144}

145}

146

147#endif

Definition AVRFixupKinds.h:133

void adjustBranchTarget(T &val)

Adjusts the value of a branch target.

Definition AVRFixupKinds.h:141

Contains the AVR backend.

Fixups

The set of supported fixups.

Definition AVRFixupKinds.h:26

@ fixup_diff16

Definition AVRFixupKinds.h:118

@ fixup_16_pm

A 16-bit program memory address.

Definition AVRFixupKinds.h:46

@ fixup_16

A 16-bit address.

Definition AVRFixupKinds.h:44

@ fixup_hi8_ldi_gs

Definition AVRFixupKinds.h:110

@ fixup_call

A 22-bit fixup for the target of a CALL k or JMP k instruction.

Definition AVRFixupKinds.h:103

@ fixup_hh8_ldi

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a 24-bit value ...

Definition AVRFixupKinds.h:59

@ LastTargetFixupKind

Definition AVRFixupKinds.h:129

@ fixup_ms8_ldi_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a negated 32-bi...

Definition AVRFixupKinds.h:75

@ fixup_32

A 32-bit AVR fixup.

Definition AVRFixupKinds.h:28

@ fixup_lo8_ldi_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the lower 8 bits of a negated 16-bi...

Definition AVRFixupKinds.h:66

@ fixup_diff8

Definition AVRFixupKinds.h:117

@ fixup_6_adiw

A symbol+addr fixup for the `LDD +, " family of instructions.

Definition AVRFixupKinds.h:107

@ fixup_ms8_ldi

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a 32-bit value ...

Definition AVRFixupKinds.h:62

@ fixup_8_hlo8

Definition AVRFixupKinds.h:115

@ fixup_7_pcrel

A 7-bit PC-relative fixup for the family of conditional branches which take 7-bit targets (BRNE,...

Definition AVRFixupKinds.h:32

@ NumTargetFixupKinds

Definition AVRFixupKinds.h:130

@ fixup_ldi

Replaces the 8-bit immediate with another value.

Definition AVRFixupKinds.h:49

@ fixup_lo8_ldi

Replaces the immediate operand of a 16-bit Rd, K instruction with the lower 8 bits of a 16-bit value ...

Definition AVRFixupKinds.h:53

@ fixup_hi8_ldi_pm_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a negated 16-bi...

Definition AVRFixupKinds.h:96

@ fixup_hi8_ldi

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a 16-bit value ...

Definition AVRFixupKinds.h:56

@ fixup_lo8_ldi_pm

Replaces the immediate operand of a 16-bit Rd, K instruction with the lower 8 bits of a 16-bit progra...

Definition AVRFixupKinds.h:79

@ fixup_port6

A 6-bit port address.

Definition AVRFixupKinds.h:124

@ fixup_hh8_ldi_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a negated 24-bi...

Definition AVRFixupKinds.h:72

@ fixup_hh8_ldi_pm

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a 24-bit progra...

Definition AVRFixupKinds.h:87

@ fixup_8_lo8

Definition AVRFixupKinds.h:113

@ fixup_port5

A 5-bit port address.

Definition AVRFixupKinds.h:126

@ fixup_lo8_ldi_pm_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the lower 8 bits of a negated 16-bi...

Definition AVRFixupKinds.h:92

@ fixup_lo8_ldi_gs

Definition AVRFixupKinds.h:109

@ fixup_hi8_ldi_pm

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a 16-bit progra...

Definition AVRFixupKinds.h:83

@ fixup_8_hi8

Definition AVRFixupKinds.h:114

@ fixup_hh8_ldi_pm_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a negated 24-bi...

Definition AVRFixupKinds.h:100

@ fixup_8

Definition AVRFixupKinds.h:112

@ fixup_diff32

Definition AVRFixupKinds.h:119

@ fixup_13_pcrel

A 12-bit PC-relative fixup for the family of branches which take 12-bit targets (RJMP,...

Definition AVRFixupKinds.h:41

@ fixup_hi8_ldi_neg

Replaces the immediate operand of a 16-bit Rd, K instruction with the upper 8 bits of a negated 16-bi...

Definition AVRFixupKinds.h:69

@ fixup_6

Definition AVRFixupKinds.h:105

@ fixup_lds_sts_16

Definition AVRFixupKinds.h:121

This is an optimization pass for GlobalISel generic memory operations.