/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 342 AliveBits[J] = APInt::getAllOnesValue(T->getScalarSizeInBits()); in performAnalysis() 387 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis() 428 return APInt::getAllOnesValue( in getDemandedBits()
|
D | InstructionSimplify.cpp | 200 Cond, Constant::getAllOnesValue(Cond->getType()), Q, MaxRecurse)) in handleOtherCmpSelSimplifications() 646 return Constant::getAllOnesValue(Ty); in SimplifyAddInst() 1155 return Constant::getAllOnesValue(Op0->getType()); in SimplifySDivInst() 1392 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAShrInst() 2109 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 2119 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 2131 return Constant::getAllOnesValue(Op1->getType()); in SimplifyOrInst() 2135 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 2264 return Constant::getAllOnesValue(Op0->getType()); in SimplifyXorInst() 5118 return Constant::getAllOnesValue(ReturnType); in simplifyBinaryIntrinsic() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 427 return getAllOnesValue(numBits); in getMaxValue() 432 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 458 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function 527 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet() 546 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 143 static Constant *getAllOnesValue(Type* Ty);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constant.h | 177 static Constant *getAllOnesValue(Type* Ty);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 69 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits() 676 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 954 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits() 955 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in simplifyShrShlDemandedBits() 1124 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts() 1526 APInt DemandedPtrs(APInt::getAllOnesValue(VWidth)), in SimplifyDemandedVectorElts()
|
D | InstCombineShifts.cpp | 77 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits()); in reassociateShiftAmtsOfTwoSameDirectionShifts() 244 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput() 282 auto *ExtendedAllOnes = ConstantExpr::getAllOnesValue(ExtendedTy); in dropRedundantMaskingOfLeftShiftInput() 1014 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl() 1168 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr()
|
D | InstCombineVectorOps.cpp | 261 APInt UsedElts(APInt::getAllOnesValue(VWidth)); in findDemandedEltsBySingleUser() 308 UnionUsedElts = APInt::getAllOnesValue(VWidth); in findDemandedEltsByAllUsers() 1099 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst() 1946 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
|
D | InstCombineCompares.cpp | 1354 Value *Mask = Builder.CreateAdd(Y, Constant::getAllOnesValue(Y->getType())); in foldIRemByPowerOfTwoToBitTest() 1587 ConstantInt::getAllOnesValue(X->getType())); in foldICmpXorConstant() 2757 ConstantInt::getAllOnesValue(X->getType())); in foldICmpBitCast() 3073 IsZero ? Constant::getNullValue(Ty) : Constant::getAllOnesValue(Ty); in foldICmpEqIntrinsicWithConstant() 3550 APInt::getAllOnesValue(XShAmt->getType()->getScalarSizeInBits()); in foldShiftIntoShiftInAnotherHandOfAndInICmp() 3953 Constant::getAllOnesValue(SRem->getType())); in foldICmpBinOp() 4417 return new ICmpInst(CmpInst::ICMP_SGT, X, Constant::getAllOnesValue(SrcTy)); in foldICmpWithZextOrSext() 4795 return APInt::getAllOnesValue(BitWidth); in getDemandedBitsLHSMask() 4817 return APInt::getAllOnesValue(BitWidth); in getDemandedBitsLHSMask() 4981 if (SimplifyDemandedBits(&I, 1, APInt::getAllOnesValue(BitWidth), in foldICmpUsingKnownBits() [all …]
|
D | InstCombineMulDivRem.cpp | 992 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitUDiv() 1373 Constant *N1 = Constant::getAllOnesValue(Ty); in visitURem() 1397 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitURem()
|
D | InstCombineAndOrXor.cpp | 339 L12 = Constant::getAllOnesValue(L1->getType()); in getMaskedTypeForICmpPair() 344 L22 = Constant::getAllOnesValue(L2->getType()); in getMaskedTypeForICmpPair() 374 R12 = Constant::getAllOnesValue(R1->getType()); in getMaskedTypeForICmpPair() 398 R12 = Constant::getAllOnesValue(R2->getType()); in getMaskedTypeForICmpPair() 2723 return SelectInst::Create(NewICmpInst, ConstantInt::getAllOnesValue(Ty), in visitOr() 2840 Value *MinusOne = ConstantInt::getAllOnesValue(LHS0->getType()); in foldXorOfICmps()
|
D | InstCombineSelect.cpp | 275 return APInt::getAllOnesValue(I->getType()->getScalarSizeInBits()); in getSelectFoldableConstant() 1221 APInt::getAllOnesValue( in canonicalizeClampLike() 2759 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitSelectInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 73 Ty.isVector() ? APInt::getAllOnesValue(Ty.getNumElements()) : APInt(1, 1); in getKnownBits() 441 ? APInt::getAllOnesValue(Ty.getNumElements()) in computeNumSignBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 1030 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT() 1044 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT() 1288 APInt::getAllOnesValue(VT.getScalarSizeInBits()), DL, VT); in ExpandVSELECT() 1528 DAG.getConstant(APInt::getAllOnesValue in UnrollStrictFPOp() 1565 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
|
D | TargetLowering.cpp | 602 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in SimplifyDemandedBits() 843 DemandedBits = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits() 844 DemandedElts = APInt::getAllOnesValue(NumElts); in SimplifyDemandedBits() 930 APInt SubElts = APInt::getAllOnesValue(NumSubElts); in SimplifyDemandedBits() 965 APInt SrcElts = APInt::getAllOnesValue(NumSrcElts); in SimplifyDemandedBits() 1861 APInt DemandedSrcElts = APInt::getAllOnesValue(NumSrcElts); in SimplifyDemandedBits() 2623 APInt DemandedBits = APInt::getAllOnesValue(EltSizeInBits); in SimplifyDemandedVectorElts() 3670 DAG.getConstant(APInt::getAllOnesValue(OperandBitSize), dl, in SimplifySetCC() 5081 APInt::udivrem(APInt::getAllOnesValue(W), D, Q, R); in prepareUREMEqFold() 5088 assert(APInt::getAllOnesValue(ShSVT.getSizeInBits()).ugt(K) && in prepareUREMEqFold() [all …]
|
D | SelectionDAG.cpp | 1197 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), DL, VT); in getNOT() 2168 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in GetDemandedBits() 2258 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in MaskedValueIsZero() 2372 APInt DemandedElts = APInt::getAllOnesValue(NumElts); in isSplatValue() 2385 APInt DemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements()); in getSplatSourceVector() 2495 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in computeKnownBits() 2667 APInt DemandedSrc = APInt::getAllOnesValue(NumSrcElts); in computeKnownBits() 3278 Known.Zero = Known.One = APInt::getAllOnesValue(BitWidth); in computeKnownBits() 3499 ? APInt::getAllOnesValue(VT.getVectorNumElements()) in ComputeNumSignBits() 3911 APInt DemandedSrcElts = APInt::getAllOnesValue(NumSrcElts); in ComputeNumSignBits() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 535 return getAllOnesValue(numBits); in getMaxValue() 540 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 566 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 372 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue() function in Constant 375 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 378 APFloat FL = APFloat::getAllOnesValue(Ty->getPrimitiveSizeInBits(), in getAllOnesValue() 385 getAllOnesValue(VTy->getElementType())); in getAllOnesValue() 2315 return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType())); in getNot() 2420 return Constant::getAllOnesValue(Ty); in getBinOpIdentity() 2459 return Constant::getAllOnesValue(Ty); in getBinOpAbsorber()
|
D | IRBuilder.cpp | 537 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedGather() 573 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedScatter()
|
D | ConstantFold.cpp | 47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 1071 return Constant::getAllOnesValue(C1->getType()); // undef | X -> ~0 in ConstantFoldBinaryInstruction() 1824 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction() 1909 case FCmpInst::FCMP_TRUE: return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
|
D | Type.cpp | 274 return APInt::getAllOnesValue(getBitWidth()); in getMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APFloat.cpp | 4550 APFloat APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) { in getAllOnesValue() function in llvm::APFloat 4554 return APFloat(semIEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 4556 return APFloat(semIEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 4558 return APFloat(semIEEEdouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 4560 return APFloat(semX87DoubleExtended, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 4562 return APFloat(semIEEEquad, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 4568 return APFloat(semPPCDoubleDouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 276 ConstantInt::getAllOnesValue(Ty) : ConstantFP::get(Ty, -1.0); in LowerNegateToMultiply() 1147 return Constant::getAllOnesValue(X->getType()); in OptimizeAndOrXor() 1501 return Constant::getAllOnesValue(X->getType()); in OptimizeAdd() 1515 Value *V = Constant::getAllOnesValue(X->getType()); in OptimizeAdd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 115 APInt Mask = APInt::getAllOnesValue(SrcTy.getScalarSizeInBits()); in tryCombineZExt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 371 APInt Max = APInt::getAllOnesValue(TypePromotion::TypeSize); in isSafeWrap()
|