LLVM 22.0.0git
llvm::ISD::ArgFlagsTy Struct Reference

#include "llvm/CodeGen/TargetCallingConv.h"

Public Member Functions

 ArgFlagsTy ()
bool isZExt () const
void setZExt ()
bool isSExt () const
void setSExt ()
bool isNoExt () const
void setNoExt ()
bool isInReg () const
void setInReg ()
bool isSRet () const
void setSRet ()
bool isByVal () const
void setByVal ()
bool isByRef () const
void setByRef ()
bool isInAlloca () const
void setInAlloca ()
bool isPreallocated () const
void setPreallocated ()
bool isSwiftSelf () const
void setSwiftSelf ()
bool isSwiftAsync () const
void setSwiftAsync ()
bool isSwiftError () const
void setSwiftError ()
bool isCFGuardTarget () const
void setCFGuardTarget ()
bool isHva () const
void setHva ()
bool isHvaStart () const
void setHvaStart ()
bool isSecArgPass () const
void setSecArgPass ()
bool isNest () const
void setNest ()
bool isReturned () const
void setReturned (bool V=true)
bool isInConsecutiveRegs () const
void setInConsecutiveRegs (bool Flag=true)
bool isInConsecutiveRegsLast () const
void setInConsecutiveRegsLast (bool Flag=true)
bool isSplit () const
void setSplit ()
bool isSplitEnd () const
void setSplitEnd ()
bool isCopyElisionCandidate () const
void setCopyElisionCandidate ()
bool isPointer () const
void setPointer ()
bool isVarArg () const
void setVarArg ()
Align getNonZeroMemAlign () const
void setMemAlign (Align A)
Align getNonZeroByValAlign () const
Align getNonZeroOrigAlign () const
void setOrigAlign (Align A)
unsigned getByValSize () const
void setByValSize (unsigned S)
unsigned getByRefSize () const
void setByRefSize (unsigned S)
unsigned getPointerAddrSpace () const
void setPointerAddrSpace (unsigned AS)

Detailed Description

Definition at line 27 of file TargetCallingConv.h.

Constructor & Destructor Documentation

◆ ArgFlagsTy()

llvm::ISD::ArgFlagsTy::ArgFlagsTy ( )
inline

Definition at line 65 of file TargetCallingConv.h.

Member Function Documentation

◆ getByRefSize()

unsigned llvm::ISD::ArgFlagsTy::getByRefSize ( ) const
inline

Definition at line 187 of file TargetCallingConv.h.

References assert(), isByRef(), and isByVal().

◆ getByValSize()

unsigned llvm::ISD::ArgFlagsTy::getByValSize ( ) const
inline

Definition at line 178 of file TargetCallingConv.h.

References assert(), isByRef(), and isByVal().

Referenced by CC_AIX(), CC_Xtensa_Custom(), and llvm::CCState::HandleByVal().

◆ getNonZeroByValAlign()

Align llvm::ISD::ArgFlagsTy::getNonZeroByValAlign ( ) const
inline

◆ getNonZeroMemAlign()

Align llvm::ISD::ArgFlagsTy::getNonZeroMemAlign ( ) const
inline

◆ getNonZeroOrigAlign()

◆ getPointerAddrSpace()

unsigned llvm::ISD::ArgFlagsTy::getPointerAddrSpace ( ) const
inline

Definition at line 196 of file TargetCallingConv.h.

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

◆ isByRef()

bool llvm::ISD::ArgFlagsTy::isByRef ( ) const
inline

◆ isByVal()

◆ isCFGuardTarget()

bool llvm::ISD::ArgFlagsTy::isCFGuardTarget ( ) const
inline

Definition at line 112 of file TargetCallingConv.h.

◆ isCopyElisionCandidate()

bool llvm::ISD::ArgFlagsTy::isCopyElisionCandidate ( ) const
inline

Definition at line 144 of file TargetCallingConv.h.

◆ isHva()

bool llvm::ISD::ArgFlagsTy::isHva ( ) const
inline

Definition at line 115 of file TargetCallingConv.h.

Referenced by CC_X86_32_VectorCall(), and CC_X86_64_VectorCall().

◆ isHvaStart()

bool llvm::ISD::ArgFlagsTy::isHvaStart ( ) const
inline

Definition at line 118 of file TargetCallingConv.h.

Referenced by CC_X86_64_VectorCall().

◆ isInAlloca()

