[llvm] [CHERI] Add enum values and LL parse/print support for CHERIoT calling conventions. (PR #156328)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 17 08:17:21 PDT 2025
================
@@ -287,6 +287,20 @@ namespace CallingConv {
// Calling convention for AMDGPU whole wave functions.
AMDGPU_Gfx_WholeWave = 124,
+ /// CHERIoT_CompartmentCall - Calling convention used for CHERI when
+ /// crossing a
+ /// protection boundary.
+ CHERIoT_CompartmentCall = 125,
+ /// CHERIoT_CompartmentCallee - Calling convention used for the callee of
+ /// CHERI_CCall.
+ /// Ignores the first two capability arguments and the first integer
+ /// argument, zeroes all unused return registers on return.
+ CHERIoT_CompartmentCallee = 126,
+ /// CHERIoT_LibraryCall - Calling convention used for cross-library calls to
+ /// a
+ /// stateless compartment.
----------------
nikic wrote:
```suggestion
/// a stateless compartment.
```
https://github.com/llvm/llvm-project/pull/156328
More information about the llvm-commits
mailing list