LLVM 22.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)
 
MakeLibCallOptionssetOpsTypeOverrides (ArrayRef< Type * > OpsTypes)
 Override the argument type for an operand.
 

Public Attributes

ArrayRef< EVTOpsVTBeforeSoften
 
EVT RetVTBeforeSoften
 
ArrayRef< Type * > OpsTypeOverrides
 
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 4900 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ MakeLibCallOptions()

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

Definition at line 4913 of file TargetLowering.h.

Member Function Documentation

◆ setDiscardResult()

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

◆ setIsPostTypeLegalization()

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

Definition at line 4932 of file TargetLowering.h.

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

◆ setIsSigned()

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

Definition at line 4917 of file TargetLowering.h.

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

◆ setNoReturn()

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

Definition at line 4922 of file TargetLowering.h.

◆ setOpsTypeOverrides()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setOpsTypeOverrides ( ArrayRef< Type * >  OpsTypes)
inline

Override the argument type for an operand.

Leave the type as null to use the type from the operand's node.

Definition at line 4946 of file TargetLowering.h.

◆ setTypeListBeforeSoften()

MakeLibCallOptions & llvm::TargetLowering::MakeLibCallOptions::setTypeListBeforeSoften ( ArrayRef< EVT OpsVT,
EVT  RetVT 
)
inline

Member Data Documentation

◆ DoesNotReturn

bool llvm::TargetLowering::MakeLibCallOptions::DoesNotReturn

Definition at line 4908 of file TargetLowering.h.

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

◆ IsPostTypeLegalization

bool llvm::TargetLowering::MakeLibCallOptions::IsPostTypeLegalization

Definition at line 4910 of file TargetLowering.h.

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

◆ IsReturnValueUsed

bool llvm::TargetLowering::MakeLibCallOptions::IsReturnValueUsed

Definition at line 4909 of file TargetLowering.h.

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

◆ IsSigned

bool llvm::TargetLowering::MakeLibCallOptions::IsSigned

Definition at line 4907 of file TargetLowering.h.

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

◆ IsSoften

bool llvm::TargetLowering::MakeLibCallOptions::IsSoften

Definition at line 4911 of file TargetLowering.h.

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

◆ OpsTypeOverrides

ArrayRef<Type *> llvm::TargetLowering::MakeLibCallOptions::OpsTypeOverrides

Definition at line 4905 of file TargetLowering.h.

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

◆ OpsVTBeforeSoften

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

Definition at line 4903 of file TargetLowering.h.

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

◆ RetVTBeforeSoften

EVT llvm::TargetLowering::MakeLibCallOptions::RetVTBeforeSoften

Definition at line 4904 of file TargetLowering.h.

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


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