Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
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 4914 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ MakeLibCallOptions()

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

Member Function Documentation

◆ setDiscardResult()

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

◆ setIsPostTypeLegalization()

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

◆ setIsSigned()

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

Definition at line 4931 of file TargetLowering.h.

References IsSigned, and MakeLibCallOptions().

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

◆ setNoReturn()

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

Definition at line 4936 of file TargetLowering.h.

References DoesNotReturn, and MakeLibCallOptions().

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

References MakeLibCallOptions(), and OpsTypeOverrides.

◆ setTypeListBeforeSoften()

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

Member Data Documentation

◆ DoesNotReturn

bool llvm::TargetLowering::MakeLibCallOptions::DoesNotReturn

◆ IsPostTypeLegalization

bool llvm::TargetLowering::MakeLibCallOptions::IsPostTypeLegalization

◆ IsReturnValueUsed

bool llvm::TargetLowering::MakeLibCallOptions::IsReturnValueUsed

◆ IsSigned

bool llvm::TargetLowering::MakeLibCallOptions::IsSigned

◆ IsSoften

bool llvm::TargetLowering::MakeLibCallOptions::IsSoften

◆ OpsTypeOverrides

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

Definition at line 4919 of file TargetLowering.h.

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

◆ OpsVTBeforeSoften

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

◆ RetVTBeforeSoften

EVT llvm::TargetLowering::MakeLibCallOptions::RetVTBeforeSoften

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