LLVM  14.0.0git
Macros | Functions
LegalizeIntegerTypes.cpp File Reference
#include "LegalizeTypes.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for LegalizeIntegerTypes.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "legalize-types"
 

Functions

static EVT getShiftAmountTyForConstant (EVT VT, const TargetLowering &TLI, SelectionDAG &DAG)
 
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)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalize-types"

Definition at line 28 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

◆ getExpandedMinMaxOps()

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

◆ getExtendForIntVecReduction()

static unsigned getExtendForIntVecReduction ( SDNode N)
static

◆ getShiftAmountTyForConstant()

static EVT getShiftAmountTyForConstant ( EVT  VT,
const TargetLowering TLI,
SelectionDAG DAG 
)
static

◆ SaturateWidenedDIVFIX()

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