LLVM  15.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 <algorithm>
Include dependency graph for LegalizeIntegerTypes.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "legalize-types"


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 ExpandExtIntRes_DIVREM (const TargetLowering &TLI, const RTLIB::Libcall &LC, SelectionDAG &DAG, SDNode *N, const SDLoc &DL, const EVT &VT)

Macro Definition Documentation


#define DEBUG_TYPE   "legalize-types"

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

◆ ExpandExtIntRes_DIVREM()

static SDValue ExpandExtIntRes_DIVREM ( const TargetLowering TLI,
const RTLIB::Libcall LC,
SelectionDAG DAG,
SDNode N,
const SDLoc DL,
const EVT VT 

◆ getExpandedMinMaxOps()

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

◆ getExtendForIntVecReduction()

static unsigned getExtendForIntVecReduction ( SDNode N)

◆ SaturateWidenedDIVFIX()

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