LLVM: lib/Target/NVPTX/NVPTXSelectionDAGInfo.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
10
11#define GET_SDNODE_DESC
12#include "NVPTXGenSDNodeInfo.inc"
13
14using namespace llvm;
15
18
20
22#define MAKE_CASE(V) \
23 case V: \
24 return #V;
25
26
42 }
43#undef MAKE_CASE
44
46}
47
49
52 return true;
53
55}
56
59 switch (N->getOpcode()) {
60 default:
61 break;
62 case NVPTXISD::ProxyReg:
63
64 return;
65 }
66
68}
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
Definition NVPTXSelectionDAGInfo.cpp:48
const char * getTargetNodeName(unsigned Opcode) const override
Returns the name of the given target-specific opcode, suitable for debug printing.
Definition NVPTXSelectionDAGInfo.cpp:21
~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.
Definition NVPTXSelectionDAGInfo.cpp:57
NVPTXSelectionDAGInfo()
Definition NVPTXSelectionDAGInfo.cpp:16
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)
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
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...
@ ATOMIC_CMP_SWAP_B128
These nodes are used to lower atomic instructions with i128 type.
This is an optimization pass for GlobalISel generic memory operations.