[Stackmap] Add AnyReg calling convention support for patchpoint intrinsic.
authorJuergen Ributzka <juergen@apple.com>
Fri, 8 Nov 2013 23:28:16 +0000 (23:28 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 8 Nov 2013 23:28:16 +0000 (23:28 +0000)
commit623d2e618f4e672c47edff9ec63ed6d733ac81d3
treeb979de9c381f0ca66085b02e248b2fe3b9c50966
parentd900b1179535298510490030a5d2ecce93f79eb0
[Stackmap] Add AnyReg calling convention support for patchpoint intrinsic.

The idea of the AnyReg Calling Convention is to provide the call arguments in
registers, but not to force them to be placed in a paticular order into a
specified set of registers. Instead it is up tp the register allocator to assign
any register as it sees fit. The same applies to the return value (if
applicable).

Differential Revision: http://llvm-reviews.chandlerc.com/D2009

Reviewed by Andy

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194293 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/CodeGen/StackMaps.h
include/llvm/IR/CallingConv.h
include/llvm/Target/Target.td
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/StackMaps.cpp
lib/Target/X86/X86CallingConv.h [new file with mode: 0644]
lib/Target/X86/X86CallingConv.td
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86MCInstLower.cpp
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/anyregcc.ll [new file with mode: 0644]