LLVM: lib/Target/NVPTX/NVPTXSelectionDAGInfo.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXSELECTIONDAGINFO_H

10#define LLVM_LIB_TARGET_NVPTX_NVPTXSELECTIONDAGINFO_H

11

13

14#define GET_SDNODE_ENUM

15#include "NVPTXGenSDNodeInfo.inc"

16

17namespace llvm {

19

24

26

27

28

29

30

31

32

35

46};

47

48}

49

51public:

53

55

57

59

61 const SDNode *N) const override;

62};

63

64}

65

66#endif

bool isTargetMemoryOpcode(unsigned Opcode) const override

Returns true if a node with the given target-specific opcode has a memory operand.

const char * getTargetNodeName(unsigned Opcode) const override

Returns the name of the given target-specific opcode, suitable for debug printing.

~NVPTXSelectionDAGInfo() override

void verifyTargetNode(const SelectionDAG &DAG, const SDNode *N) const override

Checks that the given target-specific node is valid. Aborts if it is not.

Represents one node in the SelectionDAG.

SelectionDAGGenTargetInfo(const SDNodeInfo &GenNodeInfo)

This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...

NodeType

Definition NVPTXSelectionDAGInfo.h:20

@ LoadV8

Definition NVPTXSelectionDAGInfo.h:38

@ StoreV2

Definition NVPTXSelectionDAGInfo.h:42

@ LDUV2

Definition NVPTXSelectionDAGInfo.h:40

@ SETP_F16X2

Definition NVPTXSelectionDAGInfo.h:21

@ StoreV8

Definition NVPTXSelectionDAGInfo.h:44

@ LAST_MEMORY_OPCODE

Definition NVPTXSelectionDAGInfo.h:45

@ StoreV4

Definition NVPTXSelectionDAGInfo.h:43

@ UNPACK_VECTOR

Definition NVPTXSelectionDAGInfo.h:23

@ LoadV2

Definition NVPTXSelectionDAGInfo.h:36

@ MLoad

Definition NVPTXSelectionDAGInfo.h:39

@ FIRST_MEMORY_OPCODE

Definition NVPTXSelectionDAGInfo.h:25

@ SETP_BF16X2

Definition NVPTXSelectionDAGInfo.h:22

@ LDUV4

Definition NVPTXSelectionDAGInfo.h:41

@ ATOMIC_SWAP_B128

Definition NVPTXSelectionDAGInfo.h:34

@ ATOMIC_CMP_SWAP_B128

These nodes are used to lower atomic instructions with i128 type.

Definition NVPTXSelectionDAGInfo.h:33

@ LoadV4

Definition NVPTXSelectionDAGInfo.h:37

This is an optimization pass for GlobalISel generic memory operations.