Home
last modified time | relevance | path

Searched refs:Splat (Results 1 – 25 of 39) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp23 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 DAArch64PostLegalizerLowering.cpp723 auto Splat = getAArch64VectorSplat(MI, MRI); in matchBuildVectorToDup() local
724 if (!Splat) in matchBuildVectorToDup()
726 if (Splat->isReg()) in matchBuildVectorToDup()
731 int64_t Cst = Splat->getCst(); in matchBuildVectorToDup()
926 auto Splat = getAArch64VectorSplat(*MRI.getVRegDef(RHS), MRI); in lowerVectorFCMP() local
929 bool IsZero = Splat && Splat->isCst() && Splat->getCst() == 0; in lowerVectorFCMP()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h322 int Splat = getT2SOImmValSplatVal(Arg); in getT2SOImmVal() local
323 if (Splat != -1) in getT2SOImmVal()
324 return Splat; in getT2SOImmVal()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp676 const Value *Splat = getSplatValue(V); in getOperandInfo() local
682 if (Splat) { in getOperandInfo()
684 if (auto *CI = dyn_cast<ConstantInt>(Splat)) in getOperandInfo()
701 if (Splat && (isa<Argument>(Splat) || isa<GlobalValue>(Splat))) in getOperandInfo()
H A DVectorUtils.cpp356 Value *Splat; in getSplatValue() local
358 m_Shuffle(m_InsertElt(m_Value(), m_Value(Splat), m_ZeroInt()), in getSplatValue()
360 return Splat; in getSplatValue()
/netbsd/external/apache2/llvm/dist/llvm/docs/
H A DLexicon.rst288 **Splat**
289 Splat refers to a vector of identical scalar elements.
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td523 multiclass Splat<Vec vec, bits<32> simdop> {
532 defm "" : Splat<I8x16, 15>;
533 defm "" : Splat<I16x8, 16>;
534 defm "" : Splat<I32x4, 17>;
535 defm "" : Splat<I64x2, 18>;
536 defm "" : Splat<F32x4, 19>;
537 defm "" : Splat<F64x2, 20>;
H A DWebAssemblyISelLowering.cpp2217 auto *Splat = dyn_cast<BuildVectorSDNode>(N->getOperand(1)); in performVectorTruncSatLowCombine() local
2221 if (!Splat || !Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncSatLowCombine()
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp64 if (Constant *Splat = CV->getSplatValue()) { in BitCastConstantVector() local
66 ConstantExpr::getBitCast(Splat, DstEltTy)); in BitCastConstantVector()
606 if (Constant *Splat = V->getSplatValue()) { in ConstantFoldCastInstruction() local
609 ConstantExpr::getCast(opc, Splat, DstEltTy)); in ConstantFoldCastInstruction()
1091 if (Constant *Splat = C->getSplatValue()) { in ConstantFoldUnaryInstruction() local
1092 Constant *Elt = ConstantExpr::get(Opcode, Splat); in ConstantFoldUnaryInstruction()
H A DConstants.cpp112 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue() local
113 return Splat->isAllOnesValue(); in isAllOnesValue()
138 if (Constant *Splat = CV->getSplatValue()) in isOneValue() local
139 return Splat->isOneValue(); in isOneValue()
188 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue() local
189 return Splat->isMinSignedValue(); in isMinSignedValue()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp928 if (auto Splat = getBuildVectorConstantSplat(MI, MRI)) in getVectorSplat() local
929 return RegOrConstant(*Splat); in getVectorSplat()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1061 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat"); in emitMatrixMultiply() local
1062 Sum = createMulAdd(isSumZero && K == 0 ? nullptr : Sum, L, Splat, in emitMatrixMultiply()
1088 Value *Splat = Builder.CreateVectorSplat(BlockSize, LH, "splat"); in emitMatrixMultiply() local
1089 Sum = createMulAdd(isSumZero && K == 0 ? nullptr : Sum, Splat, R, in emitMatrixMultiply()
H A DSROA.cpp2848 Value *Splat = getIntegerSplat( in visitMemSetInst() local
2850 Splat = convertValue(DL, IRB, Splat, ElementTy); in visitMemSetInst()
2852 Splat = getVectorSplat(Splat, NumElements); in visitMemSetInst()
2856 V = insertVector(IRB, Old, Splat, BeginIndex, "vec"); in visitMemSetInst()
H A DRewriteStatepointsForGC.cpp2865 auto *Splat = B.CreateVectorSplat(VF, I.getOperand(0)); in runOnFunction() local
2866 I.setOperand(0, Splat); in runOnFunction()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h885 if (auto Splat = getSplatValue(*I)) variable
886 ConstIdx = dyn_cast<ConstantInt>(Splat);
/netbsd/external/gpl3/gdb/dist/sim/ppc/
H A De500.igen647 0.4,6.RS,11.SIMM,16.0,21.553:X:e500:evsplati %RS,%SIMM:Vector Splat Immediate
655 0.4,6.RS,11.SIMM,16.0,21.555:X:e500:evsplatfi %RS,%SIMM:Vector Splat Fractional Immediate
3036 0.4,6.RS,11.RA,16.UIMM,21.793:EVX:e500:evlwwsplat %RS,%RA,%UIMM:Vector Load Word into Word and Splat
3047 0.4,6.RS,11.RA,16.RB,21.792:EVX:e500:evlwwsplatx %RS,%RA,%RB:Vector Load Word into Word and Splat I…
3058 …11.RA,16.UIMM,21.797:EVX:e500:evlwhsplat %RS,%RA,%UIMM:Vector Load Word into 2 Half Words and Splat
3070 …,16.RB,21.796:EVX:e500:evlwhsplatx %RS,%RA,%RB:Vector Load Word into 2 Half Words and Splat Indexed
3082 …UIMM,21.777:EVX:e500:evlhhesplat %RS,%RA,%UIMM:Vector Load Half Word into Half Words Even and Splat
3093 ….776:EVX:e500:evlhhesplatx %RS,%RA,%RB:Vector Load Half Word into Half Words Even and Splat Indexed
3104 …781:EVX:e500:evlhhousplat %RS,%RA,%UIMM:Vector Load Half Word into Half Word Odd Unsigned and Splat
3126 …1.783:EVX:e500:evlhhossplat %RS,%RA,%UIMM:Vector Load Half Word into Half Word Odd Signed and Splat
[all …]
H A Daltivec.igen1976 # Vector Splat instructions, 6-140 ... 6-145
1979 0.4,6.VS,11.UIMM,16.VB,21.524:VX:av:vspltb %VD, %VB, %UIMM:Vector Splat Byte
1987 0.4,6.VS,11.UIMM,16.VB,21.588:VX:av:vsplth %VD, %VB, %UIMM:Vector Splat Half Word
1995 0.4,6.VS,11.SIMM,16.0,21.780:VX:av:vspltisb %VD, %SIMM:Vector Splat Immediate Signed Byte
2005 0.4,6.VS,11.SIMM,16.0,21.844:VX:av:vspltish %VD, %SIMM:Vector Splat Immediate Signed Half Word
2015 0.4,6.VS,11.SIMM,16.0,21.908:VX:av:vspltisw %VD, %SIMM:Vector Splat Immediate Signed Word
2025 0.4,6.VS,11.UIMM,16.VB,21.652:VX:av:vspltw %VD, %VB, %UIMM:Vector Splat Word
/netbsd/external/gpl3/gdb.old/dist/sim/ppc/
H A De500.igen647 0.4,6.RS,11.SIMM,16.0,21.553:X:e500:evsplati %RS,%SIMM:Vector Splat Immediate
655 0.4,6.RS,11.SIMM,16.0,21.555:X:e500:evsplatfi %RS,%SIMM:Vector Splat Fractional Immediate
3036 0.4,6.RS,11.RA,16.UIMM,21.793:EVX:e500:evlwwsplat %RS,%RA,%UIMM:Vector Load Word into Word and Splat
3047 0.4,6.RS,11.RA,16.RB,21.792:EVX:e500:evlwwsplatx %RS,%RA,%RB:Vector Load Word into Word and Splat I…
3058 …11.RA,16.UIMM,21.797:EVX:e500:evlwhsplat %RS,%RA,%UIMM:Vector Load Word into 2 Half Words and Splat
3070 …,16.RB,21.796:EVX:e500:evlwhsplatx %RS,%RA,%RB:Vector Load Word into 2 Half Words and Splat Indexed
3082 …UIMM,21.777:EVX:e500:evlhhesplat %RS,%RA,%UIMM:Vector Load Half Word into Half Words Even and Splat
3093 ….776:EVX:e500:evlhhesplatx %RS,%RA,%RB:Vector Load Half Word into Half Words Even and Splat Indexed
3104 …781:EVX:e500:evlhhousplat %RS,%RA,%UIMM:Vector Load Half Word into Half Word Odd Unsigned and Splat
3126 …1.783:EVX:e500:evlhhossplat %RS,%RA,%UIMM:Vector Load Half Word into Half Word Odd Signed and Splat
[all …]
H A Daltivec.igen1976 # Vector Splat instructions, 6-140 ... 6-145
1979 0.4,6.VS,11.UIMM,16.VB,21.524:VX:av:vspltb %VD, %VB, %UIMM:Vector Splat Byte
1987 0.4,6.VS,11.UIMM,16.VB,21.588:VX:av:vsplth %VD, %VB, %UIMM:Vector Splat Half Word
1995 0.4,6.VS,11.SIMM,16.0,21.780:VX:av:vspltisb %VD, %SIMM:Vector Splat Immediate Signed Byte
2005 0.4,6.VS,11.SIMM,16.0,21.844:VX:av:vspltish %VD, %SIMM:Vector Splat Immediate Signed Half Word
2015 0.4,6.VS,11.SIMM,16.0,21.908:VX:av:vspltisw %VD, %SIMM:Vector Splat Immediate Signed Word
2025 0.4,6.VS,11.UIMM,16.VB,21.652:VX:av:vspltw %VD, %VB, %UIMM:Vector Splat Word
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1334 return convertFromScalableVector(VT, Splat, DAG, Subtarget); in lowerSPLAT_VECTOR()
1443 assert(Splat.getValueType() == XLenVT && in lowerBUILD_VECTOR()
1445 Splat = DAG.getNode(ISD::AND, DL, XLenVT, Splat, in lowerBUILD_VECTOR()
1447 WideVec = DAG.getSplatBuildVector(WideVecVT, DL, Splat); in lowerBUILD_VECTOR()
1461 Splat = DAG.getNode(Opc, DL, ContainerVT, Splat, VL); in lowerBUILD_VECTOR()
1462 return convertFromScalableVector(VT, Splat, DAG, Subtarget); in lowerBUILD_VECTOR()
1529 SDValue Splat = in lowerBUILD_VECTOR() local
1532 Splat = convertFromScalableVector(ViaVecVT, Splat, DAG, Subtarget); in lowerBUILD_VECTOR()
1533 return DAG.getBitcast(VT, Splat); in lowerBUILD_VECTOR()
1775 SDValue Splat = DAG.getNode(Opc, DL, ContainerVT, V, VL); in lowerVECTOR_SHUFFLE() local
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DREADME_P9.txt487 - Vector Splat Immediate Byte: xxspltib
571 - Load Vector Word & Splat Indexed: lxvwsx
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1455 if (Instruction *Splat = foldInsEltIntoSplat(IE)) in visitInsertElementInst() local
1456 return Splat; in visitInsertElementInst()
H A DInstCombineCalls.cpp1555 if (ConstantInt *Splat = in visitCallInst() local
1557 if (Splat->isOne()) in visitCallInst()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1807 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() local
1808 if (!Splat) in getVectorShuffle()
1881 SDValue Splat = BV->getSplatValue(&UndefElements); in getVectorShuffle() local
1883 if (Splat && Splat.isUndef()) in getVectorShuffle()
1891 if (Splat && UndefElements.none()) { in getVectorShuffle()
1896 if (auto *C = dyn_cast<ConstantSDNode>(Splat)) in getVectorShuffle()
3203 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() local
3204 Cst = Splat; in computeKnownBits()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp911 Splat, ///< Matching the same instruction multiple times (broadcast) enumerator
1240 case ReorderingMode::Splat: in getBestOperand()
1424 ReorderingModes[OpIdx] = ReorderingMode::Splat; in reorder()
1432 ReorderingModes[OpIdx] = ReorderingMode::Splat; in reorder()
1496 case ReorderingMode::Splat: in getModeStr()

12