LLVM 20.0.0git
Functions
RISCVCallLowering.cpp File Reference

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

#include "RISCVCallLowering.h"
#include "RISCVCallingConv.h"
#include "RISCVISelLowering.h"
#include "RISCVMachineFunctionInfo.h"
#include "RISCVSubtarget.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/FunctionLoweringInfo.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)
 

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