bool llvm::ISD::ArgFlagsTy::isInAlloca ( ) const
inline

Definition at line 97 of file TargetCallingConv.h.

◆ isInConsecutiveRegs()

bool llvm::ISD::ArgFlagsTy::isInConsecutiveRegs ( ) const
inline

Definition at line 130 of file TargetCallingConv.h.

◆ isInConsecutiveRegsLast()

bool llvm::ISD::ArgFlagsTy::isInConsecutiveRegsLast ( ) const
inline

◆ isInReg()

bool llvm::ISD::ArgFlagsTy::isInReg ( ) const
inline

Definition at line 85 of file TargetCallingConv.h.

Referenced by CC_MipsO32(), and processPSInputArgs().

◆ isNest()

bool llvm::ISD::ArgFlagsTy::isNest ( ) const
inline

Definition at line 124 of file TargetCallingConv.h.

Referenced by CC_AIX(), llvm::CC_RISCV(), and llvm::CC_RISCV_GHC().

◆ isNoExt()

bool llvm::ISD::ArgFlagsTy::isNoExt ( ) const
inline

Definition at line 82 of file TargetCallingConv.h.

◆ isPointer()

bool llvm::ISD::ArgFlagsTy::isPointer ( ) const
inline

Definition at line 147 of file TargetCallingConv.h.

◆ isPreallocated()

bool llvm::ISD::ArgFlagsTy::isPreallocated ( ) const
inline

Definition at line 100 of file TargetCallingConv.h.

◆ isReturned()

bool llvm::ISD::ArgFlagsTy::isReturned ( ) const
inline

Definition at line 127 of file TargetCallingConv.h.

◆ isSecArgPass()

bool llvm::ISD::ArgFlagsTy::isSecArgPass ( ) const
inline

Definition at line 121 of file TargetCallingConv.h.

Referenced by CC_X86_32_VectorCall(), and CC_X86_64_VectorCall().

◆ isSExt()

bool llvm::ISD::ArgFlagsTy::isSExt ( ) const
inline

◆ isSplit()

bool llvm::ISD::ArgFlagsTy::isSplit ( ) const
inline

◆ isSplitEnd()

bool llvm::ISD::ArgFlagsTy::isSplitEnd ( ) const
inline

◆ isSRet()

bool llvm::ISD::ArgFlagsTy::isSRet ( ) const
inline

◆ isSwiftAsync()

bool llvm::ISD::ArgFlagsTy::isSwiftAsync ( ) const
inline

Definition at line 106 of file TargetCallingConv.h.

◆ isSwiftError()

bool llvm::ISD::ArgFlagsTy::isSwiftError ( ) const
inline

Definition at line 109 of file TargetCallingConv.h.

◆ isSwiftSelf()

bool llvm::ISD::ArgFlagsTy::isSwiftSelf ( ) const
inline

Definition at line 103 of file TargetCallingConv.h.

◆ isVarArg()

bool llvm::ISD::ArgFlagsTy::isVarArg ( ) const
inline

◆ isZExt()

bool llvm::ISD::ArgFlagsTy::isZExt ( ) const
inline

◆ setByRef()

void llvm::ISD::ArgFlagsTy::setByRef ( )
inline

Definition at line 95 of file TargetCallingConv.h.

◆ setByRefSize()

void llvm::ISD::ArgFlagsTy::setByRefSize ( unsigned S)
inline

Definition at line 191 of file TargetCallingConv.h.

References assert(), isByRef(), and isByVal().

◆ setByVal()

void llvm::ISD::ArgFlagsTy::setByVal ( )
inline

Definition at line 92 of file TargetCallingConv.h.

◆ setByValSize()

void llvm::ISD::ArgFlagsTy::setByValSize ( unsigned S)
inline

Definition at line 182 of file TargetCallingConv.h.

References assert(), isByRef(), and isByVal().

◆ setCFGuardTarget()

void llvm::ISD::ArgFlagsTy::setCFGuardTarget ( )
inline

Definition at line 113 of file TargetCallingConv.h.

◆ setCopyElisionCandidate()

void llvm::ISD::ArgFlagsTy::setCopyElisionCandidate ( )
inline

Definition at line 145 of file TargetCallingConv.h.

◆ setHva()

void llvm::ISD::ArgFlagsTy::setHva ( )
inline

Definition at line 116 of file TargetCallingConv.h.

◆ setHvaStart()

