[x86] fix assert with horizontal math + broadcast of vector (PR43402)
[llvm-core.git] / lib / Target / X86 / X86CallingConv.h
blob191e0fa619b24f4258eb49062806c7b63750b569
1 //=== X86CallingConv.h - X86 Custom Calling Convention Routines -*- C++ -*-===//
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 contains the custom routines for the X86 Calling Convention that
10 // aren't done by tablegen.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
15 #define LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
17 #include "MCTargetDesc/X86MCTargetDesc.h"
18 #include "llvm/CodeGen/CallingConvLower.h"
19 #include "llvm/IR/CallingConv.h"
21 namespace llvm {
23 bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT,
24 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
25 CCState &State);
27 bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo,
28 ISD::ArgFlagsTy ArgFlags, CCState &State);
30 } // End llvm namespace
32 #endif