| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64GlobalISelUtils.cpp | 23 if (auto Splat = getVectorSplat(MI, MRI)) in getAArch64VectorSplat() local 24 return Splat; in getAArch64VectorSplat() 37 auto Splat = getAArch64VectorSplat(MI, MRI); in getAArch64VectorSplatScalar() local 38 if (!Splat || Splat->isReg()) in getAArch64VectorSplatScalar() 40 return Splat->getCst(); in getAArch64VectorSplatScalar()
|
| H A D | AArch64PostLegalizerLowering.cpp | 766 auto Splat = getAArch64VectorSplat(MI, MRI); in matchBuildVectorToDup() local 767 if (!Splat) in matchBuildVectorToDup() 769 if (Splat->isReg()) in matchBuildVectorToDup() 774 int64_t Cst = Splat->getCst(); in matchBuildVectorToDup() 969 auto Splat = getAArch64VectorSplat(*MRI.getVRegDef(RHS), MRI); in lowerVectorFCMP() local 972 bool IsZero = Splat && Splat->isCst() && Splat->getCst() == 0; in lowerVectorFCMP()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 158 Value *Splat = getSplatValue(BO->getOperand(0)); in matchStridedStart() local 159 if (!Splat) { in matchStridedStart() 160 Splat = getSplatValue(BO->getOperand(1)); in matchStridedStart() 163 if (!Splat) in matchStridedStart() 175 Start = Builder.CreateAdd(Start, Splat); in matchStridedStart()
|
| H A D | RISCVISelLowering.cpp | 2485 if (SDValue Splat = cast<BuildVectorSDNode>(Op)->getSplatValue()) { in lowerBUILD_VECTOR() local 2488 assert(Splat.getValueType() == XLenVT && in lowerBUILD_VECTOR() 2490 Splat = DAG.getNode(ISD::AND, DL, XLenVT, Splat, in lowerBUILD_VECTOR() 2492 WideVec = DAG.getSplatBuildVector(WideVecVT, DL, Splat); in lowerBUILD_VECTOR() 2503 if (SDValue Splat = cast<BuildVectorSDNode>(Op)->getSplatValue()) { in lowerBUILD_VECTOR() local 2504 if (auto Gather = matchSplatAsGather(Splat, VT, DL, DAG, Subtarget)) in lowerBUILD_VECTOR() 2508 Splat = in lowerBUILD_VECTOR() 2509 DAG.getNode(Opc, DL, ContainerVT, DAG.getUNDEF(ContainerVT), Splat, VL); in lowerBUILD_VECTOR() 2510 return convertFromScalableVector(VT, Splat, DAG, Subtarget); in lowerBUILD_VECTOR() 2625 SDValue Splat = in lowerBUILD_VECTOR() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAddressingModes.h | 322 int Splat = getT2SOImmValSplatVal(Arg); in getT2SOImmVal() local 323 if (Splat != -1) in getT2SOImmVal() 324 return Splat; in getT2SOImmVal()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 757 const Value *Splat = getSplatValue(V); in getOperandInfo() local 763 if (Splat) { in getOperandInfo() 765 if (auto *CI = dyn_cast<ConstantInt>(Splat)) { in getOperandInfo() 790 if (Splat && (isa<Argument>(Splat) || isa<GlobalValue>(Splat))) in getOperandInfo()
|
| H A D | VectorUtils.cpp | 341 if (Value *Splat = getSplatValue(V)) in findScalarElement() local 343 return Splat; in findScalarElement() 377 Value *Splat; in getSplatValue() local 379 m_Shuffle(m_InsertElt(m_Value(), m_Value(Splat), m_ZeroInt()), in getSplatValue() 381 return Splat; in getSplatValue()
|
| H A D | Loads.cpp | 546 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore() local 548 ConstantInt *SplatC = ConstantInt::get(MSI->getContext(), Splat); in getAvailableLoadStore()
|
| H A D | InstructionSimplify.cpp | 4995 if (auto *Splat = getSplatValue(Vec)) in simplifyExtractElementInst() local 4996 return Splat; in simplifyExtractElementInst() 5009 if (Value *Splat = getSplatValue(Vec)) in simplifyExtractElementInst() local 5010 return Splat; in simplifyExtractElementInst()
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | Lexicon.rst | 301 **Splat** 302 Splat refers to a vector of identical scalar elements.
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 62 if (Constant *Splat = CV->getSplatValue()) { in BitCastConstantVector() local 64 ConstantExpr::getBitCast(Splat, DstEltTy)); in BitCastConstantVector() 411 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction() local 414 ConstantExpr::getCast(opc, Splat, DstEltTy)); in ConstantFoldCastInstruction() 851 if (Constant *Splat = C->getSplatValue()) in ConstantFoldUnaryInstruction() local 852 if (Constant *Elt = ConstantFoldUnaryInstruction(Opcode, Splat)) in ConstantFoldUnaryInstruction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrSIMD.td | 560 multiclass Splat<Vec vec, bits<32> simdop> { 569 defm "" : Splat<I8x16, 15>; 570 defm "" : Splat<I16x8, 16>; 571 defm "" : Splat<I32x4, 17>; 572 defm "" : Splat<I64x2, 18>; 573 defm "" : Splat<F32x4, 19>; 574 defm "" : Splat<F64x2, 20>;
|
| H A D | WebAssemblyISelLowering.cpp | 2449 auto *Splat = dyn_cast<BuildVectorSDNode>(SplatVal.getNode()); in performVectorTruncZeroCombine() local 2453 return Splat && in performVectorTruncZeroCombine() 2454 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 988 if (auto Splat = getSplatValue(*I)) in getGEPCost() local 989 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 1362 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat"); in emitMatrixMultiply() local 1364 createMulAdd(isSumZero && K == 0 ? nullptr : Sum, L, Splat, in emitMatrixMultiply() 1389 Value *Splat = Builder.CreateVectorSplat(BlockSize, LH, "splat"); in emitMatrixMultiply() local 1391 createMulAdd(isSumZero && K == 0 ? nullptr : Sum, Splat, R, in emitMatrixMultiply()
|
| H A D | SROA.cpp | 3133 Value *Splat = getIntegerSplat( in visitMemSetInst() local 3135 Splat = convertValue(DL, IRB, Splat, ElementTy); in visitMemSetInst() 3137 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst() 3141 V = insertVector(IRB, Old, Splat, BeginIndex, "vec"); in visitMemSetInst()
|
| H A D | RewriteStatepointsForGC.cpp | 3181 auto *Splat = B.CreateVectorSplat(VF, I.getOperand(0)); in runOnFunction() local 3182 I.setOperand(0, Splat); in runOnFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | README_P9.txt | 487 - Vector Splat Immediate Byte: xxspltib 571 - Load Vector Word & Splat Indexed: lxvwsx
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 1146 if (auto Splat = getIConstantSplatSExtVal(MI, MRI)) in getVectorSplat() local 1147 return RegOrConstant(*Splat); in getVectorSplat()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 712 Value *Splat = in instCombineSVEDupX() local 714 Splat->takeName(&II); in instCombineSVEDupX() 715 return IC.replaceInstUsesWith(II, Splat); in instCombineSVEDupX()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 1713 if (Instruction *Splat = foldInsEltIntoSplat(IE)) in visitInsertElementInst() local 1714 return Splat; in visitInsertElementInst()
|
| H A D | InstCombineCalls.cpp | 2176 if (ConstantInt *Splat = in visitCallInst() local 2178 if (Splat->isOne()) in visitCallInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 1976 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() local 1977 if (!Splat) in getVectorShuffle() 2050 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() local 2052 if (Splat && Splat.isUndef()) in getVectorShuffle() 2060 if (Splat && UndefElements.none()) { in getVectorShuffle() 2065 if (auto *C = dyn_cast<ConstantSDNode>(Splat)) in getVectorShuffle() 3448 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() local 3449 Cst = Splat; in computeKnownBits()
|
| H A D | DAGCombiner.cpp | 6296 ConstantSDNode *Splat = isConstOrConstSplat(N1, true, true); in visitAND() local 6297 if (MLoad && MLoad->getExtensionType() == ISD::EXTLOAD && Splat && in visitAND() 6307 if (Splat->getAPIntValue().isMask(ElementSize)) { in visitAND() 21844 if (SDValue Splat = cast<BuildVectorSDNode>(N)->getSplatValue()) { in visitBUILD_VECTOR() local 21845 Splat = peekThroughBitcasts(Splat); in visitBUILD_VECTOR() 21846 EVT SrcVT = Splat.getValueType(); in visitBUILD_VECTOR() 21852 SmallVector<SDValue, 8> Ops(N->getNumOperands(), Splat); in visitBUILD_VECTOR() 23557 auto *Splat = dyn_cast<ShuffleVectorSDNode>(Shuf->getOperand(0)); in combineShuffleOfSplatVal() local 23558 if (!Splat || !Splat->isSplat()) in combineShuffleOfSplatVal() 23562 ArrayRef<int> SplatMask = Splat->getMask(); in combineShuffleOfSplatVal() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1866 auto *Splat = ConstantVector::getSplat(VecTy->getElementCount(), in getConstSplat() local 1868 return Splat; in getConstSplat()
|