LLVM 22.0.0git
M68kSelectionDAGInfo.cpp
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
10
11#define GET_SDNODE_DESC
12#include "M68kGenSDNodeInfo.inc"
13
14using namespace llvm;
15
18
20 const SDNode *N) const {
21 switch (N->getOpcode()) {
22 case M68kISD::ADD:
23 case M68kISD::SUBX:
24 // result #1 must have type i8, but has type i32
25 return;
26 case M68kISD::SETCC:
27 // operand #1 must have type i8, but has type i32
28 return;
29 }
30
32}
33
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)
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.
#define N