X86CallingConv.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. #ifndef LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
  14. #define LLVM_LIB_TARGET_X86_X86CALLINGCONV_H
  15. #include "MCTargetDesc/X86MCTargetDesc.h"
  16. #include "llvm/CodeGen/CallingConvLower.h"
  17. #include "llvm/IR/CallingConv.h"
  18. namespace llvm {
  19. bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT,
  20. CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
  21. CCState &State);
  22. bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo,
  23. ISD::ArgFlagsTy ArgFlags, CCState &State);
  24. } // End llvm namespace
  25. #endif