LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::TargetLoweringBase::ArgListEntry Class Reference

#include "llvm/CodeGen/TargetLowering.h"

Public Member Functions

 ArgListEntry ()
 
void setAttributes (const CallBase *Call, unsigned ArgIdx)
 Set CallLoweringInfo attribute flags based on a call instruction and called function attributes.
 

Public Attributes

ValueVal = nullptr
 
SDValue Node = SDValue()
 
TypeTy = nullptr
 
bool IsSExt: 1
 
bool IsZExt: 1
 
bool IsInReg: 1
 
bool IsSRet: 1
 
bool IsNest: 1
 
bool IsByVal: 1
 
bool IsByRef: 1
 
bool IsInAlloca: 1
 
bool IsPreallocated: 1
 
bool IsReturned: 1
 
bool IsSwiftSelf: 1
 
bool IsSwiftAsync: 1
 
bool IsSwiftError: 1
 
bool IsCFGuardTarget: 1
 
MaybeAlign Alignment = std::nullopt
 
TypeIndirectType = nullptr
 

Detailed Description

Definition at line 295 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ ArgListEntry()

llvm::TargetLoweringBase::ArgListEntry::ArgListEntry ( )
inline

Definition at line 317 of file TargetLowering.h.

Member Function Documentation

◆ setAttributes()

void TargetLoweringBase::ArgListEntry::setAttributes ( const CallBase Call,
unsigned  ArgIdx 
)

Set CallLoweringInfo attribute flags based on a call instruction and called function attributes.

Definition at line 111 of file TargetLowering.cpp.

References Alignment, assert(), IndirectType, IsByVal, IsInAlloca, IsInReg, IsNest, IsPreallocated, IsReturned, IsSExt, IsSRet, IsSwiftAsync, IsSwiftError, IsSwiftSelf, and IsZExt.

Member Data Documentation

◆ Alignment

MaybeAlign llvm::TargetLoweringBase::ArgListEntry::Alignment = std::nullopt

Definition at line 314 of file TargetLowering.h.

Referenced by setAttributes().

◆ IndirectType

Type* llvm::TargetLoweringBase::ArgListEntry::IndirectType = nullptr

Definition at line 315 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsByRef

bool llvm::TargetLoweringBase::ArgListEntry::IsByRef

Definition at line 306 of file TargetLowering.h.

◆ IsByVal

bool llvm::TargetLoweringBase::ArgListEntry::IsByVal

Definition at line 305 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsCFGuardTarget

bool llvm::TargetLoweringBase::ArgListEntry::IsCFGuardTarget

Definition at line 313 of file TargetLowering.h.

◆ IsInAlloca

bool llvm::TargetLoweringBase::ArgListEntry::IsInAlloca

Definition at line 307 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsInReg

bool llvm::TargetLoweringBase::ArgListEntry::IsInReg

Definition at line 302 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsNest

bool llvm::TargetLoweringBase::ArgListEntry::IsNest

Definition at line 304 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsPreallocated

bool llvm::TargetLoweringBase::ArgListEntry::IsPreallocated

Definition at line 308 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsReturned

bool llvm::TargetLoweringBase::ArgListEntry::IsReturned

Definition at line 309 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSExt

bool llvm::TargetLoweringBase::ArgListEntry::IsSExt

Definition at line 300 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSRet

bool llvm::TargetLoweringBase::ArgListEntry::IsSRet

Definition at line 303 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSwiftAsync

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftAsync

Definition at line 311 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSwiftError

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftError

Definition at line 312 of file TargetLowering.h.

Referenced by llvm::TargetLowering::LowerCallTo(), and setAttributes().

◆ IsSwiftSelf

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftSelf

Definition at line 310 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsZExt

bool llvm::TargetLoweringBase::ArgListEntry::IsZExt

Definition at line 301 of file TargetLowering.h.

Referenced by setAttributes().

◆ Node

SDValue llvm::TargetLoweringBase::ArgListEntry::Node = SDValue()

Definition at line 298 of file TargetLowering.h.

Referenced by llvm::SITargetLowering::LowerCall().

◆ Ty

Type* llvm::TargetLoweringBase::ArgListEntry::Ty = nullptr

Definition at line 299 of file TargetLowering.h.

Referenced by llvm::SITargetLowering::LowerCall().

◆ Val

Value* llvm::TargetLoweringBase::ArgListEntry::Val = nullptr

Definition at line 297 of file TargetLowering.h.


The documentation for this class was generated from the following files: