Searched refs:isConstOrConstSplat (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 4264 ConstantSDNode *N1C = isConstOrConstSplat(N1); in simplifyDivRem() 4281 ConstantSDNode *N0C = isConstOrConstSplat(N0); in simplifyDivRem() 4319 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitSDIV() 4467 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitUDIV() 4973 ConstantSDNode *N0C = isConstOrConstSplat(N0); in visitMULO() 4974 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitMULO() 5158 ConstantSDNode *N1C = isConstOrConstSplat(N1); in PerformUMinFpToSatCombine() 5159 ConstantSDNode *N3C = isConstOrConstSplat(N3); in PerformUMinFpToSatCombine() 6205 ConstantSDNode *N1C = isConstOrConstSplat(N1); in visitAND() 8816 auto *RotAmtC = isConstOrConstSplat(N1); in visitRotate() [all …]
|
| H A D | TargetLowering.cpp | 955 if ((ConstOp = isConstOrConstSplat(Op1, DemandedElts)) && in combineShiftToAVG() 961 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG() 967 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG() 1353 if (ConstantSDNode *RHSC = isConstOrConstSplat(Op1)) { in SimplifyDemandedBits() 2626 ConstantSDNode *C = isConstOrConstSplat(Op1); in SimplifyDemandedBits() 3844 assert(isConstOrConstSplat(N1C) && in optimizeSetCCByHoistingAndByConstFromLogicalShift() 4028 auto *C1 = isConstOrConstSplat(N1, /* AllowUndefs */ true); in foldSetCCWithRotate() 4082 auto *ShAmtC = isConstOrConstSplat(N0.getOperand(2)); in foldSetCCWithFunnelShift() 4177 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() 4557 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() [all …]
|
| H A D | SelectionDAG.cpp | 3720 if ((CstLow = isConstOrConstSplat(Op.getOperand(1), DemandedElts))) in computeKnownBits() 3872 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 3880 auto *C = isConstOrConstSplat(Val.getOperand(0)); in isKnownToBeAPowerOfTwo() 4192 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) { in ComputeNumSignBits() 4213 isConstOrConstSplat(Op.getOperand(1), DemandedElts)) in ComputeNumSignBits() 4238 isConstOrConstSplat(Op.getOperand(0), DemandedElts)) in ComputeNumSignBits() 4764 ConstantSDNode *MaskC = isConstOrConstSplat(Mask); in getBitwiseNotOperand() 10663 isConstOrConstSplat(V, AllowUndefs, /*AllowTruncation*/ true); in isBitwiseNot() 10764 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation=*/true); in isNullOrNullSplat() 10770 isConstOrConstSplat(N, AllowUndefs, /*AllowTruncation*/ true); in isOneOrOneSplat() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1702 ConstantSDNode *isConstOrConstSplat(SDValue N, bool AllowUndefs = false, 1707 ConstantSDNode *isConstOrConstSplat(SDValue N, const APInt &DemandedElts,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3214 if (auto K = isConstOrConstSplat(Src.getOperand(1))) { in performTruncateCombine()
|
| H A D | SIISelLowering.cpp | 5332 if (ConstantSDNode *RHSC = isConstOrConstSplat(RHS)) { in lowerXMULO()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 13089 Clamp = isConstOrConstSplat(N->getOperand(1)); in PerformVQDMULHCombine() 13099 Clamp = isConstOrConstSplat(N->getOperand(2)); in PerformVQDMULHCombine() 13127 ConstantSDNode *N1 = isConstOrConstSplat(Shft.getOperand(1)); in PerformVQDMULHCombine() 13213 isConstOrConstSplat(XOR->getOperand(1), /*AllowUndefs*/ false, in PerformVSELECTCombine()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 16993 if (ConstantSDNode *Mask = isConstOrConstSplat(N1->getOperand(1))) in stripModuloOnShift() 17258 ConstantSDNode *ConstOpOrElement = isConstOrConstSplat(N->getOperand(1)); in combineMUL()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 24489 ConstantSDNode *C1 = isConstOrConstSplat(Op1); in LowerVSETCC() 28900 ConstantSDNode *C = isConstOrConstSplat(Y, true); in LowerADDSAT_SUBSAT() 44992 auto *C = isConstOrConstSplat(And.getOperand(1)); in combineSelect() 48600 isConstOrConstSplat(Shift.getOperand(1), /*AllowUndefs*/ true); in foldVectorXorShiftIntoCmp()
|