| /src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILIntrinsicExpansion.cpp | 59 ? ConstantVector::getSplat( in expandAbs() 110 Ty->isVectorTy() ? ConstantVector::getSplat( in expandExpIntrinsic() 142 X, ConstantVector::getSplat( in expandAnyIntrinsic() 146 X, ConstantVector::getSplat( in expandAnyIntrinsic() 182 Ty->isVectorTy() ? ConstantVector::getSplat( in expandLogIntrinsic()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | PatternInit.cpp | 42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor() 59 Payload = llvm::APInt::getSplat(BitWidth, Payload); in initializationPatternFor()
|
| /src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 412 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 428 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 872 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 880 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse() 930 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 946 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 975 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 987 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 1000 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 1011 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN() [all …]
|
| H A D | ConstantFold.cpp | 173 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 475 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction() 589 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction() 907 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction() 1203 return ConstantVector::getSplat(C1VTy->getElementCount(), Elt); in ConstantFoldCompareInstruction() 1365 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()
|
| /src/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 47 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 307 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount() 308 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount() 309 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount() 310 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
|
| /src/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.cpp | 451 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstVal); in getOrCreateConstVector() 470 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstVal); in getOrCreateConstVector() 549 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector()
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 928 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 952 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1001 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1019 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
|
| H A D | AMDGPULowerBufferFatPointers.cpp | 635 return ConstantStruct::get(NewTy, {ConstantVector::getSplat(EC, Rsrc), in materializeBufferFatPtrConst() 636 ConstantVector::getSplat(EC, Off)}); in materializeBufferFatPtrConst()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 419 Val = ConstantInt::get(Ctx, APInt::getSplat(LoadSize * 8, Val->getValue())); in getConstantMemInstValueForLoad()
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 527 static Constant *getSplat(ElementCount EC, Constant *Elt); 816 static Constant *getSplat(unsigned NumElts, Constant *Elt);
|
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 579 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 101 return APInt::getSplat(NumBits, *Bits); in extractConstantBits()
|
| H A D | X86InstCombineIntrinsic.cpp | 2683 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic() 2692 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic() 3238 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic() 3239 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 8849 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandCTPOP() 8851 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandCTPOP() 8853 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandCTPOP() 8894 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandCTPOP() 8924 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandVPCTPOP() 8926 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandVPCTPOP() 8928 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandVPCTPOP() 8961 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandVPCTPOP() 9195 SDValue Splat = DAG.getSplat(ResVecVT, DL, ExtEVL); in expandVPCTTZElements() 9509 APInt Mask4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandBITREVERSE() [all …]
|
| H A D | LegalizeVectorOps.cpp | 1183 Mask = DAG.getSplat(MaskTy, DL, Mask); in ExpandSELECT() 1526 SDValue SplatEVL = DAG.getSplat(EVLVecVT, DL, EVL); in ExpandVP_MERGE()
|
| H A D | SelectionDAGBuilder.cpp | 1927 return NodeMap[V] = DAG.getSplat(VT, getCurSDLoc(), Op); in getValueImpl() 4305 N = DAG.getSplat(VT, dl, N); in visitGetElementPtr() 4377 IdxN = DAG.getSplat(VT, dl, IdxN); in visitGetElementPtr() 7945 SDValue VectorIndex = DAG.getSplat(VecTy, sdl, Index); in visitIntrinsicCall() 7946 SDValue VectorTripCount = DAG.getSplat(VecTy, sdl, TripCount); in visitIntrinsicCall() 8058 SDValue SplatVL = DAG.getSplat(NewVT, DL, VL); in visitIntrinsicCall()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 6513 APInt B2Mask1HiTo0 = APInt::getSplat(Size, APInt(8, 0x55)); in lowerBitCount() 6522 APInt B4Mask2HiTo0 = APInt::getSplat(Size, APInt(8, 0x33)); in lowerBitCount() 6536 APInt B8Mask4HiTo0 = APInt::getSplat(Size, APInt(8, 0x0F)); in lowerBitCount() 6543 auto MulMask = B.buildConstant(Ty, APInt::getSplat(Size, APInt(8, 0x01))); in lowerBitCount() 8206 SwapN(4, Ty, MIRBuilder, BSWAP, APInt::getSplat(Size, APInt(8, 0xF0))); in lowerBitreverse() 8212 SwapN(2, Ty, MIRBuilder, Swap4, APInt::getSplat(Size, APInt(8, 0xCC))); in lowerBitreverse() 8218 SwapN(1, Dst, MIRBuilder, Swap2, APInt::getSplat(Size, APInt(8, 0xAA))); in lowerBitreverse() 8736 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() 8750 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
| /src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 2278 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue() 2286 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue() 2296 auto *Splat = ConstantVector::getSplat(VecTy->getElementCount(), in getConstSplat()
|
| /src/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 293 static APInt getSplat(unsigned NewLen, const APInt &V);
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 275 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic() 279 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1427 auto getSplat = [CurDAG, dl, getI32Imm](uint32_t Hi16, uint32_t Lo16) { in selectI64Imm() local 1439 Result = getSplat(Hi16OfLo32, Lo16OfLo32); in selectI64Imm() 1446 Result = getSplat(Hi16OfHi32, Lo16OfHi32); in selectI64Imm() 1453 Result = getSplat(Hi16OfHi32, Lo16OfHi32); in selectI64Imm()
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 890 SDValue getSplat(EVT VT, const SDLoc &DL, SDValue Op) {
|
| /src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 620 APInt APInt::getSplat(unsigned NewLen, const APInt &V) { in getSplat() function in APInt
|