LLVM 20.0.0git
Macros | Functions
LegalizeFloatTypes.cpp File Reference
#include "LegalizeTypes.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"

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()

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

◆ GetFPLibCall()

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 
)
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()

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

◆ GetPromotionOpcodeStrict()

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