LLVM: lib/Target/AMDGPU/SIProgramInfo.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16#ifndef LLVM_LIB_TARGET_AMDGPU_SIPROGRAMINFO_H

17#define LLVM_LIB_TARGET_AMDGPU_SIPROGRAMINFO_H

18

21#include

22#include

23

24namespace llvm {

25

30

31

34

35

49

50

53

54

66

68

79

80

82

83

85

86

88

89

91

92

93

95

96

98

100

101

102

103

104

106

107

108

109

111 bool IsLowerBound = false);

112

113

118

119

122};

123

124}

125

126#endif

#define LLVM_EXTERNAL_VISIBILITY

Context object for machine code objects.

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

unsigned ID

LLVM IR allows to use arbitrary numbers as calling convention identifiers.

This is an optimization pass for GlobalISel generic memory operations.

uint32_t Priv

Definition SIProgramInfo.h:40

unsigned SGPRSpill

Definition SIProgramInfo.h:75

const MCExpr * NumSGPR

Definition SIProgramInfo.h:74

const MCExpr * getPGMRSrc2(CallingConv::ID CC, MCContext &Ctx) const

uint32_t TIdIGCompCount

Definition SIProgramInfo.h:62

uint32_t RrWgMode

Definition SIProgramInfo.h:47

const MCExpr * NumArchVGPR

Definition SIProgramInfo.h:70

uint64_t getFunctionCodeSize(const MachineFunction &MF, bool IsLowerBound=false)

const MCExpr * getComputePGMRSrc2(MCContext &Ctx) const

Compute the value of the ComputePGMRsrc2 register.

uint32_t DebugMode

Definition SIProgramInfo.h:42

uint32_t TGIdZEnable

Definition SIProgramInfo.h:60

uint32_t LDSBlocks

Definition SIProgramInfo.h:51

const MCExpr * VGPRBlocks

Definition SIProgramInfo.h:36

uint32_t Priority

Definition SIProgramInfo.h:38

const MCExpr * ScratchBlocks

Definition SIProgramInfo.h:52

uint32_t EXCPEnable

Definition SIProgramInfo.h:65

const MCExpr * ComputePGMRSrc3

Definition SIProgramInfo.h:67

const MCExpr * getComputePGMRSrc1(const GCNSubtarget &ST, MCContext &Ctx) const

Compute the value of the ComputePGMRsrc1 register.

const MCExpr * VCCUsed

Definition SIProgramInfo.h:97

uint32_t UserSGPR

Definition SIProgramInfo.h:56

uint32_t FloatMode

Definition SIProgramInfo.h:39

const MCExpr * FlatUsed

Definition SIProgramInfo.h:78

uint32_t TrapHandlerEnable

Definition SIProgramInfo.h:57

const MCExpr * NamedBarCnt

Definition SIProgramInfo.h:87

const MCExpr * ScratchEnable

Definition SIProgramInfo.h:55

const MCExpr * AccumOffset

Definition SIProgramInfo.h:72

const MCExpr * NumAccVGPR

Definition SIProgramInfo.h:71

const MCExpr * DynamicCallStack

Definition SIProgramInfo.h:94

uint32_t LdsSize

Definition SIProgramInfo.h:64

const MCExpr * SGPRBlocks

Definition SIProgramInfo.h:37

const MCExpr * NumVGPRsForWavesPerEU

Definition SIProgramInfo.h:84

std::optional< uint64_t > CodeSizeInBytes

Definition SIProgramInfo.h:33

const MCExpr * NumVGPR

Definition SIProgramInfo.h:69

uint32_t DX10Clamp

Definition SIProgramInfo.h:41

uint32_t TGIdXEnable

Definition SIProgramInfo.h:58

uint32_t IEEEMode

Definition SIProgramInfo.h:43

const MCExpr * getPGMRSrc1(CallingConv::ID CC, const GCNSubtarget &ST, MCContext &Ctx) const

uint32_t LDSSize

Definition SIProgramInfo.h:77

const MCExpr * Occupancy

Definition SIProgramInfo.h:90

const MCExpr * ScratchSize

Definition SIProgramInfo.h:48

uint32_t WgpMode

Definition SIProgramInfo.h:44

uint32_t FwdProgress

Definition SIProgramInfo.h:46

const MCExpr * NumSGPRsForWavesPerEU

Definition SIProgramInfo.h:81

uint32_t TGSizeEnable

Definition SIProgramInfo.h:61

uint32_t TgSplit

Definition SIProgramInfo.h:73

uint32_t EXCPEnMSB

Definition SIProgramInfo.h:63

void reset(const MachineFunction &MF)

uint32_t TGIdYEnable

Definition SIProgramInfo.h:59

unsigned VGPRSpill

Definition SIProgramInfo.h:76

uint32_t MemOrdered

Definition SIProgramInfo.h:45