Searched refs:isConstOrConstSplat (Results 1 – 9 of 9) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 4096 ConstantSDNode *N1C = isConstOrConstSplat(N1); in simplifyDivRem() 4113 ConstantSDNode *N0C = isConstOrConstSplat(N0); in simplifyDivRem() 4148 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitSDIV() 4293 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitUDIV() 4389 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitREM() 4705 ConstantSDNode *N0C = isConstOrConstSplat(N0); in visitMULO() 4706 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitMULO() 5667 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitAND() 8175 auto *RotAmtC = isConstOrConstSplat(N1); in visitRotate() 8248 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitSHL() [all …]
|
| H A D | TargetLowering.cpp | 1183 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1)) { in SimplifyDemandedBits() 1338 ConstantSDNode* C = isConstOrConstSplat(Op1, DemandedElts); in SimplifyDemandedBits() 2246 ConstantSDNode *C = isConstOrConstSplat(Op1); in SimplifyDemandedBits() 3327 assert(isConstOrConstSplat(N1C) && in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3328 isConstOrConstSplat(N1C)->getAPIntValue().isNullValue() && in optimizeSetCCByHoistingAndByConstFromLogicalShift() 3524 if (isConstOrConstSplat(N0) && in SimplifySetCC() 3525 (!OpVT.isScalableVector() || !isConstOrConstSplat(N1)) && in SimplifySetCC() 3534 if (!isConstOrConstSplat(N0) && !isConstOrConstSplat(N1) && in SimplifySetCC() 3541 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() 3912 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() [all …]
|
| H A D | SelectionDAG.cpp | 3495 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in computeKnownBits() 3628 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 3636 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 3864 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in ComputeNumSignBits() 3927 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits() 3948 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits() 3973 isConstOrConstSplat(Op.getOperand(0), DemandedElts)) in ComputeNumSignBits() 9571 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true); in isBitwiseNot() 9672 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation=*/true); in isNullOrNullSplat() 9679 ConstantSDNode *C = isConstOrConstSplat(N, AllowUndefs); in isOneOrOneSplat() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1663 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false, 1668 ConstantSDNode *isConstOrConstSplat(SDValue N, const APInt &DemandedElts,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 12873 Clamp = isConstOrConstSplat(N->getOperand(1)); in PerformVQDMULHCombine() 12883 Clamp = isConstOrConstSplat(N->getOperand(2)); in PerformVQDMULHCombine() 12911 ConstantSDNode *N1 = isConstOrConstSplat(Shft.getOperand(1)); in PerformVQDMULHCombine() 12997 isConstOrConstSplat(XOR->getOperand(1), /*AllowUndefs*/ false, in PerformVSELECTCombine()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3326 if (auto K = isConstOrConstSplat(Src.getOperand(1))) { in performTruncateCombine()
|
| H A D | SIISelLowering.cpp | 5206 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) { in lowerXMULO()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 16587 if (ConstantSDNode *Mask = isConstOrConstSplat(N1->getOperand(1))) in stripModuloOnShift() 16852 ConstantSDNode *ConstOpOrElement = isConstOrConstSplat(N->getOperand(1)); in combineMUL()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23244 ConstantSDNode *C1 = isConstOrConstSplat(Op1); in LowerVSETCC() 42195 auto *C = isConstOrConstSplat(And.getOperand(1)); in combineSelect() 45394 isConstOrConstSplat(Shift.getOperand(1), /*AllowUndefs*/ true); in foldVectorXorShiftIntoCmp()
|