LLVM: lib/Target/VE/VESelectionDAGInfo.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 "VEGenSDNodeInfo.inc"

13

14using namespace llvm;

15

18

20

22#define TARGET_NODE_CASE(NAME) \

23 case VEISD::NAME: \

24 return "VEISD::" #NAME;

25

29 }

30#undef TARGET_NODE_CASE

31

33}

34

37 switch (N->getOpcode()) {

38 case VEISD::GETSTACKTOP:

39

40 return;

41 }

42

44}

#define TARGET_NODE_CASE(NAME)

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...

~VESelectionDAGInfo() 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 VESelectionDAGInfo.cpp:35

const char * getTargetNodeName(unsigned Opcode) const override

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

Definition VESelectionDAGInfo.cpp:21

VESelectionDAGInfo()

Definition VESelectionDAGInfo.cpp:16

This is an optimization pass for GlobalISel generic memory operations.