LLVM 22.0.0git
|
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
Public Member Functions | |
ArgInfo (ArrayRef< Register > Regs, Type *Ty, unsigned OrigIndex, ArrayRef< ISD::ArgFlagsTy > Flags=ArrayRef< ISD::ArgFlagsTy >(), const Value *OrigValue=nullptr) | |
ArgInfo (ArrayRef< Register > Regs, const Value &OrigValue, unsigned OrigIndex, ArrayRef< ISD::ArgFlagsTy > Flags=ArrayRef< ISD::ArgFlagsTy >()) | |
ArgInfo ()=default | |
![]() | |
BaseArgInfo (Type *Ty, ArrayRef< ISD::ArgFlagsTy > Flags=ArrayRef< ISD::ArgFlagsTy >()) | |
BaseArgInfo () | |
Public Attributes | |
SmallVector< Register, 4 > | Regs |
SmallVector< Register, 2 > | OrigRegs |
const Value * | OrigValue = nullptr |
Optionally track the original IR value for the argument. | |
unsigned | OrigArgIndex |
Index original Function's argument. | |
![]() | |
Type * | Ty |
SmallVector< ISD::ArgFlagsTy, 4 > | Flags |
Static Public Attributes | |
static const unsigned | NoArgIndex = UINT_MAX |
Sentinel value for implicit machine-level input arguments. | |
Definition at line 61 of file CallLowering.h.
|
inline |
Definition at line 80 of file CallLowering.h.
References assert(), llvm::ArrayRef< T >::empty(), llvm::Type::isEmptyTy(), llvm::Type::isVoidTy(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 93 of file CallLowering.h.
|
default |
Sentinel value for implicit machine-level input arguments.
Definition at line 78 of file CallLowering.h.
Referenced by llvm::CallLowering::insertSRetIncomingArgument(), and llvm::CallLowering::insertSRetOutgoingArgument().
unsigned llvm::CallLowering::ArgInfo::OrigArgIndex |
Index original Function's argument.
Definition at line 75 of file CallLowering.h.
Referenced by llvm::CallLowering::splitToValueTypes().
SmallVector<Register, 2> llvm::CallLowering::ArgInfo::OrigRegs |
Definition at line 66 of file CallLowering.h.
Optionally track the original IR value for the argument.
This may not be meaningful in all contexts. This should only be used on for forwarding through to use for aliasing information in MachinePointerInfo for memory arguments.
Definition at line 72 of file CallLowering.h.
Referenced by llvm::AMDGPUCallLowering::lowerTailCall(), and llvm::CallLowering::splitToValueTypes().
SmallVector<Register, 4> llvm::CallLowering::ArgInfo::Regs |
Definition at line 62 of file CallLowering.h.
Referenced by llvm::CallLowering::ValueHandler::assignValueToAddress(), llvm::AArch64CallLowering::lowerCall(), llvm::AArch64CallLowering::lowerReturn(), llvm::AMDGPUCallLowering::lowerTailCall(), llvm::CallLowering::parametersInCSRMatch(), and llvm::CallLowering::splitToValueTypes().