LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::TargetLowering::MakeLibCallOptions Struct Reference

This structure is used to pass arguments to makeLibCall function. More...

#include "llvm/CodeGen/TargetLowering.h"

Public Member Functions

 MakeLibCallOptions ()
 
MakeLibCallOptionssetIsSigned (bool Value=true)
 
MakeLibCallOptionssetNoReturn (bool Value=true)
 
MakeLibCallOptionssetDiscardResult (bool Value=true)
 
MakeLibCallOptionssetIsPostTypeLegalization (bool Value=true)
 
MakeLibCallOptionssetTypeListBeforeSoften (ArrayRef< EVT > OpsVT, EVT RetVT, bool Value=true)
 

Public Attributes

ArrayRef< EVTOpsVTBeforeSoften
 
EVT RetVTBeforeSoften
 
bool IsSigned: 1
 
bool DoesNotReturn: 1
 
bool IsReturnValueUsed: 1
 
bool IsPostTypeLegalization: 1
 
bool IsSoften: 1
 

Detailed Description

This structure is used to pass arguments to makeLibCall function.

Definition at line 4714 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ MakeLibCallOptions()

llvm::TargetLowering::MakeLibCallOptions::MakeLibCallOptions ( )
inline

Definition at line 4725 of file TargetLowering.h.

Member Function Documentation

◆ setDiscardResult()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setDiscardResult ( bool  Value = true)
inline

Definition at line 4739 of file TargetLowering.h.

References IsReturnValueUsed.

Referenced by llvm::SelectionDAGBuilder::visitSPDescriptorFailure().

◆ setIsPostTypeLegalization()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setIsPostTypeLegalization ( bool  Value = true)
inline

Definition at line 4744 of file TargetLowering.h.

References IsPostTypeLegalization.

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

◆ setIsSigned()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setIsSigned ( bool  Value = true)
inline

Definition at line 4729 of file TargetLowering.h.

References IsSigned.

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

◆ setNoReturn()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setNoReturn ( bool  Value = true)
inline

Definition at line 4734 of file TargetLowering.h.

References DoesNotReturn.

◆ setTypeListBeforeSoften()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setTypeListBeforeSoften ( ArrayRef< EVT OpsVT,
EVT  RetVT,
bool  Value = true 
)
inline

Member Data Documentation

◆ DoesNotReturn

bool llvm::TargetLowering::MakeLibCallOptions::DoesNotReturn

Definition at line 4720 of file TargetLowering.h.

Referenced by llvm::TargetLowering::makeLibCall(), and setNoReturn().

◆ IsPostTypeLegalization

bool llvm::TargetLowering::MakeLibCallOptions::IsPostTypeLegalization

◆ IsReturnValueUsed

bool llvm::TargetLowering::MakeLibCallOptions::IsReturnValueUsed

Definition at line 4721 of file TargetLowering.h.

Referenced by llvm::TargetLowering::makeLibCall(), and setDiscardResult().

◆ IsSigned

bool llvm::TargetLowering::MakeLibCallOptions::IsSigned

Definition at line 4719 of file TargetLowering.h.

Referenced by llvm::TargetLowering::makeLibCall(), and setIsSigned().

◆ IsSoften

bool llvm::TargetLowering::MakeLibCallOptions::IsSoften

◆ OpsVTBeforeSoften

ArrayRef<EVT> llvm::TargetLowering::MakeLibCallOptions::OpsVTBeforeSoften

◆ RetVTBeforeSoften

EVT llvm::TargetLowering::MakeLibCallOptions::RetVTBeforeSoften

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