| /netbsd-src/external/apache2/llvm/dist/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 | 522 Constant *getSplatValue(bool AllowUndefs = false) const; 808 Constant *getSplatValue() const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 108 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Constants.cpp | 52 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 D | ConstantFold.cpp | 64 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 D | Type.cpp | 578 C = C->getSplatValue(); in indexValid()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 350 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 D | TargetTransformInfo.cpp | 676 const Value *Splat = getSplatValue(V); in getOperandInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 356 Value *getSplatValue(const Value *V);
|
| H A D | TargetTransformInfoImpl.h | 885 if (auto Splat = getSplatValue(*I))
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 877 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 D | SelectionDAG.cpp | 1807 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 D | DAGCombiner.cpp | 9629 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 D | VEISelLowering.cpp | 1633 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 D | SelectionDAGNodes.h | 1942 SDValue getSplatValue(const APInt &DemandedElts, 1949 SDValue getSplatValue(BitVector *UndefElements = nullptr) const;
|
| H A D | SelectionDAG.h | 1823 SDValue getSplatValue(SDValue V, bool LegalTypes = false);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 424 ? dyn_cast_or_null<const ConstantInt>(C->getSplatValue()) in getArithmeticInstrCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 5507 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 D | InstCombineVectorOps.cpp | 62 return IsConstantExtractIndex || C->getSplatValue(); in cheapToScalarize()
|
| H A D | InstCombineCalls.cpp | 1556 dyn_cast_or_null<ConstantInt>(CV1->getSplatValue())) in visitCallInst()
|
| H A D | InstCombineCompares.cpp | 3626 ? 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 D | WebAssemblyISelLowering.cpp | 2010 auto ShiftVal = DAG.getSplatValue(Op.getOperand(1)); in LowerShift()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1440 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 D | HexagonISelLowering.cpp | 2286 if (SDValue S = cast<BuildVectorSDNode>(Op1)->getSplatValue()) in getVectorShiftByInt()
|