| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.h | 1105 bool isConstantSplatVector(Register Src, int64_t SplatValue,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SDPatternMatch.h | 1085 return ISD::isConstantSplatVector(N.getNode(),
|
| H A D | SelectionDAGNodes.h | 92 LLVM_ABI bool isConstantSplatVector(const SDNode *N, APInt &SplatValue);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2818 if (!ISD::isConstantSplatVector(RHS.getNode(), MaskVal)) in LowerShift() 2821 if (ISD::isConstantSplatVector(RHS.getNode(), MaskVal) && in LowerShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaISelLowering.cpp | 1432 if (ISD::isConstantSplatVector(C.getNode(), Imm)) { in decomposeMulByConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperators.td | 1066 return ISD::isConstantSplatVector(N, Imm) && Imm == 1;
|
| H A D | SystemZISelLowering.cpp | 3776 && ISD::isConstantSplatVector(CmpOp0.getOperand(1).getNode(), Mask) in lowerVectorSETCC()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 1050 if (ISD::isConstantSplatVector(N, Val)) in isConstantSplatVectorMaskForType() 4672 N1IsConst = ISD::isConstantSplatVector(N1.getNode(), ConstValue1); in visitMUL() 4835 ISD::isConstantSplatVector(N1.getNode(), MulVal)) { in visitMUL() 10613 ISD::isConstantSplatVector(N1.getNode(), ShlVal)) { in visitSHL() 12682 if (ISD::isConstantSplatVector(Mask.getNode(), SplatVal)) in visitVECTOR_COMPRESS() 12858 !ISD::isConstantSplatVector(Op2.getNode(), C) || !C.isOne()) in foldPartialReduceMLAMulOp() 12872 if (ISD::isConstantSplatVector(RHS.getNode(), C)) { in foldPartialReduceMLAMulOp() 12947 if (!ISD::isConstantSplatVector(Op2.getNode(), ConstantOne) || in foldPartialReduceAdd() 13045 if (ISD::isConstantSplatVector(N1.getNode(), Pow2C) && Pow2C.isPowerOf2() && in foldVSelectOfConstants() 13109 ISD::isConstantSplatVector(TVal.getNode(), TValAPInt) && in combineVSelectWithAllOnesOrZeros() [all …]
|
| H A D | SelectionDAG.cpp | 151 bool ISD::isConstantSplatVector(const SDNode *N, APInt &SplatVal) { in isConstantSplatVector() function in ISD 189 return isConstantSplatVector(N, SplatVal) && SplatVal.isAllOnes(); in isConstantSplatVectorAllOnes() 235 return isConstantSplatVector(N, SplatVal) && SplatVal.isZero(); in isConstantSplatVectorAllZeros() 7102 if (ISD::isConstantSplatVector(Ops[1].getNode(), RHSVal)) { in FoldConstantArithmetic()
|
| H A D | TargetLowering.cpp | 11960 ISD::isConstantSplatVector(Passthru.getNode(), PassthruSplatVal); in expandVECTOR_COMPRESS() 12051 if (!ISD::isConstantSplatVector(MulRHS.getNode(), ConstantOne) || in expandPartialReduceMLA()
|
| H A D | LegalizeVectorTypes.cpp | 2775 (ISD::isConstantSplatVector(N.getNode(), SplatValue) || in SplitVecRes_VECTOR_SHUFFLE()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 6876 return isConstantSplatVector(Src, 1, AllowUndefs); in isOneOrOneSplat() 6889 return isConstantSplatVector(Src, 0, AllowUndefs); in isZeroOrZeroSplat() 6901 bool CombinerHelper::isConstantSplatVector(Register Src, int64_t SplatValue, in isConstantSplatVector() function in CombinerHelper
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 14586 if (!ISD::isConstantSplatVector(Shift.getOperand(2).getNode(), C)) in tryLowerToSLI() 14599 if (!ISD::isConstantSplatVector(And.getOperand(1).getNode(), C1AsAPInt)) in tryLowerToSLI() 18766 if (!ISD::isConstantSplatVector(N->getOperand(1).getNode(), V1) || in performMulVectorCmpZeroCombine() 18767 !ISD::isConstantSplatVector(And.getOperand(1).getNode(), V2) || in performMulVectorCmpZeroCombine() 18768 !ISD::isConstantSplatVector(Srl.getOperand(1).getNode(), V3)) in performMulVectorCmpZeroCombine() 19364 if (ISD::isConstantSplatVector(N0->getOperand(i).getNode(), Val1) && in tryCombineToBSL() 19365 ISD::isConstantSplatVector(N1->getOperand(j).getNode(), Val2) && in tryCombineToBSL() 21388 !ISD::isConstantSplatVector(Shift.getOperand(1).getNode(), ShiftAmt)) in performExtBinopLoadFold() 22540 ISD::isConstantSplatVector(Op.getOperand(1).getNode(), Mask)) { in performZExtUZPCombine() 25211 if (!ISD::isConstantSplatVector(Op->getOperand(1).getNode(), V)) in tryToWidenSetCCOperands() [all …]
|
| H A D | AArch64ISelDAGToDAG.cpp | 4626 if (!ISD::isConstantSplatVector(N0.getOperand(2).getNode(), ShlAmt) || in trySelectXAR() 4627 !ISD::isConstantSplatVector(N1.getOperand(2).getNode(), ShrAmt)) in trySelectXAR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 16185 if (!ISD::isConstantSplatVector(N->getOperand(1).getNode(), V1) || in combineVectorMulToSraBitcast() 16186 !ISD::isConstantSplatVector(And.getOperand(1).getNode(), V2) || in combineVectorMulToSraBitcast() 16187 !ISD::isConstantSplatVector(Srl.getOperand(1).getNode(), V3)) in combineVectorMulToSraBitcast() 16298 if (!ISD::isConstantSplatVector(N1.getNode(), ShAmt)) in narrowIndex() 19406 if (ISD::isConstantSplatVector(Op.getNode(), SplatVal)) in combineTruncToVnclip() 19614 if (ISD::isConstantSplatVector(RHS.getNode(), ShAmt)) in performSHLCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 18083 if (!ISD::isConstantSplatVector(Min->getOperand(1).getNode(), MinC) || in PerformMinMaxCombine() 18086 if (!ISD::isConstantSplatVector(Max->getOperand(1).getNode(), MaxC) || in PerformMinMaxCombine() 18126 if (!ISD::isConstantSplatVector(Min->getOperand(1).getNode(), MinC) || in PerformMinMaxCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 3344 if (!ISD::isConstantSplatVector(C.getNode(), MulC)) in decomposeMulByConstant() 24259 ISD::isConstantSplatVector(Op1.getNode(), ConstValue)) { in LowerVSETCC() 33937 if (ISD::isConstantSplatVector(N->getOperand(1).getNode(), SplatVal)) { in ReplaceNodeResults() 56477 if (ISD::isConstantSplatVector(RHS.getNode(), CmpC) && in combineSetCC()
|