Home
last modified time | relevance | path

Searched refs:SplatUndef (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp236 APInt SplatValue, SplatUndef; in selectVecAddAsVecSubIfProfitable() local
240 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
H A DMipsSEISelDAGToDAG.cpp521 APInt SplatValue, SplatUndef; in selectVSplat() local
525 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1090 APInt SplatValue, SplatUndef; in trySelect() local
1100 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
H A DMipsSEISelLowering.cpp533 APInt SplatValue, SplatUndef; in isVSplat() local
537 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
558 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
564 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
842 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
852 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2456 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2463 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h774 APInt SplatUndef; // Bits correspoding to undef operands of the BVN. member
H A DSystemZISelLowering.cpp780 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
818 SplatUndef = 0; in SystemZVectorConstantInfo()
827 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
831 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
5611 APInt SplatBits, SplatUndef; in lowerShift() local
5616 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6510 APInt SplatBits, SplatUndef; in getVShiftImm() local
6893 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
6971 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isVMOVModifiedImm()
6983 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isVMOVModifiedImm()
7005 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isVMOVModifiedImm()
7803 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
7807 if (SplatUndef.isAllOnes()) in LowerBUILD_VECTOR()
14183 APInt SplatBits, SplatUndef; in PerformANDCombine() local
14479 APInt SplatBits, SplatUndef; in PerformORCombine() local
14520 APInt SplatUndef; in PerformORCombine() local
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp157 APInt SplatUndef; in isConstantSplatVector() local
161 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
11394 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument
11408 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
11424 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat()
11435 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
11442 APInt HighUndef = SplatUndef.extractBits(HalfSize, HalfSize); in isConstantSplat()
11443 APInt LowUndef = SplatUndef.extractBits(HalfSize, 0); in isConstantSplat()
11451 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
H A DDAGCombiner.cpp6273 APInt SplatValue, SplatUndef; in visitAND() local
6276 bool IsSplat = Vector->isConstantSplat(SplatValue, SplatUndef, in visitAND()
6281 SplatValue |= SplatUndef; in visitAND()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2524 APInt SplatValue, SplatUndef; in performVectorTruncZeroCombine() local
2528 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1982 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10703 APInt SplatBits, SplatUndef; in resolveBuildVector() local
10706 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
10713 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
11874 APInt SplatBits, SplatUndef; in getVShiftImm() local
11877 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
16096 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
16099 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9313 uint64_t SplatUndef = APSplatUndef.getZExtValue(); in LowerBUILD_VECTOR() local
9380 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp9053 auto *SplatUndef = UndefValue::get(Ty); in InsertExplicitUndefOperand() local
9054 Ops.insert(Ops.begin(), SplatUndef); in InsertExplicitUndefOperand()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp6681 APInt SplatValue, SplatUndef; in getAVX512Node() local
6684 if (BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in getAVX512Node()