LLVM 22.0.0git
LegalizeFloatTypes.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "legalize-types"

Functions

static RTLIB::Libcall GetFPLibCall (EVT VT, RTLIB::Libcall Call_F32, RTLIB::Libcall Call_F64, RTLIB::Libcall Call_F80, RTLIB::Libcall Call_F128, RTLIB::Libcall Call_PPCF128)
 GetFPLibCall - Return the right libcall for the given floating point type.
static RTLIB::Libcall findFPToIntLibcall (EVT SrcVT, EVT RetVT, EVT &Promoted, bool Signed)
static ISD::NodeType GetPromotionOpcode (EVT OpVT, EVT RetVT)
static ISD::NodeType GetPromotionOpcodeStrict (EVT OpVT, EVT RetVT)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalize-types"

Definition at line 27 of file LegalizeFloatTypes.cpp.

Function Documentation

◆ findFPToIntLibcall()

RTLIB::Libcall findFPToIntLibcall ( EVT SrcVT,
EVT RetVT,
EVT & Promoted,
bool Signed )
static

◆ GetFPLibCall()

RTLIB::Libcall GetFPLibCall ( EVT VT,
RTLIB::Libcall Call_F32,
RTLIB::Libcall Call_F64,
RTLIB::Libcall Call_F80,
RTLIB::Libcall Call_F128,
RTLIB::Libcall Call_PPCF128 )
static

GetFPLibCall - Return the right libcall for the given floating point type.

FIXME: This is a local version of RTLIB::getFPLibCall that should be refactored away (see RTLIB::getPOWI for an example).

Definition at line 32 of file LegalizeFloatTypes.cpp.

◆ GetPromotionOpcode()

ISD::NodeType GetPromotionOpcode ( EVT OpVT,
EVT RetVT )
static

Definition at line 2571 of file LegalizeFloatTypes.cpp.

References llvm::report_fatal_error().

◆ GetPromotionOpcodeStrict()

ISD::NodeType GetPromotionOpcodeStrict ( EVT OpVT,
EVT RetVT )
static

Definition at line 2583 of file LegalizeFloatTypes.cpp.

References llvm::report_fatal_error().