1//===-- VVPNodes.def - Lists & properties of VE Vector Predication Nodes --===//
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// This file defines all VVP_* SDNodes and their properties
10//
11//===----------------------------------------------------------------------===//
12
13/// ADD_VVP_OP(VVPNAME,SDNAME)
14/// \p VVPName is a VVP SDNode operator.
15/// \p SDNAME is the generic SD opcode corresponding to \p VVPName.
16#ifndef ADD_VVP_OP
17#define ADD_VVP_OP(X, Y)
18#endif
19
20/// ADD_BINARY_VVP_OP(VVPNAME,SDNAME)
21/// \p VVPName is a VVP Binary operator.
22/// \p SDNAME is the generic SD opcode corresponding to \p VVPName.
23#ifndef ADD_BINARY_VVP_OP
24#define ADD_BINARY_VVP_OP(X,Y) ADD_VVP_OP(X,Y)
25#endif
26
27// Integer arithmetic.
28ADD_BINARY_VVP_OP(VVP_ADD,ADD)
29
30
31#undef ADD_BINARY_VVP_OP
32#undef ADD_VVP_OP
33