Home
last modified time | relevance | path

Searched refs:SplatBitSize (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp97 unsigned SplatBitSize; in INITIALIZE_PASS() local
106 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in INITIALIZE_PASS()
110 switch (SplatBitSize) { in INITIALIZE_PASS()
340 unsigned SplatBitSize; in selectVSplat() local
343 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
H A DLoongArchISelLowering.cpp1378 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
1387 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
1389 SplatBitSize <= 64) { in lowerBUILD_VECTOR()
1391 if (SplatBitSize != 8 && SplatBitSize != 16 && SplatBitSize != 32 && in lowerBUILD_VECTOR()
1392 SplatBitSize != 64) in lowerBUILD_VECTOR()
1397 switch (SplatBitSize) { in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp522 unsigned SplatBitSize; in selectVSplat() local
525 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1099 unsigned SplatBitSize; in trySelect() local
1108 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
1113 switch (SplatBitSize) { in trySelect()
1146 ((ABI.IsO32() && SplatBitSize < 64) || in trySelect()
1153 bool Is32BitSplat = ABI.IsO32() || SplatBitSize < 64; in trySelect()
1160 SplatBitSize == 16 in trySelect()
1162 : (SplatBitSize == 32 ? Mips::FILL_W in trySelect()
1163 : (SplatBitSize == 64 ? Mips::FILL_D : 0)); in trySelect()
[all …]
H A DMipsISelDAGToDAG.cpp244 unsigned SplatBitSize; in selectVecAddAsVecSubIfProfitable() local
247 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
H A DMipsSEISelLowering.cpp540 unsigned SplatBitSize; in isVSplat() local
543 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
565 unsigned SplatBitSize; in isVectorAllOnes() local
570 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
849 unsigned SplatBitSize; in performDSPShiftCombine() local
858 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
860 (SplatBitSize != EltSize) || in performDSPShiftCombine()
2460 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
2466 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
2468 !Subtarget.isLittle()) && SplatBitSize <= 64) { in lowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6616 unsigned SplatBitSize; in getVShiftImm() local
6619 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6621 SplatBitSize > ElementBits) in getVShiftImm()
6994 unsigned SplatBitSize, SelectionDAG &DAG, in isVMOVModifiedImm() argument
7006 SplatBitSize = 32; in isVMOVModifiedImm()
7008 switch (SplatBitSize) { in isVMOVModifiedImm()
7929 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
7931 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7937 if (ST->hasMVEIntegerOps() && VT.getScalarSizeInBits() == SplatBitSize && in LowerBUILD_VECTOR()
7938 (SplatBitSize == 8 || SplatBitSize == 16 || SplatBitSize == 32) && in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp829 if (SplatBitSize > 64) in isVectorConstantLegal()
834 int64_t SignedValue = SignExtend64(Value, SplatBitSize); in isVectorConstantLegal()
838 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
839 SystemZ::VectorBits / SplatBitSize); in isVectorConstantLegal()
844 if (TII->isRxSBGMask(Value, SplatBitSize, Start, End)) { in isVectorConstantLegal()
848 OpVals.push_back(Start - (64 - SplatBitSize)); in isVectorConstantLegal()
849 OpVals.push_back(End - (64 - SplatBitSize)); in isVectorConstantLegal()
851 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
852 SystemZ::VectorBits / SplatBitSize); in isVectorConstantLegal()
902 SplatBitSize = Width; in SystemZVectorConstantInfo()
[all …]
H A DSystemZISelLowering.h814 unsigned SplatBitSize = 0; member
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9460 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
9463 BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
9470 if (BVNIsConstantSplat && (SplatBitSize == 64) && in LowerBUILD_VECTOR()
9509 if (!BVNIsConstantSplat || SplatBitSize > 32) { in LowerBUILD_VECTOR()
9597 unsigned SplatSize = SplatBitSize / 8; in LowerBUILD_VECTOR()
9630 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
9631 (32-SplatBitSize)); in LowerBUILD_VECTOR()
9689 unsigned TypeShiftAmt = i & (SplatBitSize-1); in LowerBUILD_VECTOR()
9715 ((unsigned)i >> (SplatBitSize-TypeShiftAmt)))) { in LowerBUILD_VECTOR()
10073 unsigned SplatBitSize; in lowerToXXSPLTI32DX() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2593 unsigned SplatBitSize; in performVectorTruncZeroCombine() local
2598 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13394 unsigned SplatBitSize; in resolveBuildVector() local
13396 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
13397 unsigned NumSplats = VT.getSizeInBits() / SplatBitSize; in resolveBuildVector()
13400 CnstBits <<= SplatBitSize; in resolveBuildVector()
13401 UndefBits <<= SplatBitSize; in resolveBuildVector()
14787 unsigned SplatBitSize; in getVShiftImm() local
14789 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
14791 SplatBitSize > ElementBits) in getVShiftImm()
14967 unsigned SplatBitSize = 0; in EmitVectorComparison() local
14972 SplatBitSize, HasAnyUndefs); in EmitVectorComparison()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2088 unsigned &SplatBitSize, bool &HasAnyUndefs,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp164 unsigned SplatBitSize; in isConstantSplatVector() local
172 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
174 EltSize == SplatBitSize; in isConstantSplatVector()
12726 unsigned &SplatBitSize, in isConstantSplat() argument
12797 SplatBitSize = VecWidth; in isConstantSplat()
H A DDAGCombiner.cpp7101 unsigned SplatBitSize; in visitAND() local
7110 Vector->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in visitAND()
7115 if (IsSplat && (SplatBitSize % EltBitWidth) == 0) { in visitAND()
7125 for (unsigned i = 0, n = (SplatBitSize / EltBitWidth); i < n; ++i) in visitAND()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4281 unsigned SplatBitSize; in getAVX512Node() local
4283 if (BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in getAVX512Node()
7221 unsigned SplatBitSize, LLVMContext &C) { in getConstantVector() argument
7236 if (ScalarSize == SplatBitSize) in getConstantVector()
7239 unsigned NumElm = SplatBitSize / ScalarSize; in getConstantVector()
7344 unsigned SplatBitSize; in lowerBuildVectorAsBroadcast() local
7347 if (BVOp->isConstantSplat(SplatValue, Undef, SplatBitSize, HasUndef) && in lowerBuildVectorAsBroadcast()
7348 SplatBitSize > VT.getScalarSizeInBits() && in lowerBuildVectorAsBroadcast()
7349 SplatBitSize < VT.getSizeInBits()) { in lowerBuildVectorAsBroadcast()
7357 if (SplatBitSize == 32 || SplatBitSize == 64 || in lowerBuildVectorAsBroadcast()
[all …]