LLVM 20.0.0git
|
#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) |
#define DEBUG_TYPE "legalize-types" |
Definition at line 27 of file LegalizeFloatTypes.cpp.
|
static |
Definition at line 1206 of file LegalizeFloatTypes.cpp.
References llvm::EVT::bitsGE(), llvm::RTLIB::getFPTOSINT(), llvm::RTLIB::getFPTOUINT(), and Signed.
|
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.
|
static |
Definition at line 2469 of file LegalizeFloatTypes.cpp.
References llvm::ISD::BF16_TO_FP, llvm::ISD::FP16_TO_FP, llvm::ISD::FP_TO_BF16, llvm::ISD::FP_TO_FP16, and llvm::report_fatal_error().
|
static |
Definition at line 2481 of file LegalizeFloatTypes.cpp.
References llvm::report_fatal_error(), llvm::ISD::STRICT_BF16_TO_FP, llvm::ISD::STRICT_FP16_TO_FP, llvm::ISD::STRICT_FP_TO_BF16, and llvm::ISD::STRICT_FP_TO_FP16.