| /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()
|
| H A D | CGHLSLBuiltins.cpp | 64 FZeroConst = ConstantVector::getSplat( in handleHlslClip() 588 ? ConstantVector::getSplat( in EmitHLSLBuiltinExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILIntrinsicExpansion.cpp | 152 ? ConstantVector::getSplat( in expandAbs() 286 Ty->isVectorTy() ? ConstantVector::getSplat( in expandExpIntrinsic() 376 X, ConstantVector::getSplat( in expandAnyOrAllIntrinsic() 380 X, ConstantVector::getSplat( in expandAnyOrAllIntrinsic() 409 Ty->isVectorTy() ? ConstantVector::getSplat( in expandLogIntrinsic() 542 One = ConstantVector::getSplat( in expandStepIntrinsic() 544 Zero = ConstantVector::getSplat( in expandStepIntrinsic() 715 ConstantVector::getSplat(ElementCount::getFixed(VecLen), ShiftAmt); in expandBufferStoreIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 415 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 431 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 890 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 898 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse() 948 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 967 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 996 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 1008 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 1021 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 1032 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN() [all …]
|
| H A D | ConstantFold.cpp | 173 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 469 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction() 581 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction() 888 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction() 1179 return ConstantVector::getSplat(C1VTy->getElementCount(), Elt); in ConstantFoldCompareInstruction() 1341 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 47 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 306 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount() 307 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount() 308 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount() 309 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 92 return APInt::getSplat(NumBits, CInt->getValue()); in extractConstantBits() 99 return APInt::getSplat(NumBits, CFP->getValue().bitcastToAPInt()); in extractConstantBits() 108 return APInt::getSplat(NumBits, *Bits); in extractConstantBits()
|
| H A D | X86FixupInstTuning.cpp | 254 APInt NewMaskD = APInt::getSplat(NumElts, MaskD); in processInstruction()
|
| H A D | X86InstCombineIntrinsic.cpp | 2691 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic() 2700 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic() 3270 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic() 3271 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 235 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.cpp | 542 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstVal); in getOrCreateConstVector() 561 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstVal); in getOrCreateConstVector() 641 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 925 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 949 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 998 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1016 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
|
| H A D | AMDGPULowerBufferFatPointers.cpp | 1243 return ConstantStruct::get(NewTy, {ConstantVector::getSplat(EC, Rsrc), in materializeBufferFatPtrConst() 1244 ConstantVector::getSplat(EC, Off)}); in materializeBufferFatPtrConst()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Constant.cpp | 186 Constant *ConstantVector::getSplat(ElementCount EC, Constant *Elt) { in getSplat() function in llvm::sandboxir::ConstantVector 189 return Ctx.getOrCreateConstant(llvm::ConstantVector::getSplat(EC, LLVMElt)); in getSplat()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Constant.h | 432 LLVM_ABI static Constant *getSplat(ElementCount EC, Constant *Elt); 741 static Constant *getSplat(unsigned NumElts, Constant *Elt) { in getSplat() function 742 auto *NewLLVMC = llvm::ConstantDataVector::getSplat( in getSplat()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 536 LLVM_ABI static Constant *getSplat(ElementCount EC, Constant *Elt); 825 LLVM_ABI static Constant *getSplat(unsigned NumElts, Constant *Elt);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 468 Val = ConstantInt::get(Ctx, APInt::getSplat(LoadSize * 8, Val->getValue())); in getConstantMemInstValueForLoad()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedAccessPass.cpp | 590 return ConstantVector::getSplat(LeafValueEC, Splat); in getMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 654 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
|
| H A D | ConstantFolding.cpp | 1387 return ConstantVector::getSplat(VecTy->getElementCount(), Folded); in FlushFPConstant() 3898 return ConstantVector::getSplat(SVTy->getElementCount(), Folded); in ConstantFoldScalableVectorCall() 3996 auto *HalfVec = ConstantVector::getSplat(HalfEC, EltC); in ConstantFoldStructCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 9254 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandCTPOP() 9256 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandCTPOP() 9258 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandCTPOP() 9299 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandCTPOP() 9329 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT); in expandVPCTPOP() 9331 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT); in expandVPCTPOP() 9333 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT); in expandVPCTPOP() 9366 DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT); in expandVPCTPOP() 9601 SDValue Splat = DAG.getSplat(ResVecVT, DL, ExtEVL); in expandVPCTTZElements() 10004 APInt Mask4 = APInt::getSplat(Sz, APInt(8, 0x0F)); in expandBITREVERSE() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 2279 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue() 2287 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue() 2297 auto *Splat = ConstantVector::getSplat(VecTy->getElementCount(), in getConstSplat()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7203 APInt B2Mask1HiTo0 = APInt::getSplat(Size, APInt(8, 0x55)); in lowerBitCount() 7212 APInt B4Mask2HiTo0 = APInt::getSplat(Size, APInt(8, 0x33)); in lowerBitCount() 7226 APInt B8Mask4HiTo0 = APInt::getSplat(Size, APInt(8, 0x0F)); in lowerBitCount() 7233 auto MulMask = B.buildConstant(Ty, APInt::getSplat(Size, APInt(8, 0x01))); in lowerBitCount() 9141 APInt::getSplat(Size, APInt(8, 0xF0))); in lowerBitreverse() 9147 APInt::getSplat(Size, APInt(8, 0xCC))); in lowerBitreverse() 9153 SwapN(1, Dst, MIRBuilder, Swap2, APInt::getSplat(Size, APInt(8, 0xAA))); in lowerBitreverse() 9698 APInt SplatVal = APInt::getSplat(NumBits, Scalar); in getMemsetValue() 9712 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 313 LLVM_ABI static APInt getSplat(unsigned NewLen, const APInt &V);
|