LLVM 22.0.0git
MipsSelectionDAGInfo.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_MIPS_MIPSSELECTIONDAGINFO_H
10#define LLVM_LIB_TARGET_MIPS_MIPSSELECTIONDAGINFO_H
11
13
14#define GET_SDNODE_ENUM
15#include "MipsGenSDNodeInfo.inc"
16
17namespace llvm {
18namespace MipsISD {
19
20enum NodeType : unsigned {
21 // Floating point Abs
22 FAbs = GENERATED_OPCODE_END,
23
25
26 // Double select nodes for machines without conditional-move.
29};
30
31} // namespace MipsISD
32
34public:
36
38
39 const char *getTargetNodeName(unsigned Opcode) const override;
40
41 void verifyTargetNode(const SelectionDAG &DAG,
42 const SDNode *N) const override;
43};
44
45} // namespace llvm
46
47#endif // LLVM_LIB_TARGET_MIPS_MIPSSELECTIONDAGINFO_H
const char * getTargetNodeName(unsigned Opcode) const override
Returns the name of the given target-specific opcode, suitable for debug printing.
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...
This is an optimization pass for GlobalISel generic memory operations.
#define N