LLVM 24.0.0git
RISCVCallLowering.cpp File Reference

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

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)
static void markSExt32Registers (MachineFunction &MF, ArrayRef< CallLowering::ArgInfo > Args, ArrayRef< CCValAssign > ArgLocs)
 Note the registers holding incoming arguments that the ABI guarantees are sign extended from 32 bits for the RISCVOptWInstrs pass.

Detailed Description

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

Definition in file RISCVCallLowering.cpp.

Function Documentation

◆ isLegalElementTypeForRVV()

◆ isSupportedArgumentType()

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

◆ isSupportedReturnType()

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

◆ markSExt32Registers()