CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
40 lines
1.7 KiB
TableGen
40 lines
1.7 KiB
TableGen
//===- XtensaCallingConv.td - Xtensa Calling Conventions -*- tablegen ---*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
// This describes the calling conventions for the Xtensa ABI.
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Xtensa base calling convention
|
|
//===----------------------------------------------------------------------===//
|
|
// Xtensa return value
|
|
def RetCC_Xtensa : CallingConv<[
|
|
// First two return values go in a2, a3, a4, a5
|
|
CCIfType<[i32], CCAssignToReg<[A2, A3, A4, A5]>>,
|
|
CCIfType<[f32], CCAssignToReg<[A2, A3, A4, A5]>>,
|
|
CCIfType<[i64], CCAssignToRegWithShadow<[A2, A4], [A3, A5]>>
|
|
]>;
|
|
|
|
// Callee-saved register lists
|
|
def CSR_Xtensa : CalleeSavedRegs<(add A0, A12, A13, A14, A15)>;
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Xtensa windowed calling convention. Currently by default implemented
|
|
// rotation window by 8 registers.
|
|
//===----------------------------------------------------------------------===//
|
|
// Xtensa return value for 8 registers window
|
|
def RetCCW8_Xtensa : CallingConv<[
|
|
//First two return values go in a10, a11, a12, a13
|
|
CCIfType<[i32], CCAssignToReg<[A10, A11, A12, A13]>>,
|
|
CCIfType<[i64], CCAssignToRegWithShadow<[A10, A12], [A11, A13]>>
|
|
]>;
|
|
|
|
// Callee-saved register lists for rotation window by 8 registers
|
|
def CSRW8_Xtensa : CalleeSavedRegs<(add)> {
|
|
let OtherPreserved = (add A0, SP, A2, A3, A4, A5, A6, A7);
|
|
}
|