| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceOperands.cpp | 116 return ConstantVector::getSplat(VT->getElementCount(), C); in reduceOperandsOneDeltaPass() 162 return ConstantVector::getSplat(VT->getElementCount(), in reduceOperandsNaNDeltaPass()
|
| /openbsd-src/gnu/llvm/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() 857 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 865 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse() 892 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 916 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 945 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 957 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 970 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 981 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN() [all …]
|
| H A D | ConstantFold.cpp | 63 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector() 412 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 740 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction() 853 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction() 1228 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction() 1685 return ConstantVector::getSplat( in ConstantFoldCompareInstruction() 2067 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr() 2221 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr() 2225 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr() 2231 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | Local.cpp | 58 OpC = ConstantVector::getSplat( in emitGEPOffset()
|
| H A D | Loads.cpp | 546 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 297 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount() 298 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount() 299 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount() 300 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.cpp | 299 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector() 368 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 846 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 870 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 920 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 938 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 1426 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic() 1435 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic() 1915 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic() 1916 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Constants.h | 512 static Constant *getSplat(ElementCount EC, Constant *Elt); 801 static Constant *getSplat(unsigned NumElts, Constant *Elt);
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 581 Val = ConstantInt::get(Ctx, APInt::getSplat(LoadSize * 8, Val->getValue())); in getConstantMemInstValueForLoad()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 8256 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandCTPOP() 8258 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandCTPOP() 8260 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandCTPOP() 8298 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandCTPOP() 8321 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandVPCTPOP() 8323 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandVPCTPOP() 8325 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandVPCTPOP() 8355 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandVPCTPOP() 8757 APInt Mask4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandBITREVERSE() 8758 APInt Mask2 = APInt::getSplat(Sz, APInt(8, 0x33)); in expandBITREVERSE() [all …]
|
| H A D | LegalizeVectorOps.cpp | 1004 Mask = DAG.getSplat(MaskTy, DL, Mask); in ExpandSELECT() 1347 SDValue SplatEVL = DAG.getSplat(EVLVecVT, DL, EVL); in ExpandVP_MERGE()
|
| H A D | SelectionDAGBuilder.cpp | 1711 return NodeMap[V] = DAG.getSplat(VT, getCurSDLoc(), Op); in getValueImpl() 3918 N = DAG.getSplat(VT, dl, N); in visitGetElementPtr() 3990 IdxN = DAG.getSplat(VT, dl, IdxN); in visitGetElementPtr() 7278 SDValue VectorIndex = DAG.getSplat(VecTy, sdl, Index); in visitIntrinsicCall() 7279 SDValue VectorTripCount = DAG.getSplat(VecTy, sdl, TripCount); in visitIntrinsicCall()
|
| H A D | SelectionDAG.cpp | 1631 Result = getSplat(VT, DL, Result); in getConstant() 1684 Result = getSplat(VT, DL, Result); in getConstantFP() 2754 APInt SubDemandedElts = APInt::getSplat(NumSrcElts, SubDemandedElt); in isSplatValue() 6821 APInt Val = APInt::getSplat(NumBits, C->getAPIntValue()); in getMemsetValue() 6840 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 5753 APInt B2Mask1HiTo0 = APInt::getSplat(Size, APInt(8, 0x55)); in lowerBitCount() 5762 APInt B4Mask2HiTo0 = APInt::getSplat(Size, APInt(8, 0x33)); in lowerBitCount() 5776 APInt B8Mask4HiTo0 = APInt::getSplat(Size, APInt(8, 0x0F)); in lowerBitCount() 5783 auto MulMask = B.buildConstant(Ty, APInt::getSplat(Size, APInt(8, 0x01))); in lowerBitCount() 7248 SwapN(4, Ty, MIRBuilder, BSWAP, APInt::getSplat(Size, APInt(8, 0xF0))); in lowerBitreverse() 7254 SwapN(2, Ty, MIRBuilder, Swap4, APInt::getSplat(Size, APInt(8, 0xCC))); in lowerBitreverse() 7259 SwapN(1, Dst, MIRBuilder, Swap2, APInt::getSplat(Size, APInt(8, 0xAA))); in lowerBitreverse() 7686 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() 7700 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1848 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue() 1856 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue() 1866 auto *Splat = ConstantVector::getSplat(VecTy->getElementCount(), in getConstSplat()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 296 static APInt getSplat(unsigned NewLen, const APInt &V);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 269 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic() 273 UndefElts &= APInt::getSplat(NumElts, !IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APInt.cpp | 612 APInt APInt::getSplat(unsigned NewLen, const APInt &V) { in getSplat() function in APInt
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 874 SDValue getSplat(EVT VT, const SDLoc &DL, SDValue Op) {
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 1620 return ConstantDataVector::getSplat( in constToIntPtr()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7438 return ConstantVector::getSplat(EC, Val); in getConstantVector()
|