Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp236 APInt SplatValue, SplatUndef; in selectVecAddAsVecSubIfProfitable() local
240 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
DMipsSEISelDAGToDAG.cpp521 APInt SplatValue, SplatUndef; in selectVSplat() local
525 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1057 APInt SplatValue, SplatUndef; in trySelect() local
1067 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
DMipsSEISelLowering.cpp540 APInt SplatValue, SplatUndef; in isVSplat() local
544 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
565 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
571 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
849 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
859 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2464 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2471 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp236 APInt SplatValue, SplatUndef; in selectVecAddAsVecSubIfProfitable() local
240 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
DMipsSEISelDAGToDAG.cpp521 APInt SplatValue, SplatUndef; in selectVSplat() local
525 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
984 APInt SplatValue, SplatUndef; in trySelect() local
994 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
DMipsSEISelLowering.cpp540 APInt SplatValue, SplatUndef; in isVSplat() local
544 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
565 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
571 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
849 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
859 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2465 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2472 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp507 APInt SplatValue, SplatUndef; in selectVSplat() local
511 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
902 APInt SplatValue, SplatUndef; in trySelect() local
912 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
DMipsSEISelLowering.cpp606 APInt SplatValue, SplatUndef; in isVSplat() local
610 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
631 APInt SplatValue, SplatUndef; in isVectorAllOnes() local
637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
852 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local
862 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
2351 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local
2358 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h710 APInt SplatUndef; // Bits correspoding to undef operands of the BVN. member
DSystemZISelLowering.cpp772 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
807 SplatUndef = 0; in SystemZVectorConstantInfo()
816 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
820 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
5300 APInt SplatBits, SplatUndef; in lowerShift() local
5305 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h688 APInt SplatUndef; // Bits correspoding to undef operands of the BVN. member
DSystemZISelLowering.cpp759 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in isVectorConstantLegal()
793 SplatUndef = 0; in SystemZVectorConstantInfo()
802 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
806 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
5044 APInt SplatBits, SplatUndef; in lowerShift() local
5049 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5037 static SDValue isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isNEONModifiedImm() argument
5114 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isNEONModifiedImm()
5122 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isNEONModifiedImm()
5145 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isNEONModifiedImm()
5653 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
5656 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
5661 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
5672 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
9234 APInt SplatBits, SplatUndef; in PerformANDCombine() local
9238 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in PerformANDCombine()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp101 APInt SplatUndef; in isConstantSplatVector() local
105 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs) && in isConstantSplatVector()
7120 APInt &SplatUndef, in isConstantSplat() argument
7132 SplatUndef = APInt(sz, 0); in isConstantSplat()
7148 SplatUndef |= APInt::getBitsSet(sz, BitPos, BitPos + EltBitSize); in isConstantSplat()
7161 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
7167 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat()
7168 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat()
7176 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp6042 APInt SplatBits, SplatUndef; in getVShiftImm() local
6046 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6425 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
6502 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isVMOVModifiedImm()
6514 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isVMOVModifiedImm()
6537 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isVMOVModifiedImm()
7158 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
7161 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7162 if (SplatUndef.isAllOnesValue()) in LowerBUILD_VECTOR()
7170 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.cpp6235 APInt SplatBits, SplatUndef; in getVShiftImm() local
6239 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
6618 static SDValue isVMOVModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, in isVMOVModifiedImm() argument
6696 ((SplatBits | SplatUndef) & 0xff) == 0xff) { in isVMOVModifiedImm()
6708 ((SplatBits | SplatUndef) & 0xffff) == 0xffff) { in isVMOVModifiedImm()
6731 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isVMOVModifiedImm()
7457 APInt SplatBits, SplatUndef; in LowerBUILD_VECTOR() local
7460 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
7461 if (SplatUndef.isAllOnesValue()) in LowerBUILD_VECTOR()
7469 isVMOVModifiedImm(SplatBits.getZExtValue(), SplatUndef.getZExtValue(), in LowerBUILD_VECTOR()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp144 APInt SplatUndef; in isConstantSplatVector() local
148 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
9506 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument
9520 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
9536 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat()
9547 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
9554 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat()
9555 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat()
9563 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp155 APInt SplatUndef; in isConstantSplatVector() local
159 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
9765 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument
9779 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
9795 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat()
9806 HasAnyUndefs = (SplatUndef != 0); in isConstantSplat()
9813 APInt HighUndef = SplatUndef.lshr(HalfSize).trunc(HalfSize); in isConstantSplat()
9814 APInt LowUndef = SplatUndef.trunc(HalfSize); in isConstantSplat()
9822 SplatUndef = HighUndef & LowUndef; in isConstantSplat()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4257 APInt SplatBits, SplatUndef; in lowerBUILD_VECTOR() local
4260 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
4268 uint64_t SplatUndefZ = SplatUndef.getZExtValue(); in lowerBUILD_VECTOR()
4436 APInt SplatBits, SplatUndef; in lowerShift() local
4441 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5733 APInt SplatBits, SplatUndef; in resolveBuildVector() local
5736 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
5743 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
6589 APInt SplatBits, SplatUndef; in getVShiftImm() local
6592 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
8451 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
8454 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1546 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1930 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1918 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7440 APInt SplatBits, SplatUndef; in resolveBuildVector() local
7443 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
7450 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
8293 APInt SplatBits, SplatUndef; in getVShiftImm() local
8296 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
10756 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
10759 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8900 APInt SplatBits, SplatUndef; in resolveBuildVector() local
8903 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
8910 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
9909 APInt SplatBits, SplatUndef; in getVShiftImm() local
9912 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
12912 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local
12915 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()

12