| /freebsd-14.2/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() 355 ScalarBase = getSplatValue(ScalarBase); in determineBaseAndStride()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 104 if (const auto *SplatVal = getSplatValue()) in isAllOnesValue() 121 if (const auto *SplatVal = getSplatValue()) in isOneValue() 148 if (const auto *SplatVal = getSplatValue()) in isNotOneValue() 166 if (const auto *SplatVal = getSplatValue()) in isMinSignedValue() 193 if (const auto *SplatVal = getSplatValue()) in isNotMinSignedValue() 1615 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in Constant 1620 return CV->getSplatValue(); in getSplatValue() 1622 return CV->getSplatValue(AllowUndefs); in getSplatValue() 1679 return cast<ConstantInt>(this->getSplatValue())->getValue(); in getUniqueInteger() 2302 Idx = Idx->getSplatValue(); in getGetElementPtr() [all …]
|
| H A D | ConstantFold.cpp | 229 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction() 470 if (Constant *SplatVal = Val->getSplatValue()) in ConstantFoldExtractElementInstruction() 654 if (Constant *Splat = C->getSplatValue()) in ConstantFoldUnaryInstruction() 980 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction() 983 if (Constant *C1Splat = C1->getSplatValue()) { in ConstantFoldBinaryInstruction() 1283 if (Constant *C1Splat = C1->getSplatValue()) in ConstantFoldCompareInstruction() 1284 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction() 1436 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in isInBoundsIndices()
|
| H A D | Type.cpp | 627 C = C->getSplatValue(); in indexValid()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 151 Constant *getSplatValue(bool AllowUndefs = false) const;
|
| H A D | PatternMatch.h | 243 dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndef))) { in match() 268 dyn_cast_or_null<ConstantFP>(C->getSplatValue(AllowUndef))) { in match() 340 if (const auto *CV = dyn_cast_or_null<ConstantVal>(C->getSplatValue())) in match() 393 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match() 420 C->getSplatValue(/* AllowUndef */ true))) in match() 815 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match() 854 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs)); in match()
|
| H A D | Constants.h | 522 Constant *getSplatValue(bool AllowUndefs = false) const; 808 Constant *getSplatValue() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 111 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 219 if (Value *Splat = getSplatValue(V)) in findScalarElement() 249 Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm 252 return C->getSplatValue(); in getSplatValue() 273 return C->getSplatValue() != nullptr; in isSplatValue()
|
| H A D | TargetTransformInfo.cpp | 828 const Value *Splat = getSplatValue(V); in getOperandInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 176 Value *getSplatValue(const Value *V);
|
| H A D | TargetTransformInfoImpl.h | 1049 if (auto Splat = getSplatValue(*I)) in getGEPCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 77 if (auto *CVSplat = CV->getSplatValue(/*AllowUndefs*/ true)) { in extractConstantBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 759 Value *ScalarOp0 = getSplatValue(Op0); in scalarizeVPIntrinsic() 760 Value *ScalarOp1 = getSplatValue(Op1); in scalarizeVPIntrinsic() 770 if (Value *SplattedVal = getSplatValue(MaskVal)) in scalarizeVPIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 988 dyn_cast_or_null<ConstantInt>(getSplatValue(II.getArgOperand(2))); in instCombineSVECmpNE() 1079 if (auto *SplatVal = getSplatValue(Vec)) in instCombineSVELast() 1554 auto *SplatValue = getSplatValue(I); in instCombineSVEVectorMul() 1599 if (auto *ScalarArg = getSplatValue(UnpackArg)) { in instCombineSVEUnpack() 1618 auto *SplatValue = dyn_cast_or_null<ConstantInt>(getSplatValue(OpIndices)); in instCombineSVETBL() 1715 Value *SplatValue = getSplatValue(DivVec); in instCombineSVESDIV()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 87 if (Value *SplattedVal = getSplatValue(MaskVal)) in isAllTrueMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.h | 393 SDValue getSplatValue(SDValue Op, SelectionDAG &DAG) const;
|
| H A D | HexagonISelLowering.cpp | 2361 HexagonTargetLowering::getSplatValue(SDValue Op, SelectionDAG &DAG) const { in getSplatValue() function in HexagonTargetLowering 2364 if (SDValue S = cast<BuildVectorSDNode>(Op)->getSplatValue()) in getSplatValue() 2392 if (SDValue Sp = getSplatValue(Op.getOperand(1), DAG)) in getVectorShiftByInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 383 if (auto *SplatPtr = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedGather() 412 if (auto *SplatPtr = getSplatValue(II.getArgOperand(1))) { in simplifyMaskedScatter() 414 if (auto *SplatValue = getSplatValue(II.getArgOperand(0))) { in simplifyMaskedScatter() 2644 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 460 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2085 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2159 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2954 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() function in SelectionDAG 3576 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() 12471 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode 12506 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode 12508 return getSplatValue(DemandedElts, UndefElements); in getSplatValue() 12567 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode() 12572 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode() 12579 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 2052 SDValue getSplatValue(const APInt &DemandedElts, 2059 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 1823 static SDValue getSplatValue(SDNode *N) { in getSplatValue() function 1825 return BuildVec->getSplatValue(); in getSplatValue() 1845 if (SDValue ScalarV = getSplatValue(Op.getNode())) { in lowerBUILD_VECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 3292 if (SDValue Splat = BV->getSplatValue(&UndefElements)) in SelectWMMAVISrc() 3311 if (SDValue Splat32 = SplatSrc32BV->getSplatValue()) { in SelectWMMAVISrc() 3314 if (SDValue Splat = SplatSrc16BV->getSplatValue()) { in SelectWMMAVISrc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 340 if (C && C->getSplatValue()) in getIfConst()
|