LLVM 19.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 4543 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ MakeLibCallOptions()

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

Definition at line 4554 of file TargetLowering.h.

Member Function Documentation

◆ setDiscardResult()

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

Definition at line 4568 of file TargetLowering.h.

References IsReturnValueUsed.

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

◆ setIsPostTypeLegalization()

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

Definition at line 4573 of file TargetLowering.h.

References IsPostTypeLegalization.

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

◆ setNoReturn()

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

Definition at line 4563 of file TargetLowering.h.

References DoesNotReturn.

◆ setSExt()

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

Definition at line 4558 of file TargetLowering.h.

References IsSExt.

Referenced by llvm::TargetLowering::forceExpandWideMUL(), and LowerUMULO_SMULO().

◆ 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 4549 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 4550 of file TargetLowering.h.

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

◆ IsSExt

bool llvm::TargetLowering::MakeLibCallOptions::IsSExt

Definition at line 4548 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: