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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUINSTRINFO_H

16#define LLVM_LIB_TARGET_AMDGPU_AMDGPUINSTRINFO_H

17

19

20namespace llvm {

21

22class GCNSubtarget;

23class MachineMemOperand;

24class MachineInstr;

25

27public:

29

31};

32

33namespace AMDGPU {

34

35

36

37

38

39

41

46};

48

52};

54

59

68

84

88};

90

93

94}

95}

96

97#endif

static bool isUniformMMO(const MachineMemOperand *MMO)

Representation of each machine instruction.

A description of a memory reference used in the backend.

const ImageDimIntrinsicInfo * getImageDimIntrinsicByBaseOpcode(unsigned BaseOpcode, unsigned Dim)

const D16ImageDimIntrinsic * lookupD16ImageDimIntrinsic(unsigned Intr)

Intrinsic::ID getIntrinsicID(const MachineInstr &I)

Return the intrinsic ID for opcodes with the G_AMDGPU_INTRIN_ prefix.

const ImageDimIntrinsicInfo * getImageDimIntrinsicInfo(unsigned Intr)

const RsrcIntrinsic * lookupRsrcIntrinsic(unsigned Intr)

This is an optimization pass for GlobalISel generic memory operations.