mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add calling convention info
llvm-svn: 34661
This commit is contained in:
parent
de3bbe0489
commit
90c768b913
@ -355,6 +355,11 @@ class Processor<string n, ProcessorItineraries pi, list<SubtargetFeature> f> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Pull in the common support for DAG isel generation
|
// Pull in the common support for calling conventions.
|
||||||
|
//
|
||||||
|
include "TargetCallingConv.td"
|
||||||
|
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
// Pull in the common support for DAG isel generation.
|
||||||
//
|
//
|
||||||
include "TargetSelectionDAG.td"
|
include "TargetSelectionDAG.td"
|
||||||
|
@ -71,7 +71,11 @@ def RetCC_X86_64 : CallingConv<[
|
|||||||
CCDelegateTo<RetCC_X86_64_C>
|
CCDelegateTo<RetCC_X86_64_C>
|
||||||
]>;
|
]>;
|
||||||
|
|
||||||
|
// This is the return-value convention used for the entire X86 backend.
|
||||||
|
def RetCC_X86 : CallingConv<[
|
||||||
|
CCMatchIf<"Subtarget->is64Bit()", CCDelegateTo<RetCC_X86_64>>,
|
||||||
|
CCDelegateTo<RetCC_X86_32>
|
||||||
|
]>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Argument Calling Conventions
|
// Argument Calling Conventions
|
||||||
|
Loading…
Reference in New Issue
Block a user