Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILIntrinsicExpansion.cpp59 ? 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 DPatternInit.cpp42 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 DConstants.cpp412 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 DConstantFold.cpp173 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 DOpDescriptor.cpp47 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
/src/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp307 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 DSPIRVRegularizer.cpp240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec()
H A DSPIRVGlobalRegistry.cpp451 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 DAMDGPULibCalls.cpp928 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 DAMDGPULowerBufferFatPointers.cpp635 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 DVNCoercion.cpp419 Val = ConstantInt::get(Ctx, APInt::getSplat(LoadSize * 8, Val->getValue())); in getConstantMemInstValueForLoad()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h527 static Constant *getSplat(ElementCount EC, Constant *Elt);
816 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp579 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp101 return APInt::getSplat(NumBits, *Bits); in extractConstantBits()
H A DX86InstCombineIntrinsic.cpp2683 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 DTargetLowering.cpp8849 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 DLegalizeVectorOps.cpp1183 Mask = DAG.getSplat(MaskTy, DL, Mask); in ExpandSELECT()
1526 SDValue SplatEVL = DAG.getSplat(EVLVecVT, DL, EVL); in ExpandVP_MERGE()
H A DSelectionDAGBuilder.cpp1927 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 DLegalizerHelper.cpp6513 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 DHexagonVectorCombine.cpp2278 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 DAPInt.h293 static APInt getSplat(unsigned NewLen, const APInt &V);
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp275 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 DPPCISelDAGToDAG.cpp1427 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 DSelectionDAG.h890 SDValue getSplat(EVT VT, const SDLoc &DL, SDValue Op) {
/src/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp620 APInt APInt::getSplat(unsigned NewLen, const APInt &V) { in getSplat() function in APInt

12