Home
last modified time | relevance | path

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

12

/freebsd/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.h2699 LLVM_ABI Value *CreateVectorSplat(unsigned NumElts, Value *V,
2704 LLVM_ABI Value *CreateVectorSplat(ElementCount EC, Value *V,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp61 Op = Builder->CreateVectorSplat( in emitGEPOffset()
71 Scale = Builder->CreateVectorSplat( in emitGEPOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp782 Builder.CreateVectorSplat(Ty->getNumElements(), in tryCreateIncrementingGatScat()
788 Builder.CreateVectorSplat( in tryCreateIncrementingGatScat()
840 Builder.CreateVectorSplat(NumElems, Builder.getInt32(TypeScale)), in tryCreateIncrementingWBGatScat()
846 Builder.CreateVectorSplat( in tryCreateIncrementingWBGatScat()
856 Builder.CreateVectorSplat(NumElems, Builder.getInt32(Immediate)), in tryCreateIncrementingWBGatScat()
1123 NonVectorVal = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
1129 Builder.CreateVectorSplat(VT->getNumElements(), NonVectorVal); in CheckAndCreateOffsetAdd()
1171 Value *XScale = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
1174 Value *YScale = Builder.CreateVectorSplat( in CheckAndCreateOffsetAdd()
H A DARMTargetTransformInfo.cpp200 auto TrueVector = IC.Builder.CreateVectorSplat( in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp693 return Builder.CreateVectorSplat( in generate()
733 auto *Iden = Builder.CreateVectorSplat(VF, State.get(getOperand(1), true)); in generate()
1611 Builder.CreateVectorSplat(VTy->getElementCount(), Builder.getInt1(1)); in execute()
2202 SplatStep = Builder.CreateVectorSplat(State.VF, Step); in execute()
2203 SplatIV = Builder.CreateVectorSplat(State.VF, BaseIV); in execute()
2226 auto *SplatStartIdx = Builder.CreateVectorSplat(State.VF, StartIdx0); in execute()
2294 Value *Splat = State.Builder.CreateVectorSplat(State.VF, NewGEP); in execute()
2505 Start = State.Builder.CreateVectorSplat(VecTy->getElementCount(), Start); in execute()
2552 Mask = Builder.CreateVectorSplat(State.VF, Builder.getTrue()); in execute()
3160 Builder.CreateVectorSplat(ValTy->getElementCount(), Builder.getTrue()); in createReverseEVL()
[all …]
H A DLoopIdiomVectorize.cpp445 Value *PFalse = Builder.CreateVectorSplat(PredVTy->getElementCount(), in createMaskedFindMismatch()
1321 Value *Needle0Splat = Builder.CreateVectorSplat(ElementCount::getScalable(VF), in expandFindFirstByte()
H A DVPlan.cpp318 Value *Shuf = Builder.CreateVectorSplat(VF, V, "broadcast"); in get()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLBuiltins.cpp41 OpLowBits = CGF.Builder.CreateVectorSplat(1, OpLowBits); in handleAsDoubleBuiltin()
42 OpHighBits = CGF.Builder.CreateVectorSplat(1, OpHighBits); in handleAsDoubleBuiltin()
627 Builder.CreateVectorSplat(VTy->getNumElements(), OpTrue, "splat"); in EmitHLSLBuiltinExpr()
630 Builder.CreateVectorSplat(VTy->getNumElements(), OpFalse, "splat"); in EmitHLSLBuiltinExpr()
H A DCGExprScalar.cpp1653 return Builder.CreateVectorSplat(NumElements, Src, "splat"); in EmitScalarConversion()
2776 return Builder.CreateVectorSplat(NumElements, Elt, "splat"); in VisitCastExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp225 Value *VLSplat = Builder.CreateVectorSplat(NumElems, EVLParam); in convertEVLToMask()
346 auto *NeutralVector = Builder.CreateVectorSplat( in expandPredicationInReduction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp748 Value *SplatArg1 = B.CreateVectorSplat(VecTy->getElementCount(), Arg1); in fold()
1291 Value *SplatRHS = B.CreateVectorSplat(Arg0VecTy->getElementCount(), Arg1); in replaceLibCallWithSimpleIntrinsic()
1294 Value *SplatLHS = B.CreateVectorSplat(Arg1VecTy->getElementCount(), Arg0); in replaceLibCallWithSimpleIntrinsic()
H A DAMDGPUPromoteAlloca.cpp679 Value *EltBytes = Builder.CreateVectorSplat(BytesPerElt, Elt); in promoteAllocaUserToVector()
691 return Builder.CreateVectorSplat(VectorTy->getElementCount(), Elt); in promoteAllocaUserToVector()
H A DAMDGPULowerBufferFatPointers.cpp1896 Rsrc = IRB.CreateVectorSplat(ResRsrcVecTy->getElementCount(), Rsrc, in visitGetElementPtrInst()
1898 Off = IRB.CreateVectorSplat(ResRsrcVecTy->getElementCount(), Off, in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILIntrinsicExpansion.cpp339 Value *NegZeroSplat = Builder.CreateVectorSplat(FNumElem, NegZero); in expandIsFPClass()
457 Builder.CreateVectorSplat(XVec->getNumElements(), Multiplicand); in expandNormalizeIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1127 Value *IRBuilderBase::CreateVectorSplat(unsigned NumElts, Value *V, in CreateVectorSplat() function in IRBuilderBase
1130 return CreateVectorSplat(EC, V, Name); in CreateVectorSplat()
1133 Value *IRBuilderBase::CreateVectorSplat(ElementCount EC, Value *V, in CreateVectorSplat() function in IRBuilderBase
H A DAutoUpgrade.cpp1927 Amt = Builder.CreateVectorSplat(NumElts, Amt); in upgradeX86Rotate()
1996 Amt = Builder.CreateVectorSplat(NumElts, Amt); in upgradeX86ConcatShift()
2647 Rep = Builder.CreateVectorSplat(NumElts, Rep); in upgradeX86IntrinsicCall()
2689 Rep = Builder.CreateVectorSplat(NumElts, CI->getArgOperand(0)); in upgradeX86IntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp305 ? IRB.CreateVectorSplat(VectorTy->getNumElements(), BitWidthConstant) in lowerFunnelShifts()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DSystemZ.cpp111 Amt = Builder.CreateVectorSplat(NumElts, Amt); in EmitSystemZBuiltinExpr()
H A DX86.cpp162 Amt = CGF.Builder.CreateVectorSplat(NumElts, Amt); in EmitX86FunnelShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp213 Amt = Builder.CreateVectorSplat(VWidth, Amt); in simplifyX86immShift()
222 return Builder.CreateAShr(Vec, Builder.CreateVectorSplat(VWidth, Amt)); in simplifyX86immShift()
283 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt); in simplifyX86immShift()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1749 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat"); in emitMatrixMultiply()
1776 Value *Splat = Builder.CreateVectorSplat(BlockSize, LH, "splat"); in emitMatrixMultiply()
H A DRewriteStatepointsForGC.cpp3161 auto *Splat = B.CreateVectorSplat(VF, I.getOperand(0)); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp226 Offset = Builder.CreateVectorSplat( in EmitGEPOffsets()
2346 Value *AllTrueMask = Builder.CreateVectorSplat(EC, Builder.getTrue()); in foldVectorBinop()
3184 Res = Builder.CreateVectorSplat(EC, Res); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1819 Value *Splat = IC.Builder.CreateVectorSplat(RetTy->getElementCount(), in instCombineSVEDupX()
2361 IC.Builder.CreateVectorSplat(RetTy->getElementCount(), ScalarArg); in instCombineSVEUnpack()
2385 IC.Builder.CreateVectorSplat(VTy->getElementCount(), Extract); in instCombineSVETBL()

12