summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLToken.h
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-01-17 19:47:03 +0000
committerJuergen Ributzka <juergen@apple.com>2014-01-17 19:47:03 +0000
commite625013071ee4a1317cbf0b8cd6f763fbf7abc7b (patch)
tree8c45fa8e168e670b9356fc08b744cfaa1305f5d7 /llvm/lib/AsmParser/LLToken.h
parent7489cc98f7bf461cf11cd270d0d07fca49c87bae (diff)
downloadbcm5719-llvm-e625013071ee4a1317cbf0b8cd6f763fbf7abc7b.tar.gz
bcm5719-llvm-e625013071ee4a1317cbf0b8cd6f763fbf7abc7b.zip
Add two new calling conventions for runtime calls
This patch adds two new target-independent calling conventions for runtime calls - PreserveMost and PreserveAll. The target-specific implementation for X86-64 is defined as following: - Arguments are passed as for the default C calling convention - The same applies for the return value(s) - PreserveMost preserves all GPRs - except R11 - PreserveAll preserves all GPRs and all XMMs/YMMs - except R11 Reviewed by Lang and Philip llvm-svn: 199508
Diffstat (limited to 'llvm/lib/AsmParser/LLToken.h')
-rw-r--r--llvm/lib/AsmParser/LLToken.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h
index 5a6866dd149..50318500bf4 100644
--- a/llvm/lib/AsmParser/LLToken.h
+++ b/llvm/lib/AsmParser/LLToken.h
@@ -92,6 +92,7 @@ namespace lltok {
kw_spir_kernel, kw_spir_func,
kw_x86_64_sysvcc, kw_x86_64_win64cc,
kw_webkit_jscc, kw_anyregcc,
+ kw_preserve_mostcc, kw_preserve_allcc,
// Attributes:
kw_attributes,
OpenPOWER on IntegriCloud