LLVM  16.0.0git
Public Member Functions | List of all members
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 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 ()
 
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 62 of file TargetCallingConv.h.

Member Function Documentation

◆ getByRefSize()

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

Definition at line 178 of file TargetCallingConv.h.

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

◆ getByValSize()

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

Definition at line 169 of file TargetCallingConv.h.

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

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

◆ getNonZeroByValAlign()

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

Definition at line 153 of file TargetCallingConv.h.

References assert(), llvm::decodeMaybeAlign(), and isByVal().

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

◆ getNonZeroMemAlign()

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

◆ getNonZeroOrigAlign()

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

◆ getPointerAddrSpace()

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

Definition at line 187 of file TargetCallingConv.h.

◆ isByRef()

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

Definition at line 88 of file TargetCallingConv.h.

Referenced by getByRefSize(), getByValSize(), setByRefSize(), and setByValSize().

◆ isByVal()

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

◆ isCFGuardTarget()

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

Definition at line 106 of file TargetCallingConv.h.

◆ isCopyElisionCandidate()

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

Definition at line 138 of file TargetCallingConv.h.

◆ isHva()

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

Definition at line 109 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 112 of file TargetCallingConv.h.

Referenced by CC_X86_64_VectorCall().

◆ isInAlloca()

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

Definition at line 91 of file TargetCallingConv.h.

◆ isInConsecutiveRegs()

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

Definition at line 124 of file TargetCallingConv.h.

◆ isInConsecutiveRegsLast()

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

◆ isInReg()

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

Definition at line 79 of file TargetCallingConv.h.

Referenced by CC_MipsO32().

◆ isNest()

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

Definition at line 118 of file TargetCallingConv.h.

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

◆ isPointer()

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

Definition at line 141 of file TargetCallingConv.h.

◆ isPreallocated()

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

Definition at line 94 of file TargetCallingConv.h.

◆ isReturned()

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

Definition at line 121 of file TargetCallingConv.h.

◆ isSecArgPass()

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

Definition at line 115 of file TargetCallingConv.h.

Referenced by CC_X86_32_VectorCall(), and CC_X86_64_VectorCall().

◆ isSExt()

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

Definition at line 76 of file TargetCallingConv.h.

Referenced by AnalyzeArguments(), CC_AIX(), CC_Lanai32_VarArg(), and CC_MipsO32().

◆ isSplit()

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

◆ isSplitEnd()

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

◆ isSRet()

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

Definition at line 82 of file TargetCallingConv.h.

Referenced by CC_Sparc_Assign_SRet().

◆ isSwiftAsync()

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

Definition at line 100 of file TargetCallingConv.h.

◆ isSwiftError()

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

Definition at line 103 of file TargetCallingConv.h.

◆ isSwiftSelf()

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

Definition at line 97 of file TargetCallingConv.h.

◆ isZExt()

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

Definition at line 73 of file TargetCallingConv.h.

Referenced by AnalyzeArguments(), CC_Lanai32_VarArg(), and CC_MipsO32().

◆ setByRef()

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

Definition at line 89 of file TargetCallingConv.h.

◆ setByRefSize()

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

Definition at line 182 of file TargetCallingConv.h.

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

◆ setByVal()

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

Definition at line 86 of file TargetCallingConv.h.

◆ setByValSize()

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

Definition at line 173 of file TargetCallingConv.h.

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

◆ setCFGuardTarget()

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

Definition at line 107 of file TargetCallingConv.h.

◆ setCopyElisionCandidate()

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

Definition at line 139 of file TargetCallingConv.h.

◆ setHva()

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

Definition at line 110 of file TargetCallingConv.h.

◆ setHvaStart()

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

Definition at line 113 of file TargetCallingConv.h.

◆ setInAlloca()

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

Definition at line 92 of file TargetCallingConv.h.

◆ setInConsecutiveRegs()

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

Definition at line 125 of file TargetCallingConv.h.

Referenced by finishStackBlock().

◆ setInConsecutiveRegsLast()

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

Definition at line 128 of file TargetCallingConv.h.

Referenced by finishStackBlock().

◆ setInReg()

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

Definition at line 80 of file TargetCallingConv.h.

Referenced by CC_X86_32_VectorCall(), and llvm::FastISel::lowerCallTo().

◆ setMemAlign()

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

Definition at line 148 of file TargetCallingConv.h.

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

◆ setNest()

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

Definition at line 119 of file TargetCallingConv.h.

◆ setOrigAlign()

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

Definition at line 164 of file TargetCallingConv.h.

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

◆ setPointer()

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

Definition at line 142 of file TargetCallingConv.h.

◆ setPointerAddrSpace()

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

Definition at line 188 of file TargetCallingConv.h.

◆ setPreallocated()

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

Definition at line 95 of file TargetCallingConv.h.

◆ setReturned()

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

Definition at line 122 of file TargetCallingConv.h.

◆ setSecArgPass()

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

Definition at line 116 of file TargetCallingConv.h.

◆ setSExt()

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

Definition at line 77 of file TargetCallingConv.h.

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

◆ setSplit()

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

Definition at line 133 of file TargetCallingConv.h.

◆ setSplitEnd()

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

Definition at line 136 of file TargetCallingConv.h.

◆ setSRet()

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

Definition at line 83 of file TargetCallingConv.h.

◆ setSwiftAsync()

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

Definition at line 101 of file TargetCallingConv.h.

◆ setSwiftError()

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

Definition at line 104 of file TargetCallingConv.h.

◆ setSwiftSelf()

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

Definition at line 98 of file TargetCallingConv.h.

◆ setZExt()

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

Definition at line 74 of file TargetCallingConv.h.

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


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