/freebsd/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()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 398 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 414 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 893 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 909 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 938 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 950 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 963 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 974 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN() 985 return ConstantVector::getSplat(VTy->getElementCount(), C); in getQNaN() 996 return ConstantVector::getSplat(VTy->getElementCount(), C); in getSNaN() [all …]
|
H A D | ConstantFold.cpp | 233 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 543 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction() 656 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction() 990 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction() 1285 return ConstantVector::getSplat( in ConstantFoldCompareInstruction() 1570 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr() 1667 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr() 1671 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr() 1677 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 42 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 295 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount() 296 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount() 297 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount() 298 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
|
/freebsd/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 | 324 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector() 394 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibCalls.cpp | 915 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 939 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 988 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1006 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 511 static Constant *getSplat(ElementCount EC, Constant *Elt); 800 static Constant *getSplat(unsigned NumElts, Constant *Elt);
|
/freebsd/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FixupVectorConstants.cpp | 80 return APInt::getSplat(NumBits, *Bits); in extractConstantBits()
|
H A D | X86InstCombineIntrinsic.cpp | 2494 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic() 2503 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic() 2993 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic() 2994 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Loads.cpp | 570 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 8645 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandCTPOP() 8647 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandCTPOP() 8649 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandCTPOP() 8687 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandCTPOP() 8710 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandVPCTPOP() 9178 APInt Mask4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandBITREVERSE() 9179 APInt Mask2 = APInt::getSplat(Sz, APInt(8, 0x33)); in expandBITREVERSE() 9180 APInt Mask1 = APInt::getSplat(Sz, APInt(8, 0x55)); in expandBITREVERSE() 9243 APInt Mask4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandVPBITREVERSE() 9244 APInt Mask2 = APInt::getSplat(Sz, APInt(8, 0x33)); in expandVPBITREVERSE() [all …]
|
H A D | LegalizeVectorOps.cpp | 1189 Mask = DAG.getSplat(MaskTy, DL, Mask); in ExpandSELECT() 1532 SDValue SplatEVL = DAG.getSplat(EVLVecVT, DL, EVL); in ExpandVP_MERGE()
|
H A D | SelectionDAGBuilder.cpp | 1888 return NodeMap[V] = DAG.getSplat(VT, getCurSDLoc(), Op); in getValueImpl() 4112 N = DAG.getSplat(VT, dl, N); in visitGetElementPtr() 4184 IdxN = DAG.getSplat(VT, dl, IdxN); in visitGetElementPtr() 7571 SDValue VectorIndex = DAG.getSplat(VecTy, sdl, Index); in visitIntrinsicCall() 7572 SDValue VectorTripCount = DAG.getSplat(VecTy, sdl, TripCount); in visitIntrinsicCall() 7658 SDValue SplatVL = DAG.getSplat(NewVT, DL, VL); in visitIntrinsicCall()
|
H A D | SelectionDAG.cpp | 1722 Result = getSplat(VT, DL, Result); in getConstant() 1775 Result = getSplat(VT, DL, Result); in getConstantFP() 2870 APInt SubDemandedElts = APInt::getSplat(NumSrcElts, SubDemandedElt); in isSplatValue() 7283 APInt Val = APInt::getSplat(NumBits, C->getAPIntValue()); in getMemsetValue() 7302 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 6161 APInt B2Mask1HiTo0 = APInt::getSplat(Size, APInt(8, 0x55)); in lowerBitCount() 6170 APInt B4Mask2HiTo0 = APInt::getSplat(Size, APInt(8, 0x33)); in lowerBitCount() 6184 APInt B8Mask4HiTo0 = APInt::getSplat(Size, APInt(8, 0x0F)); in lowerBitCount() 6191 auto MulMask = B.buildConstant(Ty, APInt::getSplat(Size, APInt(8, 0x01))); in lowerBitCount() 7715 SwapN(4, Ty, MIRBuilder, BSWAP, APInt::getSplat(Size, APInt(8, 0xF0))); in lowerBitreverse() 7721 SwapN(2, Ty, MIRBuilder, Swap4, APInt::getSplat(Size, APInt(8, 0xCC))); in lowerBitreverse() 7726 SwapN(1, Dst, MIRBuilder, Swap2, APInt::getSplat(Size, APInt(8, 0xAA))); in lowerBitreverse() 8213 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() 8227 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
/freebsd/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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 291 static APInt getSplat(unsigned NewLen, const APInt &V);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 271 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic() 275 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 1440 auto getSplat = [CurDAG, dl, getI32Imm](uint32_t Hi16, uint32_t Lo16) { in selectI64Imm() local 1452 Result = getSplat(Hi16OfLo32, Lo16OfLo32); in selectI64Imm() 1459 Result = getSplat(Hi16OfHi32, Lo16OfHi32); in selectI64Imm() 1466 Result = getSplat(Hi16OfHi32, Lo16OfHi32); in selectI64Imm()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanRecipes.cpp | 1031 ? ConstantVector::getSplat(State.VF, cast<Constant>(Mul)) in execute()
|
/freebsd/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
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 876 SDValue getSplat(EVT VT, const SDLoc &DL, SDValue Op) {
|