Home
last modified time | relevance | path

Searched refs:getSplatValue (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp150 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 DConstants.cpp63 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 DConstantFold.cpp169 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 DType.cpp627 C = C->getSplatValue(); in indexValid()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h152 Constant *getSplatValue(bool AllowPoison = false) const;
H A DPatternMatch.h264 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 DConstants.h538 Constant *getSplatValue(bool AllowPoison = false) const;
824 Constant *getSplatValue() const;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp113 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp221 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 DTargetTransformInfo.cpp858 const Value *Splat = getSplatValue(V); in getOperandInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h69 C->getSplatValue(/*AllowPoison=*/false)); in match()
H A DVectorCombine.cpp799 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 DVectorUtils.h178 Value *getSplatValue(const Value *V);
H A DTargetTransformInfoImpl.h1092 if (auto Splat = getSplatValue(*I)) in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1129 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 DExpandVectorPredication.cpp87 if (Value *SplattedVal = getSplatValue(MaskVal)) in isAllTrueMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h396 SDValue getSplatValue(SDValue Op, SelectionDAG &DAG) const;
H A DHexagonISelLowering.cpp2378 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 DSystemZTargetTransformInfo.cpp464 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp370 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 DSelectionDAGNodes.h2098 SDValue getSplatValue(const APInt &DemandedElts,
2105 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1821 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 DSelectionDAG.cpp2122 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 DAMDGPUISelDAGToDAG.cpp3358 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 DMVEGatherScatterLowering.cpp340 if (C && C->getSplatValue()) in getIfConst()

12