void llvm::ISD::ArgFlagsTy::setHvaStart ( )
inline

Definition at line 119 of file TargetCallingConv.h.

◆ setInAlloca()

void llvm::ISD::ArgFlagsTy::setInAlloca ( )
inline

Definition at line 98 of file TargetCallingConv.h.

◆ setInConsecutiveRegs()

void llvm::ISD::ArgFlagsTy::setInConsecutiveRegs ( bool Flag = true)
inline

Definition at line 131 of file TargetCallingConv.h.

Referenced by finishStackBlock().

◆ setInConsecutiveRegsLast()

void llvm::ISD::ArgFlagsTy::setInConsecutiveRegsLast ( bool Flag = true)
inline

Definition at line 134 of file TargetCallingConv.h.

Referenced by finishStackBlock().

◆ setInReg()

void llvm::ISD::ArgFlagsTy::setInReg ( )
inline

◆ setMemAlign()

void llvm::ISD::ArgFlagsTy::setMemAlign ( Align A)
inline

Definition at line 157 of file TargetCallingConv.h.

References A(), assert(), llvm::encode(), and getNonZeroMemAlign().

◆ setNest()

void llvm::ISD::ArgFlagsTy::setNest ( )
inline

Definition at line 125 of file TargetCallingConv.h.

◆ setNoExt()

void llvm::ISD::ArgFlagsTy::setNoExt ( )
inline

Definition at line 83 of file TargetCallingConv.h.

◆ setOrigAlign()

void llvm::ISD::ArgFlagsTy::setOrigAlign ( Align A)
inline

Definition at line 173 of file TargetCallingConv.h.

References A(), assert(), llvm::encode(), and getNonZeroOrigAlign().

Referenced by llvm::TargetLowering::LowerCallTo().

◆ setPointer()

void llvm::ISD::ArgFlagsTy::setPointer ( )
inline

Definition at line 148 of file TargetCallingConv.h.

◆ setPointerAddrSpace()

void llvm::ISD::ArgFlagsTy::setPointerAddrSpace ( unsigned AS)
inline

Definition at line 197 of file TargetCallingConv.h.

◆ setPreallocated()

void llvm::ISD::ArgFlagsTy::setPreallocated ( )
inline

Definition at line 101 of file TargetCallingConv.h.

◆ setReturned()

void llvm::ISD::ArgFlagsTy::setReturned ( bool V = true)
inline

Definition at line 128 of file TargetCallingConv.h.

◆ setSecArgPass()

void llvm::ISD::ArgFlagsTy::setSecArgPass ( )
inline

Definition at line 122 of file TargetCallingConv.h.

◆ setSExt()

void llvm::ISD::ArgFlagsTy::setSExt ( )
inline

Definition at line 80 of file TargetCallingConv.h.

Referenced by llvm::FastISel::lowerCallTo().

◆ setSplit()

void llvm::ISD::ArgFlagsTy::setSplit ( )
inline

Definition at line 139 of file TargetCallingConv.h.

Referenced by llvm::TargetLowering::LowerCallTo().

◆ setSplitEnd()

void llvm::ISD::ArgFlagsTy::setSplitEnd ( )
inline

Definition at line 142 of file TargetCallingConv.h.

Referenced by llvm::TargetLowering::LowerCallTo().

◆ setSRet()

void llvm::ISD::ArgFlagsTy::setSRet ( )
inline

Definition at line 89 of file TargetCallingConv.h.

◆ setSwiftAsync()

void llvm::ISD::ArgFlagsTy::setSwiftAsync ( )
inline

Definition at line 107 of file TargetCallingConv.h.

◆ setSwiftError()

void llvm::ISD::ArgFlagsTy::setSwiftError ( )
inline

Definition at line 110 of file TargetCallingConv.h.

Referenced by llvm::TargetLowering::LowerCallTo().

◆ setSwiftSelf()

void llvm::ISD::ArgFlagsTy::setSwiftSelf ( )
inline

Definition at line 104 of file TargetCallingConv.h.

◆ setVarArg()

void llvm::ISD::ArgFlagsTy::setVarArg ( )
inline

Definition at line 151 of file TargetCallingConv.h.

◆ setZExt()

void llvm::ISD::ArgFlagsTy::setZExt ( )
inline

Definition at line 77 of file TargetCallingConv.h.

Referenced by llvm::FastISel::lowerCallTo().


The documentation for this struct was generated from the following file: