Searched refs:isConstOrConstSplat (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2230 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in foldAddSubOfSignBit() 2760 ConstantSDNode *Const = isConstOrConstSplat(V.getOperand(1), false); in extractBooleanFlip() 3282 ConstantSDNode *ShiftAmt = isConstOrConstSplat(N1.getOperand(1)); in visitSUB() 3509 if (ConstantSDNode *C = isConstOrConstSplat(N1.getOperand(1))) in visitSUB() 3558 ConstantSDNode *ShAmtC = isConstOrConstSplat(ShAmt); in visitSUB() 3922 if (ConstantSDNode *NC1 = isConstOrConstSplat(N1)) { in visitMUL() 4075 ConstantSDNode *N1C = isConstOrConstSplat(N1); in simplifyDivRem() 4092 ConstantSDNode *N0C = isConstOrConstSplat(N0); in simplifyDivRem() 4127 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitSDIV() 4272 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitUDIV() [all …]
|
| H A D | TargetLowering.cpp | 1192 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1)) { in SimplifyDemandedBits() 1347 ConstantSDNode* C = isConstOrConstSplat(Op1, DemandedElts); in SimplifyDemandedBits() 1685 if (ConstantSDNode *SA = isConstOrConstSplat(Op2, DemandedElts)) { in SimplifyDemandedBits() 2255 ConstantSDNode *C = isConstOrConstSplat(Op1); in SimplifyDemandedBits() 3302 assert(isConstOrConstSplat(N1C) && in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3303 isConstOrConstSplat(N1C)->getAPIntValue().isNullValue() && in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3334 isConstOrConstSplat(C, /*AllowUndefs=*/true, /*AllowTruncation=*/true); in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3340 isConstOrConstSplat(X, /*AllowUndefs=*/true, /*AllowTruncation=*/true); in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3499 if (isConstOrConstSplat(N0) && in SimplifySetCC() 3500 (!OpVT.isScalableVector() || !isConstOrConstSplat(N1)) && in SimplifySetCC() [all …]
|
| H A D | SelectionDAG.cpp | 2664 if (ConstantSDNode *SA = isConstOrConstSplat(V.getOperand(1), DemandedElts)) { in getValidShiftAmountConstant() 3127 if (ConstantSDNode *C = isConstOrConstSplat(Op.getOperand(2), DemandedElts)) { in computeKnownBits() 3498 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in computeKnownBits() 3501 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in computeKnownBits() 3631 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 3639 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 3867 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in ComputeNumSignBits() 3870 isConstOrConstSplat(Op.getOperand(0).getOperand(1), DemandedElts); in ComputeNumSignBits() 3930 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits() 3951 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1651 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false, 1656 ConstantSDNode *isConstOrConstSplat(SDValue N, const APInt &DemandedElts,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 12586 Clamp = isConstOrConstSplat(N->getOperand(1)); in PerformVQDMULHCombine() 12596 Clamp = isConstOrConstSplat(N->getOperand(2)); in PerformVQDMULHCombine() 12624 ConstantSDNode *N1 = isConstOrConstSplat(Shft.getOperand(1)); in PerformVQDMULHCombine() 12677 isConstOrConstSplat(XOR->getOperand(1), /*AllowUndefs*/ false, in PerformVSELECTCombine()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3227 if (auto K = isConstOrConstSplat(Src.getOperand(1))) { in performTruncateCombine()
|
| H A D | SIISelLowering.cpp | 5139 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) { in lowerXMULO()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 16464 if (ConstantSDNode *Mask = isConstOrConstSplat(N1->getOperand(1))) in stripModuloOnShift() 16731 ConstantSDNode *ConstOpOrElement = isConstOrConstSplat(N->getOperand(1)); in combineMUL()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23103 ConstantSDNode *C1 = isConstOrConstSplat(Op1); in LowerVSETCC() 41905 auto *C = isConstOrConstSplat(And.getOperand(1)); in combineSelect() 45073 isConstOrConstSplat(Shift.getOperand(1), /*AllowUndefs*/ true); in foldVectorXorShiftIntoCmp()
|