Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.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
13#include "MCTargetDesc/RISCVBaseInfo.h"
14#include "llvm/CodeGen/CallingConvLower.h"
15
16namespacellvm {
17
18/// RISCVCCAssignFn - This target-specific function extends the default
19/// CCValAssign with additional information used to lower RISC-V calling
20/// conventions.
21typedefboolRISCVCCAssignFn(unsigned ValNo,MVT ValVT,MVT LocVT,
22CCValAssign::LocInfo LocInfo,
23ISD::ArgFlagsTy ArgFlags,CCState &State,
24bool IsFixed,bool IsRet,Type *OrigTy);
25
26boolCC_RISCV(unsigned ValNo,MVT ValVT,MVT LocVT,
27CCValAssign::LocInfo LocInfo,ISD::ArgFlagsTy ArgFlags,
28CCState &State,bool IsFixed,bool IsRet,Type *OrigTy);
29
30boolCC_RISCV_FastCC(unsigned ValNo,MVT ValVT,MVT LocVT,
31CCValAssign::LocInfo LocInfo,ISD::ArgFlagsTy ArgFlags,
32CCState &State,bool IsFixed,bool IsRet,Type *OrigTy);
33
34boolCC_RISCV_GHC(unsigned ValNo,MVT ValVT,MVT LocVT,
35CCValAssign::LocInfo LocInfo,ISD::ArgFlagsTy ArgFlags,
36CCState &State);
37
38namespaceRISCV {
39
40ArrayRef<MCPhysReg>getArgGPRs(constRISCVABI::ABI ABI);
41
42}// end namespace RISCV
43
44}// end namespace llvm
CallingConvLower.h
RISCVBaseInfo.h
llvm::ArrayRef
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition:ArrayRef.h:41
llvm::CCState
CCState - This class holds information needed while lowering arguments and return values.
Definition:CallingConvLower.h:170
llvm::CCValAssign::LocInfo
LocInfo
Definition:CallingConvLower.h:35
llvm::MVT
Machine Value Type.
Definition:MachineValueType.h:35
llvm::Type
The instances of the Type class are immutable: once they are created, they are never changed.
Definition:Type.h:45
llvm::RISCVABI::ABI
ABI
Definition:RISCVBaseInfo.h:503
llvm::RISCV::getArgGPRs
ArrayRef< MCPhysReg > getArgGPRs(const RISCVABI::ABI ABI)
Definition:RISCVCallingConv.cpp:126
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:AddressRanges.h:18
llvm::CC_RISCV_GHC
bool CC_RISCV_GHC(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
Definition:RISCVCallingConv.cpp:727
llvm::CC_RISCV_FastCC
bool CC_RISCV_FastCC(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State, bool IsFixed, bool IsRet, Type *OrigTy)
Definition:RISCVCallingConv.cpp:606
llvm::RISCVCCAssignFn
bool RISCVCCAssignFn(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State, bool IsFixed, bool IsRet, Type *OrigTy)
RISCVCCAssignFn - This target-specific function extends the default CCValAssign with additional infor...
Definition:RISCVCallingConv.h:21
llvm::CC_RISCV
bool CC_RISCV(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State, bool IsFixed, bool IsRet, Type *OrigTy)
Definition:RISCVCallingConv.cpp:324
llvm::ISD::ArgFlagsTy
Definition:TargetCallingConv.h:27

Generated on Thu Jul 17 2025 15:26:29 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp