Path: blob/main/contrib/llvm-project/llvm/lib/Target/X86/X86CallingConv.h
35267 views
//=== X86CallingConv.h - X86 Custom Calling Convention Routines -*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the custom routines for the X86 Calling Convention that9// aren't done by tablegen.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_X86_X86CALLINGCONV_H14#define LLVM_LIB_TARGET_X86_X86CALLINGCONV_H1516#include "MCTargetDesc/X86MCTargetDesc.h"17#include "llvm/CodeGen/CallingConvLower.h"18#include "llvm/IR/CallingConv.h"1920namespace llvm {2122bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT,23CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,24CCState &State);2526bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo,27ISD::ArgFlagsTy ArgFlags, CCState &State);2829} // End llvm namespace3031#endif32333435