LLVM 22.0.0git
LanaiISelLowering.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lanai-lower"

Functions

static bool CC_Lanai32_VarArg (unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, Type *OrigTy, CCState &State)
static LPCC::CondCode IntCondCCodeToICC (SDValue CC, const SDLoc &DL, SDValue &RHS, SelectionDAG &DAG)
static bool isZeroOrAllOnes (SDValue N, bool AllOnes)
static bool isConditionalZeroOrAllOnes (SDNode *N, bool AllOnes, SDValue &CC, bool &Invert, SDValue &OtherOp, SelectionDAG &DAG)
static SDValue combineSelectAndUse (SDNode *N, SDValue Slct, SDValue OtherOp, TargetLowering::DAGCombinerInfo &DCI, bool AllOnes)
static SDValue combineSelectAndUseCommutative (SDNode *N, TargetLowering::DAGCombinerInfo &DCI, bool AllOnes)
static SDValue PerformSUBCombine (SDNode *N, TargetLowering::DAGCombinerInfo &DCI)

Variables

static cl::opt< int > LanaiLowerConstantMulThreshold ("lanai-constant-mul-threshold", cl::Hidden, cl::desc("Maximum number of instruction to generate when lowering constant " "multiplication instead of calling library function [default=14]"), cl::init(14))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lanai-lower"

Definition at line 53 of file LanaiISelLowering.cpp.

Function Documentation

◆ CC_Lanai32_VarArg()

◆ combineSelectAndUse()

◆ combineSelectAndUseCommutative()

SDValue combineSelectAndUseCommutative ( SDNode * N,
TargetLowering::DAGCombinerInfo & DCI,
bool AllOnes )
static

◆ IntCondCCodeToICC()

◆ isConditionalZeroOrAllOnes()

◆ isZeroOrAllOnes()

bool isZeroOrAllOnes ( SDValue N,
bool AllOnes )
inlinestatic

◆ PerformSUBCombine()

SDValue PerformSUBCombine ( SDNode * N,
TargetLowering::DAGCombinerInfo & DCI )
static

Variable Documentation

◆ LanaiLowerConstantMulThreshold

cl::opt< int > LanaiLowerConstantMulThreshold("lanai-constant-mul-threshold", cl::Hidden, cl::desc("Maximum number of instruction to generate when lowering constant " "multiplication instead of calling library function [default=14]"), cl::init(14)) ( "lanai-constant-mul-threshold" ,
cl::Hidden ,
cl::desc("Maximum number of instruction to generate when lowering constant " "multiplication instead of calling library function [default=14]") ,
cl::init(14)  )
static