14#ifndef LLVM_LIB_TARGET_RISCV_RISCVCALLLOWERING_H
15#define LLVM_LIB_TARGET_RISCV_RISCVCALLLOWERING_H
22class MachineInstrBuilder;
23class MachineIRBuilder;
24class RISCVTargetLowering;
Analysis containing CSE Info
This file describes how to lower LLVM calls to machine code calls.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
CCState - This class holds information needed while lowering arguments and return values.
FunctionLoweringInfo - This contains information that is global to a function that is used when lower...
Helper class to build MachineInstr.
bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val, ArrayRef< Register > VRegs, FunctionLoweringInfo &FLI) const override
This hook behaves as the extended lowerReturn function, but for targets that do not support swifterro...
bool lowerCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info) const override
This hook must be implemented to lower the given call instruction, including argument and return valu...
bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef< ArrayRef< Register > > VRegs, FunctionLoweringInfo &FLI) const override
This hook must be implemented to lower the incoming (formal) arguments, described by VRegs,...
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
Base class for ValueHandlers used for arguments coming into the current function, or for return value...