/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 150 Value *Splat = getSplatValue(BO->getOperand(1)); in matchStridedStart() 152 Splat = getSplatValue(BO->getOperand(0)); in matchStridedStart() 221 Step = getSplatValue(Step); in matchStridedRecurrence() 284 Value *SplatOp = getSplatValue(OtherOp); in matchStridedRecurrence() 337 if (auto *BasePtr = getSplatValue(Ptr)) { in determineBaseAndStride() 374 ScalarBase = getSplatValue(ScalarBase); in determineBaseAndStride()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 63 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue())) in isNegativeZeroValue() 83 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue())) in isZeroValue() 118 if (const auto *SplatVal = getSplatValue()) in isAllOnesValue() 135 if (const auto *SplatVal = getSplatValue()) in isOneValue() 162 if (const auto *SplatVal = getSplatValue()) in isNotOneValue() 180 if (const auto *SplatVal = getSplatValue()) in isMinSignedValue() 207 if (const auto *SplatVal = getSplatValue()) in isNotMinSignedValue() 228 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue())) in isFiniteNonZeroFP() 249 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue())) in isNormalFP() 270 if (const auto *SplatCFP = dyn_cast_or_null<ConstantFP>(getSplatValue())) in hasExactInverseFP() [all …]
|
H A D | ConstantFold.cpp | 169 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction() 402 if (Constant *SplatVal = Val->getSplatValue()) in ConstantFoldExtractElementInstruction() 587 if (Constant *Splat = C->getSplatValue()) in ConstantFoldUnaryInstruction() 897 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction() 900 if (Constant *C1Splat = C1->getSplatValue()) { in ConstantFoldBinaryInstruction() 1199 if (Constant *C1Splat = C1->getSplatValue()) in ConstantFoldCompareInstruction() 1200 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction()
|
H A D | Type.cpp | 627 C = C->getSplatValue(); in indexValid()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 152 Constant *getSplatValue(bool AllowPoison = false) const;
|
H A D | PatternMatch.h | 264 dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison))) { in match() 289 dyn_cast_or_null<ConstantFP>(C->getSplatValue(AllowPoison))) { in match() 363 if (const auto *CV = dyn_cast_or_null<ConstantVal>(C->getSplatValue())) in match_impl() 427 C->getSplatValue(/*AllowPoison=*/true))) in match() 454 C->getSplatValue(/* AllowPoison */ true))) in match() 910 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match() 949 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison)); in match() 964 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison)); in match()
|
H A D | Constants.h | 538 Constant *getSplatValue(bool AllowPoison = false) const; 824 Constant *getSplatValue() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 113 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 221 if (Value *Splat = getSplatValue(V)) in findScalarElement() 251 Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm 254 return C->getSplatValue(); in getSplatValue() 275 return C->getSplatValue() != nullptr; in isSplatValue()
|
H A D | TargetTransformInfo.cpp | 858 const Value *Splat = getSplatValue(V); in getOperandInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanPatternMatch.h | 69 C->getSplatValue(/*AllowPoison=*/false)); in match()
|
H A D | VectorCombine.cpp | 799 Value *ScalarOp0 = getSplatValue(Op0); in scalarizeVPIntrinsic() 800 Value *ScalarOp1 = getSplatValue(Op1); in scalarizeVPIntrinsic() 810 if (Value *SplattedVal = getSplatValue(MaskVal)) in scalarizeVPIntrinsic() 1882 C && C->getSplatValue() && in foldShuffleToIdentity()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 178 Value *getSplatValue(const Value *V);
|
H A D | TargetTransformInfoImpl.h | 1092 if (auto Splat = getSplatValue(*I)) in getGEPCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 1129 dyn_cast_or_null<ConstantInt>(getSplatValue(II.getArgOperand(2))); in instCombineSVECmpNE() 1220 if (auto *SplatVal = getSplatValue(Vec)) in instCombineSVELast() 1699 auto *SplatValue = getSplatValue(I); in instCombineSVEVectorMul() 1744 if (auto *ScalarArg = getSplatValue(UnpackArg)) { in instCombineSVEUnpack() 1763 auto *SplatValue = dyn_cast_or_null<ConstantInt>(getSplatValue(OpIndices)); in instCombineSVETBL() 1894 Value *SplatValue = getSplatValue(DivVec); in instCombineSVESDIV()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 87 if (Value *SplattedVal = getSplatValue(MaskVal)) in isAllTrueMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.h | 396 SDValue getSplatValue(SDValue Op, SelectionDAG &DAG) const;
|
H A D | HexagonISelLowering.cpp | 2378 HexagonTargetLowering::getSplatValue(SDValue Op, SelectionDAG &DAG) const { in getSplatValue() function in HexagonTargetLowering 2381 if (SDValue S = cast<BuildVectorSDNode>(Op)->getSplatValue()) in getSplatValue() 2409 if (SDValue Sp = getSplatValue(Op.getOperand(1), DAG)) in getVectorShiftByInt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 464 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 370 if (auto *SplatPtr = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedGather() 399 if (auto *SplatPtr = getSplatValue(II.getArgOperand(1))) { in simplifyMaskedScatter() 401 if (auto *SplatValue = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedScatter() 2835 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 2098 SDValue getSplatValue(const APInt &DemandedElts, 2105 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelLowering.cpp | 1821 static SDValue getSplatValue(SDNode *N) { in getSplatValue() function 1823 return BuildVec->getSplatValue(); in getSplatValue() 1843 if (SDValue ScalarV = getSplatValue(Op.getNode())) { in lowerBUILD_VECTOR()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2122 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2196 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2995 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() function in SelectionDAG 3725 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() 12801 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode 12836 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode 12838 return getSplatValue(DemandedElts, UndefElements); in getSplatValue() 12897 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode() 12902 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode() 12909 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.cpp | 3358 if (SDValue Splat = BV->getSplatValue(&UndefElements)) in SelectWMMAVISrc() 3377 if (SDValue Splat32 = SplatSrc32BV->getSplatValue()) { in SelectWMMAVISrc() 3380 if (SDValue Splat = SplatSrc16BV->getSplatValue()) { in SelectWMMAVISrc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 340 if (C && C->getSplatValue()) in getIfConst()
|