LLVM 18.0.0git
Functions | Variables
RISCVCallLowering.cpp File Reference

This file implements the lowering of LLVM calls to machine code calls for GlobalISel. More...

#include "RISCVCallLowering.h"
#include "RISCVISelLowering.h"
#include "RISCVMachineFunctionInfo.h"
#include "RISCVSubtarget.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
#include "llvm/CodeGen/MachineFrameInfo.h"

Go to the source code of this file.

Functions

static bool isLegalElementTypeForRVV (Type *EltTy, const RISCVSubtarget &Subtarget)
 Return true if scalable vector with ScalarTy is legal for lowering.
 
static bool isSupportedArgumentType (Type *T, const RISCVSubtarget &Subtarget, bool IsLowerArgs=false)
 
static bool isSupportedReturnType (Type *T, const RISCVSubtarget &Subtarget, bool IsLowerRetVal=false)
 

Variables

static const MCPhysReg ArgGPRs []
 

Detailed Description

This file implements the lowering of LLVM calls to machine code calls for GlobalISel.

Definition in file RISCVCallLowering.cpp.

Function Documentation

◆ isLegalElementTypeForRVV()

static bool isLegalElementTypeForRVV ( Type EltTy,
const RISCVSubtarget Subtarget 
)
static

◆ isSupportedArgumentType()

static bool isSupportedArgumentType ( Type T,
const RISCVSubtarget Subtarget,
bool  IsLowerArgs = false 
)
static

◆ isSupportedReturnType()

static bool isSupportedReturnType ( Type T,
const RISCVSubtarget Subtarget,
bool  IsLowerRetVal = false 
)
static

Variable Documentation

◆ ArgGPRs

const MCPhysReg ArgGPRs[]
static
Initial value:
= {RISCV::X10, RISCV::X11, RISCV::X12,
RISCV::X13, RISCV::X14, RISCV::X15,
RISCV::X16, RISCV::X17}

Definition at line 426 of file RISCVCallLowering.cpp.