| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 386 bool llvm::isSplatValue(const Value *V, int Index, unsigned Depth) { in isSplatValue() function in llvm 420 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth); in isSplatValue() 424 return isSplatValue(X, Index, Depth) && isSplatValue(Y, Index, Depth) && in isSplatValue() 425 isSplatValue(Z, Index, Depth); in isSplatValue()
|
| H A D | InstructionSimplify.cpp | 5998 if (isSplatValue(Op0)) in simplifyUnaryIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 368 bool isSplatValue(const Value *V, int Index = -1, unsigned Depth = 0);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1708 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorBinop() 1712 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorBinop() 1867 if (isSplatValue(OtherOp, SplatIndex)) { in foldVectorBinop() 1869 } else if (!isSplatValue(Y, SplatIndex)) { in foldVectorBinop()
|
| H A D | InstCombineSelect.cpp | 2394 if ((Cond->hasOneUse() || TVal->hasOneUse()) && isSplatValue(FVal)) in foldVectorSelect() 2398 else if (isSplatValue(TVal) && match(FVal, m_VecReverse(m_Value(Y))) && in foldVectorSelect()
|
| H A D | InstCombineCalls.cpp | 2631 if (isSplatValue(BO1)) in visitCallInst() 2638 if (match(BO1, m_VecReverse(m_Value(Y))) && isSplatValue(BO0)) in visitCallInst()
|
| H A D | InstCombineCompares.cpp | 6010 if (LHS->hasOneUse() && isSplatValue(RHS)) in foldVectorCmp() 6014 else if (isSplatValue(LHS) && match(RHS, m_OneUse(m_VecReverse(m_Value(V2))))) in foldVectorCmp()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2586 bool SelectionDAG::isSplatValue(SDValue V, const APInt &DemandedElts, in isSplatValue() function in SelectionDAG 2616 if (isSplatValue(LHS, DemandedElts, UndefLHS, Depth + 1) && in isSplatValue() 2617 isSplatValue(RHS, DemandedElts, UndefRHS, Depth + 1)) { in isSplatValue() 2627 return isSplatValue(V.getOperand(0), DemandedElts, UndefElts, Depth + 1); in isSplatValue() 2693 (isSplatValue(Src, SrcElts, SrcUndefs, Depth + 1) && in isSplatValue() 2710 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 2727 if (isSplatValue(Src, DemandedSrcElts, UndefSrcElts, Depth + 1)) { in isSplatValue() 2756 if (!isSplatValue(Src, SubDemandedElts, SubUndefElts, Depth + 1)) in isSplatValue() 2772 bool SelectionDAG::isSplatValue(SDValue V, bool AllowUndefs) const { in isSplatValue() function in SelectionDAG 2782 return isSplatValue(V, DemandedElts, UndefElts) && in isSplatValue() [all …]
|
| H A D | DAGCombiner.cpp | 15810 if (VT.isVector() && DAG.isSplatValue(N1)) in combineRepeatedFPDivisors() 21041 if (!AllAnyExt && DAG.isSplatValue(SDValue(N, 0), /*AllowUndefs*/ true)) in reduceBuildVecExtToExtBuildVec() 23524 if (DAG.isSplatValue(Shuf->getOperand(0), DemandedElts, UndefElts)) { in combineShuffleOfSplatVal() 23554 if (DAG.isSplatValue(Shuf->getOperand(0), /*AllowUndefs*/ false)) in combineShuffleOfSplatVal()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 2119 bool isSplatValue(SDValue V, const APInt &DemandedElts, APInt &UndefElts, 2123 bool isSplatValue(SDValue V, bool AllowUndefs = false) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6792 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeShiftInst() 6827 if (!isSplatValue(TVal) || !isSplatValue(FVal)) in optimizeFunnelShift()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 836 if (isSplatValue(LHS) || isSplatValue(RHS)) { in instCombineSVELast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 1305 if (isSplatValue(CV)) in foldShuffleFromReductions()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 2504 } else if (DAG.isSplatValue(Op, /* AllowUndefs */ false)) in lowerBUILD_VECTOR()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6377 if (DAG.isSplatValue(BuildVector, true/*AllowUndefs*/) && in isOnlyUsedByStores() 6496 DAG.isSplatValue(Op1, true/*AllowUndefs*/)) { in combineSTORE()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 6064 if (DAG.isSplatValue(Y, /*AllowUndefs=*/true)) in shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd() 6676 if (DAG.isSplatValue(Op, /*AllowUndefs*/ false)) in splitVector() 31377 bool IsSplatAmt = DAG.isSplatValue(Amt); in LowerRotate() 39002 DAG.isSplatValue(V1, /*AllowUndefs*/ false)) { in combineX86ShuffleChain() 40766 DAG.isSplatValue(Op, /*AllowUndefs*/ false); in canonicalizeShuffleWithBinOps() 42631 if (!DemandedElts.isOne() && TLO.DAG.isSplatValue(Op, /*AllowUndefs*/false)) in SimplifyDemandedVectorEltsForTargetNode() 42755 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(LHS)) in SimplifyDemandedBitsForTargetNode() 42757 if (!Is32BitAVX512 || !TLO.DAG.isSplatValue(RHS)) in SimplifyDemandedBitsForTargetNode() 55821 DAG.isSplatValue(InVec, /*AllowUndefs*/ false))) in combineEXTRACT_SUBVECTOR()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 3402 bool SwapOps = DAG.isSplatValue(V2) && !DAG.isSplatValue(V1); in lowerVECTOR_SHUFFLE()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 9241 if (DAG.isSplatValue(Op, true) && in LowerBUILD_VECTOR()
|