LLVM 23.0.0git
RISCVCallingConv.h
Go to the documentation of this file.
1//===-- RISCVCallingConv.h - RISC-V Custom CC Routines ----------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines the custom routines for the RISC-V Calling Convention.
10//
11//===----------------------------------------------------------------------===//
12
15
16namespace llvm {
17
18/// This is used for assigining arguments to locations when making calls.
20
21/// This is used for assigning return values to locations when making calls.
23
24namespace RISCV {
25
27
28} // end namespace RISCV
29
30} // end namespace llvm
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition ArrayRef.h:40
ArrayRef< MCPhysReg > getArgGPRs(const RISCVABI::ABI ABI)
This is an optimization pass for GlobalISel generic memory operations.
bool CCAssignFn(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State)
CCAssignFn - This function assigns a location for Val, updating State to reflect the change.
CCAssignFn RetCC_RISCV
This is used for assigning return values to locations when making calls.
CCAssignFn CC_RISCV
This is used for assigining arguments to locations when making calls.