| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 573 APInt SplatValue, SplatUndef; in selectVSplat() local 581 Imm = SplatValue; in selectVSplat() 1036 APInt SplatValue, SplatUndef; in trySelect() local 1078 if (SplatValue.isSignedIntN(10)) { in trySelect() 1079 SDValue Imm = CurDAG->getTargetConstant(SplatValue, DL, in trySelect() 1083 } else if (SplatValue.isSignedIntN(16) && in trySelect() 1107 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1116 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1138 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1161 } else if (SplatValue.isSignedIntN(64)) { in trySelect() [all …]
|
| H A D | MipsSEISelLowering.cpp | 536 APInt SplatValue, SplatUndef; in isVSplat() local 544 Imm = SplatValue; in isVSplat() 561 APInt SplatValue, SplatUndef; in isVectorAllOnes() local 568 return SplatValue.isAllOnesValue(); in isVectorAllOnes() 840 APInt SplatValue, SplatUndef; in performDSPShiftCombine() local 853 (SplatValue.getZExtValue() >= EltSize)) in performDSPShiftCombine() 1391 SDValue SplatValueA = SplatValue; in getBuildVectorSplat() 1392 SDValue SplatValueB = SplatValue; in getBuildVectorSplat() 1393 SDLoc DL(SplatValue); in getBuildVectorSplat() 2425 APInt SplatValue, SplatUndef; in lowerBUILD_VECTOR() local [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 433 Value *SplatValue = isBytewiseValue(StoredVal); in isLegalStore() local 441 if (!UnorderedAtomic && HasMemset && SplatValue && in isLegalStore() 444 CurLoop->isLoopInvariant(SplatValue)) { in isLegalStore() 760 Value *SplatValue = MSI->getValue(); in processLoopMemSet() local 761 if (!SplatValue || !CurLoop->isLoopInvariant(SplatValue)) in processLoopMemSet() 768 MSI->getDestAlignment(), SplatValue, MSI, MSIs, in processLoopMemSet() 863 Value *SplatValue = isBytewiseValue(StoredVal); in processLoopStridedStore() local 866 if (!SplatValue) in processLoopStridedStore() 869 assert((SplatValue || PatternValue) && in processLoopStridedStore() 925 if (SplatValue) { in processLoopStridedStore() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 89 bool isConstantSplatVector(const SDNode *N, APInt &SplatValue); 1816 bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef,
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 9095 bool BuildVectorSDNode::isConstantSplat(APInt &SplatValue, APInt &SplatUndef, in isConstantSplat() argument 9108 SplatValue = APInt(VecWidth, 0); in isConstantSplat() 9127 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat() 9129 SplatValue.insertBits(CN->getValueAPF().bitcastToAPInt(), BitPos); in isConstantSplat() 9141 APInt HighValue = SplatValue.lshr(HalfSize).trunc(HalfSize); in isConstantSplat() 9142 APInt LowValue = SplatValue.trunc(HalfSize); in isConstantSplat() 9151 SplatValue = HighValue | LowValue; in isConstantSplat()
|
| H A D | DAGCombiner.cpp | 4633 APInt SplatValue, SplatUndef; in visitAND() local 4636 bool IsSplat = Vector->isConstantSplat(SplatValue, SplatUndef, in visitAND() 4641 SplatValue |= SplatUndef; in visitAND() 4654 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); in visitAND() 4657 SplatValue |= SplatValue.shl(SplatBitSize); in visitAND() 4664 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth); in visitAND()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 9860 APInt SplatValue, SplatUndef; in tryCombineShiftImm() local 9863 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in tryCombineShiftImm() 9868 ShiftAmount = SplatValue.getSExtValue(); in tryCombineShiftImm()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 7353 static Constant *getConstantVector(MVT VT, const APInt &SplatValue, in getConstantVector() argument 7360 APInt Val = SplatValue.extractBits(ScalarSize, ScalarSize * i); in getConstantVector() 7480 APInt SplatValue, Undef; in lowerBuildVectorAsBroadcast() local 7484 if (BVOp->isConstantSplat(SplatValue, Undef, SplatBitSize, HasUndef) && in lowerBuildVectorAsBroadcast() 7502 Constant *C = Constant::getIntegerValue(ScalarTy, SplatValue); in lowerBuildVectorAsBroadcast() 7524 APFloat(APFloat::IEEEsingle(), SplatValue)) in lowerBuildVectorAsBroadcast() 7526 APFloat(APFloat::IEEEdouble(), SplatValue)); in lowerBuildVectorAsBroadcast() 7541 Constant *VecC = getConstantVector(VT, SplatValue, SplatBitSize, in lowerBuildVectorAsBroadcast()
|