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

#include "llvm/CodeGen/TargetLowering.h"

Collaboration diagram for llvm::TargetLoweringBase::ArgListEntry:
Collaboration graph
[legend]

Public Member Functions

 ArgListEntry ()
 
void setAttributes (const CallBase *Call, unsigned ArgIdx)
 Set CallLoweringInfo attribute flags based on the call instruction's argument attributes. More...
 

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 = None
 
TypeIndirectType = nullptr
 

Detailed Description

Definition at line 271 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ ArgListEntry()

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

Definition at line 294 of file TargetLowering.h.

Member Function Documentation

◆ setAttributes()

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

Set CallLoweringInfo attribute flags based on the call instruction's argument attributes.

Definition at line 107 of file TargetLowering.cpp.

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

Member Data Documentation

◆ Alignment

MaybeAlign llvm::TargetLoweringBase::ArgListEntry::Alignment = None

Definition at line 290 of file TargetLowering.h.

Referenced by setAttributes().

◆ IndirectType

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

Definition at line 292 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsByRef

bool llvm::TargetLoweringBase::ArgListEntry::IsByRef

Definition at line 282 of file TargetLowering.h.

◆ IsByVal

bool llvm::TargetLoweringBase::ArgListEntry::IsByVal

Definition at line 281 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsCFGuardTarget

bool llvm::TargetLoweringBase::ArgListEntry::IsCFGuardTarget

Definition at line 289 of file TargetLowering.h.

◆ IsInAlloca

bool llvm::TargetLoweringBase::ArgListEntry::IsInAlloca

Definition at line 283 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsInReg

bool llvm::TargetLoweringBase::ArgListEntry::IsInReg

Definition at line 278 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsNest

bool llvm::TargetLoweringBase::ArgListEntry::IsNest

Definition at line 280 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsPreallocated

bool llvm::TargetLoweringBase::ArgListEntry::IsPreallocated

Definition at line 284 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsReturned

bool llvm::TargetLoweringBase::ArgListEntry::IsReturned

Definition at line 285 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSExt

bool llvm::TargetLoweringBase::ArgListEntry::IsSExt

Definition at line 276 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSRet

bool llvm::TargetLoweringBase::ArgListEntry::IsSRet

Definition at line 279 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSwiftAsync

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftAsync

Definition at line 287 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSwiftError

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftError

Definition at line 288 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsSwiftSelf

bool llvm::TargetLoweringBase::ArgListEntry::IsSwiftSelf

Definition at line 286 of file TargetLowering.h.

Referenced by setAttributes().

◆ IsZExt

bool llvm::TargetLoweringBase::ArgListEntry::IsZExt

Definition at line 277 of file TargetLowering.h.

Referenced by setAttributes().

◆ Node

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

Definition at line 274 of file TargetLowering.h.

◆ Ty

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

Definition at line 275 of file TargetLowering.h.

◆ Val

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

Definition at line 273 of file TargetLowering.h.


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