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.cpp113 APInt SplatValue, SplatUndef; in INITIALIZE_PASS() local
123 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in INITIALIZE_PASS()
378 APInt SplatValue, SplatUndef; in selectVSplat() local
382 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
H A DLoongArchISelLowering.cpp2458 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2471 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp198 APInt SplatValue, SplatUndef; in selectVecAddAsVecSubIfProfitable() local
202 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
H A DMipsSEISelDAGToDAG.cpp517 APInt SplatValue, SplatUndef; in selectVSplat() local
521 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1044 APInt SplatValue, SplatUndef; in trySelect() local
1054 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
H A DMipsSEISelLowering.cpp578 APInt SplatValue, SplatUndef; in isVSplat() local
582 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
603 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
609 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
887 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
897 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2503 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2510 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h864 APInt SplatUndef; // Bits correspoding to undef operands of the BVN. member
H A DSystemZISelLowering.cpp929 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
967 SplatUndef = 0; in SystemZVectorConstantInfo()
976 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
980 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
6664 APInt SplatBits, SplatUndef; in lowerShift() local
6669 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp6681 APInt SplatBits, SplatUndef; in getVShiftImm() local
6685 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
7056 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
7134 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isVMOVModifiedImm()
7146 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isVMOVModifiedImm()
7168 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isVMOVModifiedImm()
7980 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
7983 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7984 if (SplatUndef.isAllOnes()) in LowerBUILD_VECTOR()
8006 isVMOVModifiedImm(SplatBits.getZExtValue(), SplatUndef.getZExtValue(), in LowerBUILD_VECTOR()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp165 APInt SplatUndef; in isConstantSplatVector() local
174 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
13300 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument
13314 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
13330 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat()
13341 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
13352 APInt HighUndef = SplatUndef.extractBits(HalfSize, HalfSize); in isConstantSplat()
13353 APInt LowUndef = SplatUndef.extractBits(HalfSize, 0); in isConstantSplat()
13361 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
H A DDAGCombiner.cpp7523 APInt SplatValue, SplatUndef; in visitAND() local
7533 Vector->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in visitAND()
7541 SplatValue |= SplatUndef; in visitAND()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp3002 APInt SplatValue, SplatUndef; in performVectorTruncZeroCombine() local
3008 Splat->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in performVectorTruncZeroCombine()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2200 LLVM_ABI bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14243 APInt SplatBits, SplatUndef; in resolveBuildVector() local
14246 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
14253 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
15691 APInt SplatBits, SplatUndef; in getVShiftImm() local
15694 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
21567 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
21570 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DARM.cpp4409 auto *SplatUndef = UndefValue::get(Ty); in InsertExplicitUndefOperand() local
4410 Ops.insert(Ops.begin(), SplatUndef); in InsertExplicitUndefOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp9814 uint64_t SplatUndef = APSplatUndef.getZExtValue(); in LowerBUILD_VECTOR() local
9910 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) { in LowerBUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4512 APInt SplatValue, SplatUndef; in getAVX512Node() local
4515 if (BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in getAVX512Node()