| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 151 Constant *getSplatValue(bool AllowUndefs = false) const;
|
| H A D | PatternMatch.h | 235 C->getSplatValue(AllowUndef))) { in match() 260 C->getSplatValue(AllowUndef))) { in match() 332 if (const auto *CV = dyn_cast_or_null<ConstantVal>(C->getSplatValue())) in match() 385 if (auto *CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue())) in match() 412 C->getSplatValue(/* AllowUndef */ true))) in match() 837 if (auto *CFP = dyn_cast_or_null<ConstantFP>(C->getSplatValue())) in match() 877 CI = dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndefs)); in match()
|
| H A D | Constants.h | 523 Constant *getSplatValue(bool AllowUndefs = false) const; 809 Constant *getSplatValue() const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 102 if (const auto *SplatVal = getSplatValue()) in isAllOnesValue() 119 if (const auto *SplatVal = getSplatValue()) in isOneValue() 146 if (const auto *SplatVal = getSplatValue()) in isNotOneValue() 164 if (const auto *SplatVal = getSplatValue()) in isMinSignedValue() 191 if (const auto *SplatVal = getSplatValue()) in isNotMinSignedValue() 1701 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in Constant 1706 return CV->getSplatValue(); in getSplatValue() 1708 return CV->getSplatValue(AllowUndefs); in getSplatValue() 1733 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in ConstantVector 2474 Idx = Idx->getSplatValue(); in getGetElementPtr() [all …]
|
| H A D | ConstantFold.cpp | 64 if (Constant *Splat = CV->getSplatValue()) { in BitCastConstantVector() 413 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction() 672 if (Constant *SplatVal = Val->getSplatValue()) in ConstantFoldExtractElementInstruction() 847 if (Constant *Splat = C->getSplatValue()) { in ConstantFoldUnaryInstruction() 1213 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction() 1216 if (Constant *C1Splat = C1->getSplatValue()) { in ConstantFoldBinaryInstruction() 1851 if (Constant *C1Splat = C1->getSplatValue()) in ConstantFoldCompareInstruction() 1852 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction() 2078 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in isInBoundsIndices()
|
| H A D | Type.cpp | 584 C = C->getSplatValue(); in indexValid()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 360 Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm 363 return C->getSplatValue(); in getSplatValue() 384 return C->getSplatValue() != nullptr; in isSplatValue()
|
| H A D | TargetTransformInfo.cpp | 673 const Value *Splat = getSplatValue(V); in getOperandInfo()
|
| H A D | InstructionSimplify.cpp | 4570 if (auto *Splat = getSplatValue(Vec)) in SimplifyExtractElementInst() 4576 if (Value *Splat = getSplatValue(Vec)) in SimplifyExtractElementInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 359 Value *getSplatValue(const Value *V);
|
| H A D | TargetTransformInfoImpl.h | 888 if (auto Splat = getSplatValue(*I))
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 878 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow() 879 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 1814 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 1888 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() 2637 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() function in SelectionDAG 3200 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() 10354 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode 10389 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode 10391 return getSplatValue(DemandedElts, UndefElements); in getSplatValue() 10450 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode() 10455 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode() 10462 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1954 SDValue getSplatValue(const APInt &DemandedElts, 1961 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
|
| H A D | SelectionDAG.h | 1850 SDValue getSplatValue(SDValue V, bool LegalTypes = false);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 1634 static SDValue getSplatValue(SDNode *N) { in getSplatValue() function 1636 return BuildVec->getSplatValue(); in getSplatValue() 1658 if (SDValue ScalarV = getSplatValue(Op.getNode())) { in lowerBUILD_VECTOR()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 424 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5511 Ops[0] = getSplatValue(Ops[0]); in optimizeGatherScatterInst() 5527 C = C->getSplatValue(); in optimizeGatherScatterInst() 5537 if (Value *V = getSplatValue(Ops[FinalIndex])) { in optimizeGatherScatterInst() 5589 Value *V = getSplatValue(Ptr); in optimizeGatherScatterInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 555 if (auto *SplatVal = getSplatValue(Vec)) in instCombineSVELast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 62 return IsConstantExtractIndex || C->getSplatValue(); in cheapToScalarize()
|
| H A D | InstCombineCompares.cpp | 3694 ? NewShAmt->getSplatValue() in foldShiftIntoShiftInAnotherHandOfAndInICmp() 5633 Constant *ScalarC = C->getSplatValue(/* AllowUndefs */ true); in foldVectorCmp()
|
| H A D | InstCombineCalls.cpp | 1597 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
|
| H A D | InstructionCombining.cpp | 949 CV->getType()->getScalarType()->isIntegerTy() && CV->getSplatValue()) in dyn_castNegVal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2113 auto ShiftVal = DAG.getSplatValue(Op.getOperand(1)); in LowerShift()
|