| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 264 bool llvm::isSplatValue(const Value *V, int Index, unsigned Depth) { in isSplatValue() function in llvm 298 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth); in isSplatValue() 302 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth) && in isSplatValue() 303 isSplatValue(Z, Index, Depth); in isSplatValue()
|
| H A D | InstructionSimplify.cpp | 6297 if (isSplatValue(Op0)) in simplifyUnaryIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 184 bool isSplatValue(const Value *V, int Index = -1, unsigned Depth = 0);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 754 if (!isSplatValue(Op0) || !isSplatValue(Op1)) in scalarizeVPIntrinsic() 1448 if (isSplatValue(CV)) in foldShuffleFromReductions()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1861 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorBinop() 1865 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorBinop() 2021 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 2023 } else if (!isSplatValue(Y, SplatIndex)) { in foldVectorBinop()
|
| H A D | InstCombineSelect.cpp | 2438 if ((Cond->hasOneUse() || TVal->hasOneUse()) && isSplatValue(FVal)) in foldVectorSelect() 2442 else if (isSplatValue(TVal) && match(FVal, m_VecReverse(m_Value(Y))) && in foldVectorSelect()
|
| H A D | InstCombineCalls.cpp | 3129 if (isSplatValue(BO1)) in visitCallInst() 3136 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
|
| H A D | InstCombineCompares.cpp | 6716 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorCmp() 6720 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorCmp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2702 bool SelectionDAG::isSplatValue(SDValue V, const APInt &DemandedElts, in isSplatValue() function in SelectionDAG 2732 if (isSplatValue(LHS, DemandedElts, UndefLHS, Depth + 1) && in isSplatValue() 2733 isSplatValue(RHS, DemandedElts, UndefRHS, Depth + 1)) { in isSplatValue() 2743 return isSplatValue(V.getOperand(0), DemandedElts, UndefElts, Depth + 1); in isSplatValue() 2809 (isSplatValue(Src, SrcElts, SrcUndefs, Depth + 1) && in isSplatValue() 2826 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 2843 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 2872 if (!isSplatValue(Src, SubDemandedElts, SubUndefElts, Depth + 1)) in isSplatValue() 2888 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) const { in isSplatValue() function in SelectionDAG 2898 return isSplatValue(V, DemandedElts, UndefElts) && in isSplatValue() [all …]
|
| H A D | DAGCombiner.cpp | 16961 if (VT.isVector() && DAG.isSplatValue(N1)) in combineRepeatedFPDivisors() 22590 if (!AllAnyExt && DAG.isSplatValue(SDValue(N, 0), /*AllowUndefs*/ true)) in reduceBuildVecExtToExtBuildVec() 25092 if (DAG.isSplatValue(Shuf->getOperand(0), DemandedElts, UndefElts)) { in combineShuffleOfSplatVal() 25122 if (DAG.isSplatValue(Shuf->getOperand(0), /*AllowUndefs*/ false)) in combineShuffleOfSplatVal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 2175 bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts, 2179 bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6948 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeShiftInst() 6983 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeFunnelShift()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1086 if (isSplatValue(LHS) || isSplatValue(RHS)) { in instCombineSVELast()
|
| H A D | AArch64ISelLowering.cpp | 23683 DAG.isSplatValue(TruncHighOp, false)) in tryCombineMULLWithUZP1() 23750 DAG.isSplatValue(TruncLowOp, false))) in tryCombineMULLWithUZP1()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2500 } else if (DAG.isSplatValue(Op, /* AllowUndefs */ false)) in lowerBUILD_VECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6872 if (DAG.isSplatValue(BuildVector, true/*AllowUndefs*/) && in isOnlyUsedByStores() 7039 DAG.isSplatValue(Op1, true/*AllowUndefs*/)) { in combineSTORE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 502 if (DAG.isSplatValue(Op, /*AllowUndefs=*/false)) in lowerBUILD_VECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 3265 if (DAG.isSplatValue(Y, /*AllowUndefs=*/true)) in shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd() 4013 if (DAG.isSplatValue(Op, /*AllowUndefs*/ false)) in splitVector() 30066 bool IsSplatAmt = DAG.isSplatValue(Amt); in LowerRotate() 37816 DAG.isSplatValue(V1, /*AllowUndefs*/ false)) { in combineX86ShuffleChain() 39652 DAG.isSplatValue(Op, /*AllowUndefs*/ false); in canonicalizeShuffleWithOp() 41622 if (!DemandedElts.isOne() && TLO.DAG.isSplatValue(Op, /*AllowUndefs*/false)) in SimplifyDemandedVectorEltsForTargetNode() 41746 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(LHS)) in SimplifyDemandedBitsForTargetNode() 41748 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(RHS)) in SimplifyDemandedBitsForTargetNode() 55558 DAG.isSplatValue(InVec, /*AllowUndefs*/ false))) in combineEXTRACT_SUBVECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 4945 bool SwapOps = DAG.isSplatValue(V2) && !DAG.isSplatValue(V1); in lowerVECTOR_SHUFFLE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 9383 if (DAG.isSplatValue(Op, true) && in LowerBUILD_VECTOR()
|