Home
last modified time | relevance | path

Searched refs:getAllOnes (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DDemandedBits.cpp359 AliveBits[J] = APInt::getAllOnes(T->getScalarSizeInBits()); in performAnalysis()
404 APInt AB = APInt::getAllOnes(BitWidth); in performAnalysis()
445 return APInt::getAllOnes(DL.getTypeSizeInBits(I->getType()->getScalarType())); in getDemandedBits()
457 return APInt::getAllOnes(BitWidth); in getDemandedBits()
465 APInt AB = APInt::getAllOnes(BitWidth); in getDemandedBits()
DValueTracking.cpp182 FVTy ? APInt::getAllOnes(FVTy->getNumElements()) : APInt(1, 1); in computeKnownBits()
379 FVTy ? APInt::getAllOnes(FVTy->getNumElements()) : APInt(1, 1); in ComputeNumSignBits()
1850 APInt DemandedVecElts = APInt::getAllOnes(NumElts); in computeKnownBitsFromOperator()
2714 APInt DemandedVecElts = APInt::getAllOnes(NumElts); in isKnownNonZero()
2739 FVTy ? APInt::getAllOnes(FVTy->getNumElements()) : APInt(1, 1); in isKnownNonZero()
7138 Upper = APInt::getAllOnes(Width).lshr(*C) + 1; in setLimitsForBinOp()
DVectorUtils.cpp1131 APInt DemandedElts = APInt::getAllOnes(VWidth); in possiblyDemandedEltsInMask()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp64 Ty.isVector() ? APInt::getAllOnes(Ty.getNumElements()) : APInt(1, 1); in getKnownBits()
205 Known.One = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
206 Known.Zero = APInt::getAllOnes(BitWidth); in computeKnownBitsImpl()
759 Ty.isVector() ? APInt::getAllOnes(Ty.getNumElements()) : APInt(1, 1); in computeNumSignBits()
/openbsd/src/gnu/llvm/llvm/lib/Support/
DDivisionByConstantInfo.cpp82 APInt AllOnes = APInt::getAllOnes(D.getBitWidth()).lshr(LeadingZeros); in get()
DAPFixedPoint.cpp408 APInt FractPartMask = APInt::getAllOnes(Scale).zext(Width); in toString()
DAPFloat.cpp804 fill_storage = APInt::getAllOnes(semantics->precision - 1); in makeNaN()
5143 return APFloat(Semantics, APInt::getAllOnes(Semantics.sizeInBits)); in getAllOnesValue()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp58 APInt DemandedMask(APInt::getAllOnes(BitWidth)); in SimplifyDemandedInstructionBits()
866 APInt AllOnes = APInt::getAllOnes(BitWidth); in SimplifyDemandedUseBits()
1179 APInt BitMask1(APInt::getAllOnes(BitWidth)); in simplifyShrShlDemandedBits()
1180 APInt BitMask2(APInt::getAllOnes(BitWidth)); in simplifyShrShlDemandedBits()
1246 APInt EltMask(APInt::getAllOnes(VWidth)); in SimplifyDemandedVectorElts()
1678 APInt DemandedPtrs(APInt::getAllOnes(VWidth)), in SimplifyDemandedVectorElts()
DInstCombineVectorOps.cpp324 APInt UsedElts(APInt::getAllOnes(VWidth)); in findDemandedEltsBySingleUser()
372 UnionUsedElts = APInt::getAllOnes(VWidth); in findDemandedEltsByAllUsers()
1696 APInt AllOnesEltMask(APInt::getAllOnes(VWidth)); in visitInsertElementInst()
2825 APInt AllOnesEltMask(APInt::getAllOnes(VWidth)); in visitShuffleVectorInst()
DInstCombineShifts.cpp43 APInt::getAllOnes(ShAmt0->getType()->getScalarSizeInBits()); in canTryToConstantAddTwoShiftAmounts()
1323 APInt MaskC = APInt::getAllOnes(BitWidth).lshr(ShAmtC); in visitLShr()
DInstCombineCompares.cpp3848 APInt::getAllOnes(XShAmt->getType()->getScalarSizeInBits()); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
5313 return APInt::getAllOnes(BitWidth); in getDemandedBitsLHSMask()
5335 return APInt::getAllOnes(BitWidth); in getDemandedBitsLHSMask()
5499 if (SimplifyDemandedBits(&I, 1, APInt::getAllOnes(BitWidth), Op1Known, 0)) in foldICmpUsingKnownBits()
DInstCombineSelect.cpp1368 APInt::getAllOnes(C0->getType()->getScalarSizeInBits())))) in canonicalizeClampLike()
2409 APInt AllOnesEltMask(APInt::getAllOnes(NumElts)); in foldVectorSelect()
DInstCombineAndOrXor.cpp4168 *RHSC == APInt::getAllOnes(Ty->getScalarSizeInBits()).shl(*C)) { in visitXor()
4174 *RHSC == APInt::getAllOnes(Ty->getScalarSizeInBits()).lshr(*C)) { in visitXor()
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DAPInt.h186 static APInt getMaxValue(unsigned numBits) { return getAllOnes(numBits); } in getMaxValue()
190 APInt API = getAllOnes(numBits); in getSignedMaxValue()
214 static APInt getAllOnes(unsigned numBits) { in getAllOnes() function
219 static APInt getAllOnesValue(unsigned numBits) { return getAllOnes(numBits); } in getAllOnesValue()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h757 APInt DemandedElts = APInt::getAllOnes(Ty->getNumElements()); in getScalarizationOverhead()
1402 const APInt DemandedAllSubElts = APInt::getAllOnes(NumSubElts);
1403 const APInt DemandedAllResultElts = APInt::getAllOnes(NumElts);
DSelectionDAG.h658 return getConstant(APInt::getAllOnes(VT.getScalarSizeInBits()), DL, VT,
/openbsd/src/gnu/llvm/llvm/tools/llvm-stress/
Dllvm-stress.cpp453 Ty, APInt::getAllOnes(Ty->getPrimitiveSizeInBits()))); in Act()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DType.cpp337 APInt IntegerType::getMask() const { return APInt::getAllOnes(getBitWidth()); } in getMask()
DConstantRange.cpp1394 return ConstantRange(APInt::getAllOnes(getBitWidth())).sub(*this); in binaryNot()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp546 ? APInt::getAllOnes(VT.getVectorNumElements()) in ShrinkDemandedConstant()
641 ? APInt::getAllOnes(VT.getVectorNumElements()) in SimplifyDemandedBits()
917 ? APInt::getAllOnes(VT.getVectorNumElements()) in SimplifyMultipleUseDemandedBits()
926 APInt DemandedBits = APInt::getAllOnes(Op.getScalarValueSizeInBits()); in SimplifyMultipleUseDemandedVectorElts()
1115 DemandedBits = APInt::getAllOnes(BitWidth); in SimplifyDemandedBits()
1116 DemandedElts = APInt::getAllOnes(NumElts); in SimplifyDemandedBits()
1569 APInt Ones = APInt::getAllOnes(BitWidth); in SimplifyDemandedBits()
2444 APInt DemandedSrcElts = APInt::getAllOnes(NumSrcElts); in SimplifyDemandedBits()
3459 APInt DemandedBits = APInt::getAllOnes(EltSizeInBits); in SimplifyDemandedVectorElts()
6320 APInt::udivrem(APInt::getAllOnes(W), D, Q, R); in prepareUREMEqFold()
[all …]
DSelectionDAG.cpp2605 ? APInt::getAllOnes(DemandedElts.getBitWidth()) in isSplatValue()
2781 = APInt::getAllOnes(VT.isScalableVector() ? 1 : VT.getVectorNumElements()); in isSplatValue()
2798 = APInt::getAllOnes(VT.isScalableVector() ? 1 : VT.getVectorNumElements()); in getSplatSourceVector()
2940 ? APInt::getAllOnes(VT.getVectorNumElements()) in computeKnownBits()
3705 APInt DemandedSrcElts = APInt::getAllOnes(NumSrcElts); in computeKnownBits()
3991 ? APInt::getAllOnes(VT.getVectorNumElements()) in ComputeNumSignBits()
4426 APInt DemandedSrcElts = APInt::getAllOnes(NumSrcElts); in ComputeNumSignBits()
4642 ? APInt::getAllOnes(VT.getVectorNumElements()) in isGuaranteedNotToBeUndefOrPoison()
4717 ? APInt::getAllOnes(VT.getVectorNumElements()) in canCreateUndefOrPoison()
10992 ? APInt::getAllOnes(VT.getVectorMinNumElements()) in isConstOrConstSplat()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp726 if (RCR.contains(APInt::getAllOnes(OrigWidth)) && in narrowSDivOrSRem()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h132 APInt MaskVal = APInt::getAllOnes(SrcTy.getScalarSizeInBits()); in tryCombineZExt()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86ISelLowering.cpp7036 APInt Ones = APInt::getAllOnes(32); in getOnesVector()
7371 APInt UndefSrcElts = APInt::getAllOnes(NumElts); in getTargetConstantBitsFromNode()
8353 APInt Demand0 = APInt::getAllOnes(N0.getValueType().getVectorNumElements()); in getFauxShuffleMask()
8354 APInt Demand1 = APInt::getAllOnes(N1.getValueType().getVectorNumElements()); in getFauxShuffleMask()
8411 APInt SubDemand = APInt::getAllOnes(SubSrcVT.getVectorNumElements()); in getFauxShuffleMask()
8794 APInt DemandedElts = APInt::getAllOnes(NumElts); in getTargetShuffleInputs()
10607 APInt DemandedElts = APInt::getAllOnes(NumElts); in getHopForBuildVector()
23985 APInt Mask = APInt::getAllOnes(Op.getScalarValueSizeInBits()); in MatchVectorAllZeroTest()
37885 Known.One = APInt::getAllOnes(BitWidth * 2); in computeKnownBitsForTargetNode()
37886 Known.Zero = APInt::getAllOnes(BitWidth * 2); in computeKnownBitsForTargetNode()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp6253 APInt::getAllOnes(VF.getFixedValue()), /*Insert*/ true, in computePredInstDiscount()
6272 APInt::getAllOnes(VF.getFixedValue()), /*Insert*/ false, in computePredInstDiscount()
6422 Vec_i1Ty, APInt::getAllOnes(VF.getKnownMinValue()), in getMemInstScalarizationCost()
6801 cast<VectorType>(RetTy), APInt::getAllOnes(VF.getKnownMinValue()), in getScalarizationOverhead()
7080 Vec_i1Ty, APInt::getAllOnes(VF.getFixedValue()), in getInstructionCost()

12