Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor()
59 Payload = llvm::APInt::getSplat(BitWidth, Payload); in initializationPatternFor()
H A DCGBuiltin.cpp5413 Value *SV = llvm::ConstantVector::getSplat(Count, C); in EmitNeonSplat()
10535 Value *SV = llvm::ConstantVector::getSplat(VTy->getElementCount(), cst); in EmitAArch64BuiltinExpr()
10566 Value *SV = llvm::ConstantVector::getSplat(VTy->getElementCount(), in EmitAArch64BuiltinExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp322 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount()
323 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount()
324 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount()
325 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp401 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue()
418 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue()
906 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
930 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
959 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
971 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
984 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
995 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN()
1006 return ConstantVector::getSplat(VTy->getElementCount(), C); in getQNaN()
1017 return ConstantVector::getSplat(VTy->getElementCount(), C); in getSNaN()
[all …]
H A DConstantFold.cpp65 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
414 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
736 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
849 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
1217 return ConstantVector::getSplat( in ConstantFoldBinaryInstruction()
1853 return ConstantVector::getSplat( in ConstantFoldCompareInstruction()
2216 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()
2369 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2373 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2379 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h65 OpC = ConstantVector::getSplat(
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp894 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
918 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
968 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
986 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp1429 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic()
1438 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic()
1918 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic()
1919 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
H A DX86ISelLowering.cpp6729 UndefSubElts = APInt::getSplat(NumSubVecs * UndefSubElts.getBitWidth(), in getTargetConstantBitsFromNode()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h512 static Constant *getSplat(ElementCount EC, Constant *Elt);
801 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp994 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue()
1002 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp6997 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandCTPOP()
6999 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandCTPOP()
7001 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandCTPOP()
7003 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandCTPOP()
7269 APInt MaskHi4 = APInt::getSplat(Sz, APInt(8, 0xF0)); in expandBITREVERSE()
7270 APInt MaskHi2 = APInt::getSplat(Sz, APInt(8, 0xCC)); in expandBITREVERSE()
7271 APInt MaskHi1 = APInt::getSplat(Sz, APInt(8, 0xAA)); in expandBITREVERSE()
7272 APInt MaskLo4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandBITREVERSE()
7273 APInt MaskLo2 = APInt::getSplat(Sz, APInt(8, 0x33)); in expandBITREVERSE()
7274 APInt MaskLo1 = APInt::getSplat(Sz, APInt(8, 0x55)); in expandBITREVERSE()
H A DSelectionDAG.cpp6237 APInt Val = APInt::getSplat(NumBits, C->getAPIntValue()); in getMemsetValue()
6256 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
H A DDAGCombiner.cpp22495 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in foldSignChangeInBitcast()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h674 static APInt getSplat(unsigned NewLen, const APInt &V);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5754 APInt B2Mask1HiTo0 = APInt::getSplat(Size, APInt(8, 0x55)); in lowerBitCount()
5763 APInt B4Mask2HiTo0 = APInt::getSplat(Size, APInt(8, 0x33)); in lowerBitCount()
5777 APInt B8Mask4HiTo0 = APInt::getSplat(Size, APInt(8, 0x0F)); in lowerBitCount()
5784 auto MulMask = B.buildConstant(Ty, APInt::getSplat(Size, APInt(8, 0x01))); in lowerBitCount()
7146 SwapN(4, Ty, MIRBuilder, BSWAP, APInt::getSplat(Size, APInt(8, 0xF0))); in lowerBitreverse()
7152 SwapN(2, Ty, MIRBuilder, Swap4, APInt::getSplat(Size, APInt(8, 0xCC))); in lowerBitreverse()
7157 SwapN(1, Dst, MIRBuilder, Swap2, APInt::getSplat(Size, APInt(8, 0xAA))); in lowerBitreverse()
H A DCombinerHelper.cpp1185 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue()
1199 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp1330 Iden = ConstantVector::getSplat(State.VF, IdenC); in execute()
H A DLoopVectorize.cpp2325 ? ConstantVector::getSplat(VF, cast<Constant>(Mul)) in createVectorIntOrFpInductionPHI()
9664 ConstantVector::getSplat(VecTy->getElementCount(), Iden); in execute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp578 APInt APInt::getSplat(unsigned NewLen, const APInt &V) { in getSplat() function in APInt
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2147 auto *CV = ConstantDataVector::getSplat( in earlySelect()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7204 return ConstantVector::getSplat(EC, Val); in getConstantVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5638 C = ConstantVector::getSplat(cast<VectorType>(V1Ty)->getElementCount(), in foldVectorCmp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp712 return ConstantVector::getSplat(VecTy->getElementCount(), OffsetIntPtr); in stripAndComputeConstantOffsets()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16243 APInt Op1DemandedElts = APInt::getSplat(NumElts, APInt::getLowBitsSet(2, 1)); in PerformVMOVNCombine()
16246 : APInt::getSplat(NumElts, APInt::getHighBitsSet(2, 1)); in PerformVMOVNCombine()
16267 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in PerformVQMOVNCombine()