LLVM: lib/Target/AMDGPU/AMDGPUSelectionDAGInfo.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

10

11#define GET_SDNODE_DESC

12#include "AMDGPUGenSDNodeInfo.inc"

13

14using namespace llvm;

15

18

20

22#define NODE_NAME_CASE(node) \

23 case AMDGPUISD::node: \

24 return "AMDGPUISD::" #node;

25

27

32

33

39 }

40

41#undef NODE_NAME_CASE

42

44}

45

48 switch (N->getOpcode()) {

49 case AMDGPUISD::IF:

50

51 case AMDGPUISD::ELSE:

52 case AMDGPUISD::LOOP:

53

54 case AMDGPUISD::LDS:

55

56 return;

57 }

59}

#define NODE_NAME_CASE(node)

~AMDGPUSelectionDAGInfo() 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.

Definition AMDGPUSelectionDAGInfo.cpp:46

AMDGPUSelectionDAGInfo()

Definition AMDGPUSelectionDAGInfo.cpp:16

const char * getTargetNodeName(unsigned Opcode) const override

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

Definition AMDGPUSelectionDAGInfo.cpp:21

Represents one node in the SelectionDAG.

const char * getTargetNodeName(unsigned Opcode) const override

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

SelectionDAGGenTargetInfo(const SDNodeInfo &GenNodeInfo)

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

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

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

This is an optimization pass for GlobalISel generic memory operations.