Home
last modified time | relevance | path

Searched refs:isConstOrConstSplat (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4540 ConstantSDNode *NC1 = isConstOrConstSplat(N1); in visitMUL()
4698 ConstantSDNode *N1C = isConstOrConstSplat(N1); in simplifyDivRem()
4715 ConstantSDNode *N0C = isConstOrConstSplat(N0); in simplifyDivRem()
4753 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitSDIV()
4901 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitUDIV()
5464 ConstantSDNode *N0C = isConstOrConstSplat(N0); in visitMULO()
5465 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitMULO()
5652 ConstantSDNode *N1C = isConstOrConstSplat(N1); in PerformUMinFpToSatCombine()
6170 auto *LHS1C = isConstOrConstSplat(LHS1); in foldAndOrOfSETCC()
6171 auto *RHS1C = isConstOrConstSplat(RHS1); in foldAndOrOfSETCC()
[all …]
H A DTargetLowering.cpp968 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG()
975 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG()
1375 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1)) { in SimplifyDemandedBits()
2823 ConstantSDNode *C = isConstOrConstSplat(Op1); in SimplifyDemandedBits()
4107 assert(isConstOrConstSplat(N1C) && isConstOrConstSplat(N1C)->isZero() && in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4296 auto *C1 = isConstOrConstSplat(N1, /* AllowUndefs */ true); in foldSetCCWithRotate()
4341 auto *C1 = isConstOrConstSplat(N1, /* AllowUndefs */ true); in foldSetCCWithFunnelShift()
4350 auto *ShAmtC = isConstOrConstSplat(N0.getOperand(2)); in foldSetCCWithFunnelShift()
4446 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC()
4843 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC()
[all …]
H A DSelectionDAG.cpp4186 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4196 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4547 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits()
4568 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits()
4593 isConstOrConstSplat(Op.getOperand(0), DemandedElts)) in ComputeNumSignBits()
5371 ConstantSDNode *MaskC = isConstOrConstSplat(Mask); in getBitwiseNotOperand()
11551 if (auto *Const = isConstOrConstSplat(V)) { in isNeutralConstant()
11638 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true); in isBitwiseNot()
11721 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation=*/true); in isNullOrNullSplat()
11727 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation*/ true); in isOneOrOneSplat()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1760 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false,
1765 ConstantSDNode *isConstOrConstSplat(SDValue N, const APInt &DemandedElts,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13312 Clamp = isConstOrConstSplat(N->getOperand(1)); in PerformVQDMULHCombine()
13322 Clamp = isConstOrConstSplat(N->getOperand(2)); in PerformVQDMULHCombine()
13350 ConstantSDNode *N1 = isConstOrConstSplat(Shft.getOperand(1)); in PerformVQDMULHCombine()
13436 isConstOrConstSplat(XOR->getOperand(1), /*AllowUndefs*/ false, in PerformVSELECTCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4117 if (auto K = isConstOrConstSplat(Src.getOperand(1))) { in performTruncateCombine()
H A DSIISelLowering.cpp6401 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) { in lowerXMULO()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23283 ConstantSDNode *C1 = isConstOrConstSplat(Op1); in LowerVSETCC()
27939 ConstantSDNode *C = isConstOrConstSplat(Y, true); in LowerADDSAT_SUBSAT()
45297 auto *C = isConstOrConstSplat(And.getOperand(1)); in combineSelect()
46778 ConstantSDNode *CNode = isConstOrConstSplat( in combineMul()
48605 ConstantSDNode *N1C = isConstOrConstSplat(N1, /*AllowUndefs*/ true, in combineAnd()
48608 isConstOrConstSplat(N0.getOperand(1), /*AllowUndefs*/ true, in combineAnd()
49594 isConstOrConstSplat(Shift.getOperand(1), /*AllowUndefs*/ true); in foldVectorXorShiftIntoCmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17576 if (ConstantSDNode *Mask = isConstOrConstSplat(N1->getOperand(1))) in stripModuloOnShift()
17823 ConstantSDNode *ConstOpOrElement = isConstOrConstSplat(N->getOperand(1)); in combineMUL()