| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 148 Value *Splat = getSplatValue(BO->getOperand(1)); in matchStridedStart() 150 Splat = getSplatValue(BO->getOperand(0)); in matchStridedStart() 215 Step = getSplatValue(Step); in matchStridedRecurrence() 278 Value *SplatOp = getSplatValue(OtherOp); in matchStridedRecurrence() 346 if (auto *BasePtr = getSplatValue(Ptr)) { in determineBaseAndStride() 383 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() 397 if (Constant *SplatVal = Val->getSplatValue()) in ConstantFoldExtractElementInstruction() 579 if (Constant *Splat = C->getSplatValue()) in ConstantFoldUnaryInstruction() 878 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction() 881 if (Constant *C1Splat = C1->getSplatValue()) { in ConstantFoldBinaryInstruction() 1175 if (Constant *C1Splat = C1->getSplatValue()) in ConstantFoldCompareInstruction() 1176 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction()
|
| H A D | Type.cpp | 736 C = C->getSplatValue(); in indexValid()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 153 LLVM_ABI 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() 874 if (auto *Splat = CV->getSplatValue(/*AllowPoison=*/true)) { in isImmConstant() 957 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match() 996 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison)); in match() 1011 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowPoison)); in match()
|
| H A D | Constants.h | 547 LLVM_ABI Constant *getSplatValue(bool AllowPoison = false) const; 833 LLVM_ABI 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 | 368 if (Value *Splat = getSplatValue(V)) in findScalarElement() 398 Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm 401 return C->getSplatValue(); in getSplatValue() 422 return C->getSplatValue() != nullptr; in isSplatValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Constant.cpp | 192 Constant *ConstantVector::getSplatValue(bool AllowPoison) const { in getSplatValue() function in llvm::sandboxir::ConstantVector 194 cast<llvm::ConstantVector>(Val)->getSplatValue(AllowPoison)); in getSplatValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Constant.h | 441 LLVM_ABI Constant *getSplatValue(bool AllowPoison = false) const; 755 Constant *getSplatValue() const { in getSplatValue() function 757 cast<llvm::ConstantDataVector>(Val)->getSplatValue()); in getSplatValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 204 LLVM_ABI Value *getSplatValue(const Value *V);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedAccessPass.cpp | 588 if (auto *Splat = ConstMask->getSplatValue()) in getMask()
|
| H A D | ExpandVectorPredication.cpp | 84 if (Value *SplattedVal = getSplatValue(MaskVal)) in isAllTrueMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 980 Value *ScalarOp0 = getSplatValue(Op0); in scalarizeVPIntrinsic() 981 Value *ScalarOp1 = getSplatValue(Op1); in scalarizeVPIntrinsic() 991 if (Value *SplattedVal = getSplatValue(MaskVal)) in scalarizeVPIntrinsic() 2832 C && C->getSplatValue() && in foldShuffleToIdentity() 2837 cast<Constant>(U->get())->getSplatValue() == in foldShuffleToIdentity() 2838 cast<Constant>(FrontV)->getSplatValue()); in foldShuffleToIdentity()
|
| H A D | VPlanPatternMatch.h | 107 C->getSplatValue(/*AllowPoison=*/false)); in match()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypesGeneric.cpp | 380 if (SDValue V = cast<BuildVectorSDNode>(N)->getSplatValue()) { in ExpandOp_BUILD_VECTOR()
|
| H A D | SelectionDAG.cpp | 2179 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2253 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 3243 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() function in SelectionDAG 3981 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() 13376 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode 13411 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode 13413 return getSplatValue(DemandedElts, UndefElements); in getSplatValue() 13472 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode() 13477 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode() 13484 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.h | 413 SDValue getSplatValue(SDValue Op, SelectionDAG &DAG) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 368 if (auto *SplatPtr = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedGather() 397 if (auto *SplatPtr = getSplatValue(II.getArgOperand(1))) { in simplifyMaskedScatter() 399 if (auto *SplatValue = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedScatter() 3124 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
|
| H A D | InstructionCombining.cpp | 1473 CV->getType()->getScalarType()->isIntegerTy() && CV->getSplatValue()) in dyn_castNegVal() 2242 Constant *Splat = C->getSplatValue(); in unshuffleConstant() 3167 return Op->getType()->isVectorTy() && getSplatValue(Op); in visitGetElementPtrInst() 3172 if (Value *Scalar = getSplatValue(Op)) { in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1834 dyn_cast_or_null<ConstantInt>(getSplatValue(II.getArgOperand(2))); in instCombineSVECmpNE() 1926 if (auto *SplatVal = getSplatValue(Vec)) in instCombineSVELast() 2357 if (auto *ScalarArg = getSplatValue(UnpackArg)) { in instCombineSVEUnpack() 2376 auto *SplatValue = dyn_cast_or_null<ConstantInt>(getSplatValue(OpIndices)); in instCombineSVETBL() 2498 Value *SplatValue = getSplatValue(DivVec); in instCombineSVESDIV() 2668 if (getSplatValue(Vec) == II.getOperand(1)) in instCombineSVEInsr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 1808 static SDValue getSplatValue(SDNode *N) { in getSplatValue() function 1810 return BuildVec->getSplatValue(); in getSplatValue() 1830 if (SDValue ScalarV = getSplatValue(Op.getNode())) { in lowerBUILD_VECTOR()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 2211 LLVM_ABI SDValue getSplatValue(const APInt &DemandedElts, 2218 LLVM_ABI SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 3547 if (SDValue Splat = BV->getSplatValue(&UndefElements)) in SelectWMMAVISrc() 3566 if (SDValue Splat32 = SplatSrc32BV->getSplatValue()) { in SelectWMMAVISrc() 3569 if (SDValue Splat = SplatSrc16BV->getSplatValue()) { in SelectWMMAVISrc()
|