LLVM
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
lib
Target
PowerPC
PPCCallingConv.h
Go to the documentation of this file.
1
//=== PPCCallingConv.h - PPC Custom Calling Convention Routines -*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file contains the custom routines for the PPC Calling Convention that
11
// aren't done by tablegen.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_LIB_TARGET_PPC_PPCCALLINGCONV_H
16
#define LLVM_LIB_TARGET_PPC_PPCCALLINGCONV_H
17
18
#include "
llvm/CodeGen/CallingConvLower.h
"
19
#include "
llvm/IR/CallingConv.h
"
20
21
namespace
llvm {
22
23
inline
bool
CC_PPC_AnyReg_Error
(
unsigned
&,
MVT
&,
MVT
&,
24
CCValAssign::LocInfo
&,
ISD::ArgFlagsTy
&,
25
CCState
&) {
26
llvm_unreachable
(
"The AnyReg calling convention is only supported by the "
\
27
"stackmap and patchpoint intrinsics."
);
28
// gracefully fallback to PPC C calling convention on Release builds.
29
return
false
;
30
}
31
32
}
// End llvm namespace
33
34
#endif
35
CallingConv.h
llvm::CCValAssign::LocInfo
LocInfo
Definition:
CallingConvLower.h:34
llvm_unreachable
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Definition:
ErrorHandling.h:98
CallingConvLower.h
llvm::MVT
MVT - Machine Value Type.
Definition:
MachineValueType.h:29
llvm::ISD::ArgFlagsTy
Definition:
TargetCallingConv.h:26
llvm::CC_PPC_AnyReg_Error
bool CC_PPC_AnyReg_Error(unsigned &, MVT &, MVT &, CCValAssign::LocInfo &, ISD::ArgFlagsTy &, CCState &)
Definition:
PPCCallingConv.h:23
llvm::CCState
CCState - This class holds information needed while lowering arguments and return values...
Definition:
CallingConvLower.h:194
Generated on Mon Aug 31 2015 11:05:29 for LLVM by
1.8.6