LLVM 20.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 >(), bool IsFixed=true, const Value *OrigValue=nullptr) | |
ArgInfo (ArrayRef< Register > Regs, const Value &OrigValue, unsigned OrigIndex, ArrayRef< ISD::ArgFlagsTy > Flags=ArrayRef< ISD::ArgFlagsTy >(), bool IsFixed=true) | |
ArgInfo ()=default | |
Public Member Functions inherited from llvm::CallLowering::BaseArgInfo | |
BaseArgInfo (Type *Ty, ArrayRef< ISD::ArgFlagsTy > Flags=ArrayRef< ISD::ArgFlagsTy >(), bool IsFixed=true) | |
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. | |
Public Attributes inherited from llvm::CallLowering::BaseArgInfo | |
Type * | Ty |
SmallVector< ISD::ArgFlagsTy, 4 > | Flags |
bool | IsFixed |
Static Public Attributes | |
static const unsigned | NoArgIndex = UINT_MAX |
Sentinel value for implicit machine-level input arguments. | |
Definition at line 62 of file CallLowering.h.
|
inline |
Definition at line 81 of file CallLowering.h.
References assert(), llvm::CallLowering::BaseArgInfo::Flags, llvm::Type::isEmptyTy(), llvm::Type::isVoidTy(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), Regs, and llvm::CallLowering::BaseArgInfo::Ty.
|
inline |
Definition at line 94 of file CallLowering.h.
|
default |
Sentinel value for implicit machine-level input arguments.
Definition at line 79 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 76 of file CallLowering.h.
Referenced by llvm::CallLowering::splitToValueTypes().
SmallVector<Register, 2> llvm::CallLowering::ArgInfo::OrigRegs |
Definition at line 67 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 73 of file CallLowering.h.
Referenced by llvm::AMDGPUCallLowering::lowerTailCall(), and llvm::CallLowering::splitToValueTypes().
SmallVector<Register, 4> llvm::CallLowering::ArgInfo::Regs |
Definition at line 63 of file CallLowering.h.
Referenced by ArgInfo(), llvm::CallLowering::ValueHandler::assignValueToAddress(), llvm::AArch64CallLowering::lowerCall(), llvm::AArch64CallLowering::lowerReturn(), llvm::AMDGPUCallLowering::lowerTailCall(), llvm::CallLowering::parametersInCSRMatch(), and llvm::CallLowering::splitToValueTypes().