LLVM  13.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.


#define DEBUG_TYPE   "legalize-types"


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 std::pair< ISD::CondCode, ISD::NodeTypegetExpandedMinMaxOps (int Op)

Macro Definition Documentation


#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 

◆ getExpandedMinMaxOps()

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

◆ getShiftAmountTyForConstant()

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

◆ SaturateWidenedDIVFIX()

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