Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2770 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in foldAddSubOfSignBit()
3432 if (Force && isConstOrConstSplat(V.getOperand(1), false)) in extractBooleanFlip()
4037 ConstantSDNode *DivC = isConstOrConstSplat(Divisor); in foldRemainderIdiom()
4038 ConstantSDNode *ShC = isConstOrConstSplat(Shl1); in foldRemainderIdiom()
4110 ConstantSDNode *ShiftAmt = isConstOrConstSplat(N1.getOperand(1)); in visitSUB()
4376 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in visitSUB()
4387 ConstantSDNode *ShlC = isConstOrConstSplat(N1.getOperand(1)); in visitSUB()
4412 if (ConstantSDNode *C0 = isConstOrConstSplat(N0)) { in visitSUB()
4825 ConstantSDNode *NC1 = isConstOrConstSplat(N1); in visitMUL()
4997 ConstantSDNode *N1C = isConstOrConstSplat(N1); in simplifyDivRem()
[all …]
H A DTargetLowering.cpp1017 ConstantSDNode *N1C = isConstOrConstSplat(Op.getOperand(1), DemandedElts); in combineShiftToAVG()
1036 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG()
1043 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG()
1451 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1, DemandedElts)) { in SimplifyDemandedBits()
1640 ConstantSDNode *C = isConstOrConstSplat(Op1, DemandedElts); in SimplifyDemandedBits()
1665 isConstOrConstSplat(Op0.getOperand(1), DemandedElts)) { in SimplifyDemandedBits()
2206 if (ConstantSDNode *SA = isConstOrConstSplat(Op2, DemandedElts)) { in SimplifyDemandedBits()
2271 if (ConstantSDNode *SA = isConstOrConstSplat(Op1, DemandedElts)) { in SimplifyDemandedBits()
2855 ConstantSDNode *C = isConstOrConstSplat(Op.getOperand(1), DemandedElts); in SimplifyDemandedBits()
2923 ConstantSDNode *C = isConstOrConstSplat(Op1); in SimplifyDemandedBits()
[all …]
H A DSelectionDAG.cpp3862 if (ConstantSDNode *C = isConstOrConstSplat(Op.getOperand(2), DemandedElts)) { in computeKnownBits()
4328 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in computeKnownBits()
4331 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in computeKnownBits()
4633 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4643 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo()
4951 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in ComputeNumSignBits()
4954 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in ComputeNumSignBits()
5023 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits()
5044 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits()
5069 isConstOrConstSplat(Op.getOperand(0), DemandedElts)) in ComputeNumSignBits()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1903 LLVM_ABI ConstantSDNode *isConstOrConstSplat(SDValue N,
1909 LLVM_ABI ConstantSDNode *isConstOrConstSplat(SDValue N,
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp8916 ConstantSDNode *ShiftAmtSrc = isConstOrConstSplat(N->getOperand(1)); in combineShiftToMulAddHigh()
8948 if (ConstantSDNode *Constant = isConstOrConstSplat(RightOp)) { in combineShiftToMulAddHigh()
8967 if (ConstantSDNode *Constant = isConstOrConstSplat(AddOp)) { in combineShiftToMulAddHigh()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13396 Clamp = isConstOrConstSplat(N->getOperand(1)); in PerformVQDMULHCombine()
13406 Clamp = isConstOrConstSplat(N->getOperand(2)); in PerformVQDMULHCombine()
13434 ConstantSDNode *N1 = isConstOrConstSplat(Shft.getOperand(1)); in PerformVQDMULHCombine()
13520 isConstOrConstSplat(XOR->getOperand(1), /*AllowUndefs*/ false, in PerformVSELECTCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4393 if (auto *K = isConstOrConstSplat(Src.getOperand(1))) { in performTruncateCombine()
H A DSIISelLowering.cpp7368 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) { in lowerXMULO()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp18696 if (ConstantSDNode *Mask = isConstOrConstSplat(N1->getOperand(1))) in stripModuloOnShift()
19037 ConstantSDNode *ConstOpOrElement = isConstOrConstSplat(N->getOperand(1)); in combineMUL()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24229 ConstantSDNode *C1 = isConstOrConstSplat(Op1); in LowerVSETCC()
29184 ConstantSDNode *C = isConstOrConstSplat(Y, true); in LowerADDSAT_SUBSAT()
48117 auto *C = isConstOrConstSplat(And.getOperand(1)); in combineSelect()
51695 ConstantSDNode *N1C = isConstOrConstSplat(N1, /*AllowUndefs*/ true, in combineAnd()
51698 isConstOrConstSplat(N0.getOperand(1), /*AllowUndefs*/ true, in combineAnd()
52656 isConstOrConstSplat(Shift.getOperand(1), /*AllowUndefs*/ true); in foldVectorXorShiftIntoCmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp15625 ConstantSDNode *CondRHSC = isConstOrConstSplat(CondRHS); in combineTruncSelectToSMaxUSat()
15637 ConstantSDNode *FalseRHSC = isConstOrConstSplat(False.getOperand(1)); in combineTruncSelectToSMaxUSat()