| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 413 bool llvm::isSplatValue(const Value *V, int Index, unsigned Depth) { in isSplatValue() function in llvm 447 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth); in isSplatValue() 451 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth) && in isSplatValue() 452 isSplatValue(Z, Index, Depth); in isSplatValue()
|
| H A D | InstructionSimplify.cpp | 6378 if (isSplatValue(Op0)) in simplifyUnaryIntrinsic() 6981 if (isSplatValue(Vec)) in simplifyIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 212 LLVM_ABI bool isSplatValue(const Value *V, int Index = -1, unsigned Depth = 0);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 199 if (isSplatValue(Mask, /*Index=*/0)) { in scalarizeMaskedLoad() 365 if (isSplatValue(Mask, /*Index=*/0)) { in scalarizeMaskedStore()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 2333 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorBinop() 2337 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorBinop() 2364 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorBinop() 2368 else if (isSplatValue(LHS) && in foldVectorBinop() 2470 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 2472 } else if (!isSplatValue(Y, SplatIndex)) { in foldVectorBinop()
|
| H A D | InstCombineSelect.cpp | 2633 if ((Cond->hasOneUse() || TVal->hasOneUse()) && isSplatValue(FVal)) in foldVectorSelect() 2637 else if (isSplatValue(TVal) && match(FVal, m_VecReverse(m_Value(Y))) && in foldVectorSelect()
|
| H A D | InstCombineCompares.cpp | 7329 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorCmp() 7333 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorCmp()
|
| H A D | InstCombineCalls.cpp | 1481 else if (isSplatValue(Arg)) in foldReversedIntrinsicOperands()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2986 bool SelectionDAG::isSplatValue(SDValue V, const APInt &DemandedElts, in isSplatValue() function in SelectionDAG 3020 if (isSplatValue(LHS, DemandedElts, UndefLHS, Depth + 1) && in isSplatValue() 3021 isSplatValue(RHS, DemandedElts, UndefRHS, Depth + 1) && in isSplatValue() 3032 return isSplatValue(V.getOperand(0), DemandedElts, UndefElts, Depth + 1); in isSplatValue() 3098 (isSplatValue(Src, SrcElts, SrcUndefs, Depth + 1) && in isSplatValue() 3115 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 3132 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 3161 if (!isSplatValue(Src, SubDemandedElts, SubUndefElts, Depth + 1)) in isSplatValue() 3177 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) const { in isSplatValue() function in SelectionDAG 3187 return isSplatValue(V, DemandedElts, UndefElts) && in isSplatValue() [all …]
|
| H A D | DAGCombiner.cpp | 18263 if (VT.isVector() && DAG.isSplatValue(N1)) in combineRepeatedFPDivisors() 24009 if (!AllAnyExt && DAG.isSplatValue(SDValue(N, 0), /*AllowUndefs*/ true)) in reduceBuildVecExtToExtBuildVec() 26543 if (DAG.isSplatValue(Shuf->getOperand(0), DemandedElts, UndefElts)) { in combineShuffleOfSplatVal() 26572 if (DAG.isSplatValue(Shuf->getOperand(0), /*AllowUndefs*/ false)) in combineShuffleOfSplatVal()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 975 if (!isSplatValue(Op0) || !isSplatValue(Op1)) in scalarizeVPIntrinsic() 2993 if (isSplatValue(CV)) in foldShuffleFromReductions()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 2326 LLVM_ABI bool isSplatValue(SDValue V, const APInt &DemandedElts, 2330 LLVM_ABI bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7458 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeShiftInst() 7493 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeFunnelShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1933 if (isSplatValue(LHS) || isSplatValue(RHS)) { in instCombineSVELast()
|
| H A D | AArch64ISelLowering.cpp | 26523 DAG.isSplatValue(TruncHighOp, false)) in tryCombineMULLWithUZP1() 26591 DAG.isSplatValue(TruncLowOp, false))) in tryCombineMULLWithUZP1()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2551 } else if (DAG.isSplatValue(Op, /* AllowUndefs */ false)) in lowerBUILD_VECTOR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 3536 if (DAG.isSplatValue(Y, /*AllowUndefs=*/true)) in shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd() 4384 if (DAG.isSplatValue(Op, /*AllowUndefs*/ false)) in splitVector() 15281 DAG.isSplatValue(BC1, /*AllowUndefs=*/true); in lowerShuffleAsSplitOrBlend() 15283 DAG.isSplatValue(BC2, /*AllowUndefs=*/true); in lowerShuffleAsSplitOrBlend() 31617 bool IsSplatAmt = DAG.isSplatValue(Amt); in LowerRotate() 39996 DAG.isSplatValue(V1, /*AllowUndefs*/ false)) { in combineX86ShuffleChain() 41988 DAG.isSplatValue(Op, /*AllowUndefs*/ false); in canonicalizeShuffleWithOp() 44284 if (!DemandedElts.isOne() && TLO.DAG.isSplatValue(Op, /*AllowUndefs*/false)) in SimplifyDemandedVectorEltsForTargetNode() 44409 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(LHS)) in SimplifyDemandedBitsForTargetNode() 44411 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(RHS)) in SimplifyDemandedBitsForTargetNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 8037 if (DAG.isSplatValue(BuildVector, true/*AllowUndefs*/) && in isOnlyUsedByStores() 8254 DAG.isSplatValue(Op1, true/*AllowUndefs*/)) { in combineSTORE()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 6291 if (!DAG.isSplatValue(V2) && !DAG.isSplatValue(V1) && in lowerVECTOR_SHUFFLE() 6305 bool SwapOps = DAG.isSplatValue(V2) && !DAG.isSplatValue(V1); in lowerVECTOR_SHUFFLE()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 2508 if (DAG.isSplatValue(Op, /*AllowUndefs=*/false)) in lowerBUILD_VECTOR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 9733 if (DAG.isSplatValue(Op, true) && in LowerBUILD_VECTOR()
|