LLVM  13.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 61 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

◆ getNonZeroByValAlign()

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

◆ 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.

Referenced by llvm::CallLowering::setArgFlags().

◆ isInConsecutiveRegs()

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

Definition at line 124 of file TargetCallingConv.h.

Referenced by CalculateStackSlotAlignment(), and CalculateStackSlotSize().

◆ 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 argsAreStructReturn(), callIsStructReturn(), and CC_MipsO32().

◆ isNest()

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

Definition at line 118 of file TargetCallingConv.h.

Referenced by CC_AIX().

◆ 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.

Referenced by llvm::CallLowering::setArgFlags().

◆ isReturned()

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

Definition at line 121 of file TargetCallingConv.h.

Referenced by llvm::CallLowering::determineAssignments().

◆ 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

◆ 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 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.

Referenced by llvm::CallLowering::setArgFlags().

◆ isZExt()

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

◆ 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.

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

◆ setByValSize()

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

Definition at line 173 of file TargetCallingConv.h.

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

Referenced by llvm::FastISel::lowerCallTo(), and llvm::CallLowering::setArgFlags().

◆ setCFGuardTarget()

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

Definition at line 107 of file TargetCallingConv.h.

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

◆ 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.

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

◆ setInConsecutiveRegs()

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

Definition at line 125 of file TargetCallingConv.h.

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

◆ 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

◆ setMemAlign()

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

◆ setNest()

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

Definition at line 119 of file TargetCallingConv.h.

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

◆ setOrigAlign()

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

◆ 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.

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

◆ setReturned()

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

◆ setSecArgPass()

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

Definition at line 116 of file TargetCallingConv.h.

◆ setSExt()

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

◆ setSplit()

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

Definition at line 133 of file TargetCallingConv.h.

Referenced by llvm::CallLowering::determineAssignments().

◆ setSplitEnd()

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

Definition at line 136 of file TargetCallingConv.h.

Referenced by llvm::CallLowering::determineAssignments().

◆ setSRet()

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

Definition at line 83 of file TargetCallingConv.h.

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

◆ setSwiftAsync()

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

Definition at line 101 of file TargetCallingConv.h.

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

◆ setSwiftError()

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

Definition at line 104 of file TargetCallingConv.h.

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

◆ setSwiftSelf()

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

Definition at line 98 of file TargetCallingConv.h.

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

◆ setZExt()

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

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