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.cpp114 unsigned SplatBitSize; in INITIALIZE_PASS() local
123 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in INITIALIZE_PASS()
127 switch (SplatBitSize) { in INITIALIZE_PASS()
379 unsigned SplatBitSize; in selectVSplat() local
382 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
H A DLoongArchISelLowering.cpp2459 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
2471 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
2473 SplatBitSize <= 64) { in lowerBUILD_VECTOR()
2475 if (SplatBitSize != 8 && SplatBitSize != 16 && SplatBitSize != 32 && in lowerBUILD_VECTOR()
2476 SplatBitSize != 64) in lowerBUILD_VECTOR()
2481 switch (SplatBitSize) { in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp518 unsigned SplatBitSize; in selectVSplat() local
521 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1045 unsigned SplatBitSize; in trySelect() local
1054 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
1059 switch (SplatBitSize) { in trySelect()
1092 ((ABI.IsO32() && SplatBitSize < 64) || in trySelect()
1099 bool Is32BitSplat = ABI.IsO32() || SplatBitSize < 64; in trySelect()
1106 SplatBitSize == 16 in trySelect()
1108 : (SplatBitSize == 32 ? Mips::FILL_W in trySelect()
1109 : (SplatBitSize == 64 ? Mips::FILL_D : 0)); in trySelect()
[all …]
H A DMipsISelDAGToDAG.cpp199 unsigned SplatBitSize; in selectVecAddAsVecSubIfProfitable() local
202 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
H A DMipsSEISelLowering.cpp579 unsigned SplatBitSize; in isVSplat() local
582 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
604 unsigned SplatBitSize; in isVectorAllOnes() local
609 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
888 unsigned SplatBitSize; in performDSPShiftCombine() local
897 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
899 (SplatBitSize != EltSize) || in performDSPShiftCombine()
2504 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
2510 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
2512 !Subtarget.isLittle()) && SplatBitSize <= 64) { in lowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6682 unsigned SplatBitSize; in getVShiftImm() local
6685 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6687 SplatBitSize > ElementBits) in getVShiftImm()
7057 unsigned SplatBitSize, SelectionDAG &DAG, in isVMOVModifiedImm() argument
7069 SplatBitSize = 32; in isVMOVModifiedImm()
7071 switch (SplatBitSize) { in isVMOVModifiedImm()
7981 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
7983 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7989 if (ST->hasMVEIntegerOps() && VT.getScalarSizeInBits() == SplatBitSize && in LowerBUILD_VECTOR()
7990 (SplatBitSize == 8 || SplatBitSize == 16 || SplatBitSize == 32) && in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h865 unsigned SplatBitSize = 0; member
H A DSystemZISelLowering.cpp895 if (SplatBitSize > 64) in isVectorConstantLegal()
900 int64_t SignedValue = SignExtend64(Value, SplatBitSize); in isVectorConstantLegal()
904 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
905 SystemZ::VectorBits / SplatBitSize); in isVectorConstantLegal()
910 if (TII->isRxSBGMask(Value, SplatBitSize, Start, End)) { in isVectorConstantLegal()
914 OpVals.push_back(Start - (64 - SplatBitSize)); in isVectorConstantLegal()
915 OpVals.push_back(End - (64 - SplatBitSize)); in isVectorConstantLegal()
917 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
918 SystemZ::VectorBits / SplatBitSize); in isVectorConstantLegal()
968 SplatBitSize = Width; in SystemZVectorConstantInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9664 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
9667 BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
9674 if (BVNIsConstantSplat && (SplatBitSize == 64) && in LowerBUILD_VECTOR()
9714 if (BVNIsConstantSplat && SplatBitSize <= 64) { in LowerBUILD_VECTOR()
9716 if (SplatBitSize <= 32) { in LowerBUILD_VECTOR()
9717 SextVal = SignExtend32(SplatBits, SplatBitSize); in LowerBUILD_VECTOR()
9718 } else if (SplatBitSize == 64 && Subtarget.hasP8Altivec()) { in LowerBUILD_VECTOR()
9728 if (!BVNIsConstantSplat || (SplatBitSize > 32 && !IsSplat64)) { in LowerBUILD_VECTOR()
9815 unsigned SplatSize = SplatBitSize / 8; in LowerBUILD_VECTOR()
9936 unsigned TypeShiftAmt = i & (SplatBitSize-1); in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp3003 unsigned SplatBitSize; in performVectorTruncZeroCombine() local
3008 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2201 unsigned &SplatBitSize, bool &HasAnyUndefs,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp166 unsigned SplatBitSize; in isConstantSplatVector() local
174 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
176 EltSize == SplatBitSize; in isConstantSplatVector()
13301 unsigned &SplatBitSize, in isConstantSplat() argument
13372 SplatBitSize = VecWidth; in isConstantSplat()
H A DDAGCombiner.cpp7524 unsigned SplatBitSize; in visitAND() local
7533 Vector->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in visitAND()
7538 if (IsSplat && (SplatBitSize % EltBitWidth) == 0) { in visitAND()
7548 for (unsigned i = 0, n = (SplatBitSize / EltBitWidth); i < n; ++i) in visitAND()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14244 unsigned SplatBitSize; in resolveBuildVector() local
14246 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
14247 unsigned NumSplats = VT.getSizeInBits() / SplatBitSize; in resolveBuildVector()
14250 CnstBits <<= SplatBitSize; in resolveBuildVector()
14251 UndefBits <<= SplatBitSize; in resolveBuildVector()
15692 unsigned SplatBitSize; in getVShiftImm() local
15694 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
15696 SplatBitSize > ElementBits) in getVShiftImm()
21568 unsigned SplatBitSize; in tryCombineShiftImm() local
21570 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4513 unsigned SplatBitSize; in getAVX512Node() local
4515 if (BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in getAVX512Node()
7571 unsigned SplatBitSize, LLVMContext &C) { in getConstantVector() argument
7586 if (ScalarSize == SplatBitSize) in getConstantVector()
7589 unsigned NumElm = SplatBitSize / ScalarSize; in getConstantVector()
7708 unsigned SplatBitSize; in lowerBuildVectorAsBroadcast() local
7711 if (BVOp->isConstantSplat(SplatValue, Undef, SplatBitSize, HasUndef) && in lowerBuildVectorAsBroadcast()
7712 SplatBitSize > VT.getScalarSizeInBits() && in lowerBuildVectorAsBroadcast()
7713 SplatBitSize < VT.getSizeInBits()) { in lowerBuildVectorAsBroadcast()
7721 if (SplatBitSize == 32 || SplatBitSize == 64 || in lowerBuildVectorAsBroadcast()
[all …]