LLVM 20.0.0git
Macros | Functions
LegalizeIntegerTypes.cpp File Reference
#include "LegalizeTypes.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/CodeGen/StackMaps.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "legalize-types"
 

Functions

static SDValue SaturateWidenedDIVFIX (SDValue V, SDLoc &dl, unsigned SatW, bool Signed, const TargetLowering &TLI, SelectionDAG &DAG)
 
static SDValue earlyExpandDIVFIX (SDNode *N, SDValue LHS, SDValue RHS, unsigned Scale, const TargetLowering &TLI, SelectionDAG &DAG, unsigned SatW=0)
 
static unsigned getExtendForIntVecReduction (SDNode *N)
 
static std::pair< ISD::CondCode, ISD::NodeTypegetExpandedMinMaxOps (int Op)
 
static SDValue fpExtendHelper (SDValue Op, SDValue &Chain, bool IsStrict, EVT VT, SDLoc DL, SelectionDAG &DAG)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalize-types"

Definition at line 31 of file LegalizeIntegerTypes.cpp.

Function Documentation

◆ earlyExpandDIVFIX()

static SDValue earlyExpandDIVFIX ( SDNode N,
SDValue  LHS,
SDValue  RHS,
unsigned  Scale,
const TargetLowering TLI,
SelectionDAG DAG,
unsigned  SatW = 0 
)
static

◆ fpExtendHelper()

static SDValue fpExtendHelper ( SDValue  Op,
SDValue Chain,
bool  IsStrict,
EVT  VT,
SDLoc  DL,
SelectionDAG DAG 
)
static

◆ getExpandedMinMaxOps()

static std::pair< ISD::CondCode, ISD::NodeType > getExpandedMinMaxOps ( int  Op)
static

◆ getExtendForIntVecReduction()

static unsigned getExtendForIntVecReduction ( SDNode N)
static

◆ SaturateWidenedDIVFIX()

static SDValue SaturateWidenedDIVFIX ( SDValue  V,
SDLoc dl,
unsigned  SatW,
bool  Signed,
const TargetLowering TLI,
SelectionDAG DAG 
)
static