LLVM 22.0.0git
X86CallingConv.h
Go to the documentation of this file.
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.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
15#define LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
16
19#include "llvm/IR/CallingConv.h"
20
21namespace llvm {
22
23bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT,
24 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
25 Type *OrigTy, CCState &State);
26
27bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo,
28 ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State);
29
30} // End llvm namespace
31
32#endif
33
CCState - This class holds information needed while lowering arguments and return values.
Machine Value Type.
The instances of the Type class are immutable: once they are created, they are never changed.
Definition Type.h:45
This is an optimization pass for GlobalISel generic memory operations.
bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State)
bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State)