Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstant.h151 Constant *getSplatValue(bool AllowUndefs = false) const;
H A DPatternMatch.h235 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 DConstants.h522 Constant *getSplatValue(bool AllowUndefs = false) const;
808 Constant *getSplatValue() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp108 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp52 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
78 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
112 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()
138 if (Constant *Splat = CV->getSplatValue()) in isOneValue()
188 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()
1699 Constant *Constant::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in Constant
1704 return CV->getSplatValue(); in getSplatValue()
1706 return CV->getSplatValue(AllowUndefs); in getSplatValue()
1731 Constant *ConstantVector::getSplatValue(bool AllowUndefs) const { in getSplatValue() function in ConstantVector
1761 assert(this->getSplatValue() && "Doesn't contain a unique integer!"); in getUniqueInteger()
[all …]
H A DConstantFold.cpp64 if (Constant *Splat = CV->getSplatValue()) { in BitCastConstantVector()
606 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction()
1091 if (Constant *Splat = C->getSplatValue()) { in ConstantFoldUnaryInstruction()
1464 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction()
1467 if (Constant *C1Splat = C1->getSplatValue()) { in ConstantFoldBinaryInstruction()
2102 if (Constant *C1Splat = C1->getSplatValue()) in ConstantFoldCompareInstruction()
2103 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction()
2329 CI = dyn_cast_or_null<ConstantInt>(CV->getSplatValue()); in isInBoundsIndices()
H A DType.cpp578 C = C->getSplatValue(); in indexValid()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DVectorUtils.cpp350 Value *llvm::getSplatValue(const Value *V) { in getSplatValue() function in llvm
353 return C->getSplatValue(); in getSplatValue()
374 return C->getSplatValue() != nullptr; in isSplatValue()
H A DTargetTransformInfo.cpp676 const Value *Splat = getSplatValue(V); in getOperandInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DVectorUtils.h356 Value *getSplatValue(const Value *V);
H A DTargetTransformInfoImpl.h885 if (auto Splat = getSplatValue(*I))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp877 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()
878 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1807 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()
1881 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle()
2639 SDValue SelectionDAG::getSplatValue(SDValue V, bool LegalTypes) { in getSplatValue() function in SelectionDAG
3203 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits()
10268 SDValue BuildVectorSDNode::getSplatValue(const APInt &DemandedElts, in getSplatValue() function in BuildVectorSDNode
10303 SDValue BuildVectorSDNode::getSplatValue(BitVector *UndefElements) const { in getSplatValue() function in BuildVectorSDNode
10305 return getSplatValue(DemandedElts, UndefElements); in getSplatValue()
10364 getSplatValue(DemandedElts, UndefElements)); in getConstantSplatNode()
10369 return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements)); in getConstantSplatNode()
10376 getSplatValue(DemandedElts, UndefElements)); in getConstantFPSplatNode()
[all …]
H A DDAGCombiner.cpp9629 SDValue SplatVal = DAG.getSplatValue(LHS); in refineUniformBase()
19488 if (SDValue Splat = cast<BuildVectorSDNode>(N)->getSplatValue()) { in visitBUILD_VECTOR()
19549 if (SDValue V = cast<BuildVectorSDNode>(N)->getSplatValue()) { in visitBUILD_VECTOR()
20512 if (SDValue Splat0 = BV0->getSplatValue()) in combineShuffleOfScalars()
20513 IsSplat = (Splat0 == BV1->getSplatValue()); in combineShuffleOfScalars()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1633 static SDValue getSplatValue(SDNode *N) { in getSplatValue() function
1635 return BuildVec->getSplatValue(); in getSplatValue()
1657 if (SDValue ScalarV = getSplatValue(Op.getNode())) { in lowerBUILD_VECTOR()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1942 SDValue getSplatValue(const APInt &DemandedElts,
1949 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
H A DSelectionDAG.h1823 SDValue getSplatValue(SDValue V, bool LegalTypes = false);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp424 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5507 Ops[0] = getSplatValue(Ops[0]); in optimizeGatherScatterInst()
5523 C = C->getSplatValue(); in optimizeGatherScatterInst()
5533 if (Value *V = getSplatValue(Ops[FinalIndex])) { in optimizeGatherScatterInst()
5580 Value *V = getSplatValue(Ptr); in optimizeGatherScatterInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp62 return IsConstantExtractIndex || C->getSplatValue(); in cheapToScalarize()
H A DInstCombineCalls.cpp1556 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
H A DInstCombineCompares.cpp3626 ? NewShAmt->getSplatValue() in foldShiftIntoShiftInAnotherHandOfAndInICmp()
5524 Constant *ScalarC = C->getSplatValue(/* AllowUndefs */ true); in foldVectorCmp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2010 auto ShiftVal = DAG.getSplatValue(Op.getOperand(1)); in LowerShift()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1440 if (SDValue Splat = cast<BuildVectorSDNode>(Op)->getSplatValue()) { in lowerBUILD_VECTOR()
1458 if (SDValue Splat = cast<BuildVectorSDNode>(Op)->getSplatValue()) { in lowerBUILD_VECTOR()
1864 if (SDValue SplatValue = DAG.getSplatValue(V1, /*LegalTypes*/ true)) { in lowerVECTOR_SHUFFLE()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2286 if (SDValue S = cast<BuildVectorSDNode>(Op1)->getSplatValue()) in getVectorShiftByInt()

12