| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | DemandedBits.cpp | 359 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()
|
| D | ValueTracking.cpp | 182 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()
|
| D | VectorUtils.cpp | 1131 APInt DemandedElts = APInt::getAllOnes(VWidth); in possiblyDemandedEltsInMask()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| D | GISelKnownBits.cpp | 64 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/ |
| D | DivisionByConstantInfo.cpp | 82 APInt AllOnes = APInt::getAllOnes(D.getBitWidth()).lshr(LeadingZeros); in get()
|
| D | APFixedPoint.cpp | 408 APInt FractPartMask = APInt::getAllOnes(Scale).zext(Width); in toString()
|
| D | APFloat.cpp | 804 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/ |
| D | InstCombineSimplifyDemanded.cpp | 58 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()
|
| D | InstCombineVectorOps.cpp | 324 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()
|
| D | InstCombineShifts.cpp | 43 APInt::getAllOnes(ShAmt0->getType()->getScalarSizeInBits()); in canTryToConstantAddTwoShiftAmounts() 1323 APInt MaskC = APInt::getAllOnes(BitWidth).lshr(ShAmtC); in visitLShr()
|
| D | InstCombineCompares.cpp | 3848 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()
|
| D | InstCombineSelect.cpp | 1368 APInt::getAllOnes(C0->getType()->getScalarSizeInBits())))) in canonicalizeClampLike() 2409 APInt AllOnesEltMask(APInt::getAllOnes(NumElts)); in foldVectorSelect()
|
| D | InstCombineAndOrXor.cpp | 4168 *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/ |
| D | APInt.h | 186 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/ |
| D | BasicTTIImpl.h | 757 APInt DemandedElts = APInt::getAllOnes(Ty->getNumElements()); in getScalarizationOverhead() 1402 const APInt DemandedAllSubElts = APInt::getAllOnes(NumSubElts); 1403 const APInt DemandedAllResultElts = APInt::getAllOnes(NumElts);
|
| D | SelectionDAG.h | 658 return getConstant(APInt::getAllOnes(VT.getScalarSizeInBits()), DL, VT,
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-stress/ |
| D | llvm-stress.cpp | 453 Ty, APInt::getAllOnes(Ty->getPrimitiveSizeInBits()))); in Act()
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | Type.cpp | 337 APInt IntegerType::getMask() const { return APInt::getAllOnes(getBitWidth()); } in getMask()
|
| D | ConstantRange.cpp | 1394 return ConstantRange(APInt::getAllOnes(getBitWidth())).sub(*this); in binaryNot()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 546 ? 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 …]
|
| D | SelectionDAG.cpp | 2605 ? 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/ |
| D | CorrelatedValuePropagation.cpp | 726 if (RCR.contains(APInt::getAllOnes(OrigWidth)) && in narrowSDivOrSRem()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
| D | LegalizationArtifactCombiner.h | 132 APInt MaskVal = APInt::getAllOnes(SrcTy.getScalarSizeInBits()); in tryCombineZExt()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 7036 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/ |
| D | LoopVectorize.cpp | 6253 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()
|