Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp96 APInt SplatValue, SplatUndef; in INITIALIZE_PASS() local
106 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in INITIALIZE_PASS()
339 APInt SplatValue, SplatUndef; in selectVSplat() local
343 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
H A DLoongArchISelLowering.cpp1377 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
1387 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp243 APInt SplatValue, SplatUndef; in selectVecAddAsVecSubIfProfitable() local
247 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()
1098 APInt SplatValue, SplatUndef; in trySelect() local
1108 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
H A DMipsSEISelLowering.cpp539 APInt SplatValue, SplatUndef; in isVSplat() local
543 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
564 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
570 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
848 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
858 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2459 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2466 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h813 APInt SplatUndef; // Bits correspoding to undef operands of the BVN. member
H A DSystemZISelLowering.cpp863 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
901 SplatUndef = 0; in SystemZVectorConstantInfo()
910 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
914 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
6016 APInt SplatBits, SplatUndef; in lowerShift() local
6021 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6615 APInt SplatBits, SplatUndef; in getVShiftImm() local
6619 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6993 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
7071 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isVMOVModifiedImm()
7083 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isVMOVModifiedImm()
7105 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isVMOVModifiedImm()
7928 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
7931 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7932 if (SplatUndef.isAllOnes()) in LowerBUILD_VECTOR()
7954 isVMOVModifiedImm(SplatBits.getZExtValue(), SplatUndef.getZExtValue(), in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp163 APInt SplatUndef; in isConstantSplatVector() local
172 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
12725 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument
12739 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
12755 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat()
12766 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
12777 APInt HighUndef = SplatUndef.extractBits(HalfSize, HalfSize); in isConstantSplat()
12778 APInt LowUndef = SplatUndef.extractBits(HalfSize, 0); in isConstantSplat()
12786 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
H A DDAGCombiner.cpp7100 APInt SplatValue, SplatUndef; in visitAND() local
7110 Vector->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in visitAND()
7118 SplatValue |= SplatUndef; in visitAND()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2592 APInt SplatValue, SplatUndef; in performVectorTruncZeroCombine() local
2598 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2087 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13393 APInt SplatBits, SplatUndef; in resolveBuildVector() local
13396 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
13403 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
14786 APInt SplatBits, SplatUndef; in getVShiftImm() local
14789 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
14966 APInt SplatUndef; in EmitVectorComparison() local
14971 bool IsCnst = BVN && BVN->isConstantSplat(SplatValue, SplatUndef, in EmitVectorComparison()
20826 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
20829 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9596 uint64_t SplatUndef = APSplatUndef.getZExtValue(); in LowerBUILD_VECTOR() local
9663 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp10308 auto *SplatUndef = UndefValue::get(Ty); in InsertExplicitUndefOperand() local
10309 Ops.insert(Ops.begin(), SplatUndef); in InsertExplicitUndefOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4280 APInt SplatValue, SplatUndef; in getAVX512Node() local
4283 if (BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in getAVX512Node()