Home
last modified time | relevance | path

Searched refs:SplatBitSize (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp574 unsigned SplatBitSize; in selectVSplat() local
577 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
1019 unsigned SplatBitSize; in trySelect() local
1028 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
1033 switch (SplatBitSize) { in trySelect()
1066 ((ABI.IsO32() && SplatBitSize < 64) || in trySelect()
1073 bool Is32BitSplat = ABI.IsO32() || SplatBitSize < 64; in trySelect()
1080 SplatBitSize == 16 in trySelect()
1082 : (SplatBitSize == 32 ? Mips::FILL_W in trySelect()
1083 : (SplatBitSize == 64 ? Mips::FILL_D : 0)); in trySelect()
[all …]
DMipsSEISelLowering.cpp537 unsigned SplatBitSize; in isVSplat() local
540 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
562 unsigned SplatBitSize; in isVectorAllOnes() local
567 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
841 unsigned SplatBitSize; in performDSPShiftCombine() local
850 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
852 (SplatBitSize != EltSize) || in performDSPShiftCombine()
2444 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
2450 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
2452 !Subtarget.isLittle()) && SplatBitSize <= 64) { in lowerBUILD_VECTOR()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp508 unsigned SplatBitSize; in selectVSplat() local
511 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVSplat()
903 unsigned SplatBitSize; in trySelect() local
912 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
917 switch (SplatBitSize) { in trySelect()
DMipsSEISelLowering.cpp607 unsigned SplatBitSize; in isVSplat() local
610 if (!Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in isVSplat()
632 unsigned SplatBitSize; in isVectorAllOnes() local
637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
853 unsigned SplatBitSize; in performDSPShiftCombine() local
862 !BV->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in performDSPShiftCombine()
864 (SplatBitSize != EltSize) || in performDSPShiftCombine()
2352 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
2358 if (Node->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in lowerBUILD_VECTOR()
2360 !Subtarget.isLittle()) && SplatBitSize <= 64) { in lowerBUILD_VECTOR()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp3565 unsigned SplatBitSize, SelectionDAG &DAG, in isNEONModifiedImm() argument
3575 SplatBitSize = 32; in isNEONModifiedImm()
3577 switch (SplatBitSize) { in isNEONModifiedImm()
3933 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
3935 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
3936 if (SplatBitSize <= 64) { in LowerBUILD_VECTOR()
3940 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
3951 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
6681 unsigned SplatBitSize; in PerformANDCombine() local
6684 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in PerformANDCombine()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp1655 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
1658 if (!BCN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
1660 || minSplatBits < SplatBitSize) in LowerBUILD_VECTOR()
1672 assert(SplatBitSize == 32 in LowerBUILD_VECTOR()
1682 assert(SplatBitSize == 64 in LowerBUILD_VECTOR()
2322 unsigned SplatBitSize; in LowerByteImmed() local
2326 if (BCN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerByteImmed()
2328 && minSplatBits <= SplatBitSize) { in LowerByteImmed()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5038 unsigned SplatBitSize, SelectionDAG &DAG, in isNEONModifiedImm() argument
5049 SplatBitSize = 32; in isNEONModifiedImm()
5051 switch (SplatBitSize) { in isNEONModifiedImm()
5654 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
5656 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
5657 if (SplatBitSize <= 64) { in LowerBUILD_VECTOR()
5661 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
5672 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
5681 if ((VT == MVT::v2f32 || VT == MVT::v4f32) && SplatBitSize == 32) { in LowerBUILD_VECTOR()
9235 unsigned SplatBitSize; in PerformANDCombine() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5819 unsigned SplatBitSize, SelectionDAG &DAG, in isNEONModifiedImm() argument
5830 SplatBitSize = 32; in isNEONModifiedImm()
5832 switch (SplatBitSize) { in isNEONModifiedImm()
6462 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
6464 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
6468 if (SplatBitSize <= 64) { in LowerBUILD_VECTOR()
6472 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
6483 SplatUndef.getZExtValue(), SplatBitSize, in LowerBUILD_VECTOR()
6492 if ((VT == MVT::v2f32 || VT == MVT::v4f32) && SplatBitSize == 32) { in LowerBUILD_VECTOR()
10769 unsigned SplatBitSize; in PerformANDCombine() local
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2406 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
2412 (BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
2413 HasAnyUndefs, 0, true) && SplatBitSize <= 16)) { in LowerBUILD_VECTOR()
2415 int32_t SextVal = ((int32_t) (SplatBits << (32 - SplatBitSize)) >> in LowerBUILD_VECTOR()
2416 (32 - SplatBitSize)); in LowerBUILD_VECTOR()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp3961 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
3963 if (! BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
3964 HasAnyUndefs, 0, true) || SplatBitSize > 32) in LowerBUILD_VECTOR()
3969 unsigned SplatSize = SplatBitSize / 8; in LowerBUILD_VECTOR()
3985 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
3986 (32-SplatBitSize)); in LowerBUILD_VECTOR()
4030 unsigned TypeShiftAmt = i & (SplatBitSize-1); in LowerBUILD_VECTOR()
4067 ((unsigned)i >> (SplatBitSize-TypeShiftAmt)))) { in LowerBUILD_VECTOR()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4258 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
4260 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
4262 SplatBitSize <= 64) { in lowerBUILD_VECTOR()
4275 SplatBitSize); in lowerBUILD_VECTOR()
4284 Op = tryBuildVectorReplicate(DAG, TII, DL, VT, Value, SplatBitSize); in lowerBUILD_VECTOR()
4437 unsigned SplatBitSize; in lowerShift() local
4441 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
4443 SplatBitSize == ElemBitSize) { in lowerShift()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4547 unsigned SplatBitSize; in lowerBUILD_VECTOR() local
4549 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerBUILD_VECTOR()
4551 SplatBitSize <= 64) { in lowerBUILD_VECTOR()
4564 SplatBitSize); in lowerBUILD_VECTOR()
4573 Op = tryBuildVectorReplicate(DAG, TII, DL, VT, Value, SplatBitSize); in lowerBUILD_VECTOR()
4726 unsigned SplatBitSize; in lowerShift() local
4730 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in lowerShift()
4732 SplatBitSize == ElemBitSize) { in lowerShift()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5734 unsigned SplatBitSize; in resolveBuildVector() local
5736 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
5737 unsigned NumSplats = VT.getSizeInBits() / SplatBitSize; in resolveBuildVector()
5740 CnstBits <<= SplatBitSize; in resolveBuildVector()
5741 UndefBits <<= SplatBitSize; in resolveBuildVector()
6590 unsigned SplatBitSize; in getVShiftImm() local
6592 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
6594 SplatBitSize > ElementBits) in getVShiftImm()
8452 unsigned SplatBitSize; in tryCombineShiftImm() local
8454 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6518 unsigned SplatBitSize; in resolveBuildVector() local
6520 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
6521 unsigned NumSplats = VT.getSizeInBits() / SplatBitSize; in resolveBuildVector()
6524 CnstBits <<= SplatBitSize; in resolveBuildVector()
6525 UndefBits <<= SplatBitSize; in resolveBuildVector()
7399 unsigned SplatBitSize; in getVShiftImm() local
7401 if (!BVN || !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, in getVShiftImm()
7403 SplatBitSize > ElementBits) in getVShiftImm()
9617 unsigned SplatBitSize; in tryCombineShiftImm() local
9619 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h1375 unsigned &SplatBitSize, bool &HasAnyUndefs,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp102 unsigned SplatBitSize; in isConstantSplatVector() local
105 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs) && in isConstantSplatVector()
106 EltVT.getSizeInBits() >= SplatBitSize; in isConstantSplatVector()
7121 unsigned &SplatBitSize, in isConstantSplat() argument
7181 SplatBitSize = sz; in isConstantSplat()
DDAGCombiner.cpp3145 unsigned SplatBitSize; in visitAND() local
3148 SplatBitSize, HasAnyUndefs); in visitAND()
3164 if (BitWidth > SplatBitSize) in visitAND()
3166 SplatBitSize < BitWidth; in visitAND()
3167 SplatBitSize = SplatBitSize * 2) in visitAND()
3168 SplatValue |= SplatValue.shl(SplatBitSize); in visitAND()
3172 if (SplatBitSize % BitWidth == 0) { in visitAND()
3174 for (unsigned i = 0, n = SplatBitSize/BitWidth; i < n; ++i) in visitAND()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7201 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
7203 if (! BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
7205 SplatBitSize > 32) in LowerBUILD_VECTOR()
7210 unsigned SplatSize = SplatBitSize / 8; in LowerBUILD_VECTOR()
7225 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
7226 (32-SplatBitSize)); in LowerBUILD_VECTOR()
7283 unsigned TypeShiftAmt = i & (SplatBitSize-1); in LowerBUILD_VECTOR()
7320 ((unsigned)i >> (SplatBitSize-TypeShiftAmt)))) { in LowerBUILD_VECTOR()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1547 unsigned &SplatBitSize, bool &HasAnyUndefs,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp139 unsigned SplatBitSize; in isConstantSplatVector() local
142 return BV->isConstantSplat(SplatVal, SplatUndef, SplatBitSize, HasUndefs, in isConstantSplatVector()
144 EltSize == SplatBitSize; in isConstantSplatVector()
8511 unsigned &SplatBitSize, in isConstantSplat() argument
8572 SplatBitSize = VecWidth; in isConstantSplat()
DDAGCombiner.cpp4473 unsigned SplatBitSize; in visitAND() local
4476 SplatBitSize, HasAnyUndefs); in visitAND()
4492 if (BitWidth > SplatBitSize) in visitAND()
4494 SplatBitSize < BitWidth; in visitAND()
4495 SplatBitSize = SplatBitSize * 2) in visitAND()
4496 SplatValue |= SplatValue.shl(SplatBitSize); in visitAND()
4500 if (SplatBitSize % BitWidth == 0) { in visitAND()
4502 for (unsigned i = 0, n = SplatBitSize/BitWidth; i < n; ++i) in visitAND()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1788 unsigned &SplatBitSize, bool &HasAnyUndefs,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7889 unsigned SplatBitSize; in LowerBUILD_VECTOR() local
7891 if (! BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR()
7893 SplatBitSize > 32) { in LowerBUILD_VECTOR()
7906 unsigned SplatSize = SplatBitSize / 8; in LowerBUILD_VECTOR()
7946 int32_t SextVal= (int32_t(SplatBits << (32-SplatBitSize)) >> in LowerBUILD_VECTOR()
7947 (32-SplatBitSize)); in LowerBUILD_VECTOR()
8004 unsigned TypeShiftAmt = i & (SplatBitSize-1); in LowerBUILD_VECTOR()
8041 ((unsigned)i >> (SplatBitSize-TypeShiftAmt)))) { in LowerBUILD_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6939 unsigned SplatBitSize, LLVMContext &C) { in getConstantVector() argument
6941 unsigned NumElm = SplatBitSize / ScalarSize; in getConstantVector()
7066 unsigned SplatBitSize; in lowerBuildVectorAsBroadcast() local
7069 if (BVOp->isConstantSplat(SplatValue, Undef, SplatBitSize, HasUndef) && in lowerBuildVectorAsBroadcast()
7070 SplatBitSize > VT.getScalarSizeInBits() && in lowerBuildVectorAsBroadcast()
7071 SplatBitSize < VT.getSizeInBits()) { in lowerBuildVectorAsBroadcast()
7081 if (SplatBitSize <= 64 && Subtarget.hasAVX2() && in lowerBuildVectorAsBroadcast()
7082 !(SplatBitSize == 64 && Subtarget.is32Bit())) { in lowerBuildVectorAsBroadcast()
7085 MVT CVT = MVT::getIntegerVT(SplatBitSize); in lowerBuildVectorAsBroadcast()
7086 Type *ScalarTy = Type::getIntNTy(*Ctx, SplatBitSize); in lowerBuildVectorAsBroadcast()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6651 unsigned &SplatBitSize, in isConstantSplat() argument
6711 SplatBitSize = sz; in isConstantSplat()

12