Home
last modified time | relevance | path

Searched refs:CreateVectorSplat (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h44 RHS = B.CreateVectorSplat( in splatScalarOperandIfNeeded()
50 LHS = B.CreateVectorSplat( in splatScalarOperandIfNeeded()
162 RHS = B.CreateVectorSplat( in CreateAdd()
168 LHS = B.CreateVectorSplat( in CreateAdd()
187 RHS = B.CreateVectorSplat( in CreateSub()
193 LHS = B.CreateVectorSplat( in CreateSub()
221 B.CreateVectorSplat(cast<VectorType>(LHS->getType())->getElementCount(), in CreateScalarDiv()
H A DIRBuilder.h2581 Value *CreateVectorSplat(unsigned NumElts, Value *V, const Twine &Name = "");
2585 Value *CreateVectorSplat(ElementCount EC, Value *V, const Twine &Name = "");
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp61 Op = Builder->CreateVectorSplat( in emitGEPOffset()
71 Scale = Builder->CreateVectorSplat( in emitGEPOffset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp783 Builder.CreateVectorSplat(Ty->getNumElements(), Builder.getInt32(TypeScale)), in tryCreateIncrementingGatScat()
788 Builder.CreateVectorSplat( in tryCreateIncrementingGatScat()
840 Builder.CreateVectorSplat(NumElems, Builder.getInt32(TypeScale)), in tryCreateIncrementingWBGatScat()
845 Builder.CreateVectorSplat( in tryCreateIncrementingWBGatScat()
854 Builder.CreateVectorSplat(NumElems, Builder.getInt32(Immediate)), in tryCreateIncrementingWBGatScat()
1119 NonVectorVal = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
1125 Builder.CreateVectorSplat(VT->getNumElements(), NonVectorVal); in CheckAndCreateOffsetAdd()
1167 Value *XScale = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
1170 Value *YScale = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
H A DARMTargetTransformInfo.cpp181 auto TrueVector = IC.Builder.CreateVectorSplat( in instCombineIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp923 Value *StartIdxSplat = Builder.CreateVectorSplat(VLen, StartIdx); in getStepVector()
927 Step = Builder.CreateVectorSplat(VLen, Step); in getStepVector()
941 Step = Builder.CreateVectorSplat(VLen, Step); in getStepVector()
999 Value *SplatStart = Builder.CreateVectorSplat(State.VF, Start); in execute()
1032 : Builder.CreateVectorSplat(State.VF, Mul); in execute()
1154 SplatStep = Builder.CreateVectorSplat(State.VF, Step); in execute()
1155 SplatIV = Builder.CreateVectorSplat(State.VF, BaseIV); in execute()
1172 auto *SplatStartIdx = Builder.CreateVectorSplat(State.VF, StartIdx0); in execute()
1659 VStep = Builder.CreateVectorSplat(VF, VStep); in execute()
1755 Builder.CreateVectorSplat(State.VF, StartV, "minmax.ident"); in execute()
[all …]
H A DVPlan.cpp257 Value *Shuf = Builder.CreateVectorSplat(VF, V, "broadcast"); in get()
737 VF.isScalar() ? TCMO : Builder.CreateVectorSplat(VF, TCMO, "broadcast"); in prepareToExecute()
H A DVectorCombine.cpp859 replaceValue(VPI, *Builder.CreateVectorSplat(EC, ScalarVal)); in scalarizeVPIntrinsic()
H A DLoopVectorize.cpp2384 Y = B.CreateVectorSplat(XVTy->getElementCount(), Y); in emitTransformedIndex()
9306 State.Builder.CreateVectorSplat(State.VF, StartOffsetScalar); in execute()
9317 State.Builder.CreateVectorSplat(State.VF, ScalarStepValue), in execute()
9374 State.Builder.CreateVectorSplat(VecTy->getElementCount(), Iden); in execute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp247 Value *VLSplat = Builder.CreateVectorSplat(NumElems, EVLParam); in convertEVLToMask()
414 auto *NeutralVector = Builder.CreateVectorSplat( in expandPredicationInReduction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp183 ? IRB.CreateVectorSplat(VectorTy->getNumElements(), BitWidthConstant) in lowerFunnelShifts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp739 Value *SplatArg1 = B.CreateVectorSplat(VecTy->getElementCount(), Arg1); in fold()
1251 Value *SplatRHS = B.CreateVectorSplat(Arg0VecTy->getElementCount(), Arg1); in replaceLibCallWithSimpleIntrinsic()
1254 Value *SplatLHS = B.CreateVectorSplat(Arg1VecTy->getElementCount(), Arg0); in replaceLibCallWithSimpleIntrinsic()
H A DAMDGPUPromoteAlloca.cpp526 Value *EltBytes = Builder.CreateVectorSplat(BytesPerElt, Elt); in promoteAllocaUserToVector()
538 return Builder.CreateVectorSplat(VectorTy->getElementCount(), Elt); in promoteAllocaUserToVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1212 Value *IRBuilderBase::CreateVectorSplat(unsigned NumElts, Value *V, in CreateVectorSplat() function in IRBuilderBase
1215 return CreateVectorSplat(EC, V, Name); in CreateVectorSplat()
1218 Value *IRBuilderBase::CreateVectorSplat(ElementCount EC, Value *V, in CreateVectorSplat() function in IRBuilderBase
H A DAutoUpgrade.cpp1695 Amt = Builder.CreateVectorSplat(NumElts, Amt); in upgradeX86Rotate()
1765 Amt = Builder.CreateVectorSplat(NumElts, Amt); in upgradeX86ConcatShift()
2476 Rep = Builder.CreateVectorSplat(NumElts, Rep); in UpgradeIntrinsicCall()
2525 Rep = Builder.CreateVectorSplat(NumElts, CI->getArgOperand(0)); in UpgradeIntrinsicCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp968 StartVal = Builder.CreateVectorSplat(VTy->getElementCount(), StartVal); in createAnyOfOp()
1085 Value *Right = Builder.CreateVectorSplat(EC, InitVal); in createAnyOfTargetReduction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoopIdiomTransform.cpp564 Value *PFalse = Builder.CreateVectorSplat(PredVTy->getElementCount(), in expandFindMismatch()
H A DAArch64TargetTransformInfo.cpp966 Value *Splat = IC.Builder.CreateVectorSplat(RetTy->getElementCount(), in instCombineSVEDupX()
1603 IC.Builder.CreateVectorSplat(RetTy->getElementCount(), ScalarArg); in instCombineSVEUnpack()
1627 IC.Builder.CreateVectorSplat(VTy->getElementCount(), Extract); in instCombineSVETBL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp218 Amt = Builder.CreateVectorSplat(VWidth, Amt); in simplifyX86immShift()
227 return Builder.CreateAShr(Vec, Builder.CreateVectorSplat(VWidth, Amt)); in simplifyX86immShift()
288 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt); in simplifyX86immShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1517 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat"); in emitMatrixMultiply()
1544 Value *Splat = Builder.CreateVectorSplat(BlockSize, LH, "splat"); in emitMatrixMultiply()
H A DRewriteStatepointsForGC.cpp3152 auto *Splat = B.CreateVectorSplat(VF, I.getOperand(0)); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1422 return Builder.CreateVectorSplat(NumElements, Src, "splat"); in EmitScalarConversion()
2379 return Builder.CreateVectorSplat(NumElements, Elt, "splat"); in VisitCastExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2453 Value *PadVec = Builder.CreateVectorSplat(CurSize, Pad, "spt"); in vresize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2168 Sel, 0, IC.Builder.CreateVectorSplat(Ty->getElementCount(), Cond)); in canonicalizeScalarSelectOfVecs()
H A DInstCombineCalls.cpp390 Builder.CreateVectorSplat(VecTy->getElementCount(), L, "broadcast"); in simplifyMaskedGather()

12