LLVM  13.0.0git
Macros | Functions
LegalizeFloatTypes.cpp File Reference
#include "LegalizeTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for LegalizeFloatTypes.cpp:

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. More...
 
static RTLIB::Libcall findFPToIntLibcall (EVT SrcVT, EVT RetVT, EVT &Promoted, bool Signed)
 
static ISD::NodeType GetPromotionOpcode (EVT OpVT, EVT RetVT)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalize-types"

Definition at line 26 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 31 of file LegalizeFloatTypes.cpp.

References llvm::MVT::f128, llvm::MVT::f32, llvm::MVT::f64, llvm::MVT::f80, and llvm::MVT::ppcf128.

◆ GetPromotionOpcode()

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