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 ()
 
MakeLibCallOptionssetSExt (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 IsSExt: 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 4705 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ MakeLibCallOptions()

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

Definition at line 4716 of file TargetLowering.h.

Member Function Documentation

◆ setDiscardResult()

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

Definition at line 4730 of file TargetLowering.h.

References IsReturnValueUsed.

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

◆ setIsPostTypeLegalization()

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

Definition at line 4735 of file TargetLowering.h.

References IsPostTypeLegalization.

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

◆ setNoReturn()

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

Definition at line 4725 of file TargetLowering.h.

References DoesNotReturn.

◆ setSExt()

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

Definition at line 4720 of file TargetLowering.h.

References IsSExt.

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

◆ 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 4711 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 4712 of file TargetLowering.h.

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

◆ IsSExt

bool llvm::TargetLowering::MakeLibCallOptions::IsSExt

Definition at line 4710 of file TargetLowering.h.

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

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