/external/llvm/unittests/IR/ |
D | ValueTest.cpp | 58 Constant::getAllOnesValue(Int32Ty), in TEST() 80 Constant::getAllOnesValue(Int32Ty), in TEST() 100 Constant::getAllOnesValue(Int32Ty), "var", nullptr, in TEST()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 173 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant() 177 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant() 195 return ConstantInt::getAllOnesValue(Tp); in getRandomValue() 199 return ConstantFP::getAllOnesValue(Tp); in getRandomValue() 377 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 402 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
|
/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 295 AliveBits[J] = APInt::getAllOnesValue(IT->getBitWidth()); in performAnalysis() 328 APInt AB = APInt::getAllOnesValue(BitWidth); in performAnalysis() 368 return APInt::getAllOnesValue(DL.getTypeSizeInBits(I->getType())); in getDemandedBits()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 200 APInt Mask2 = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 229 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 526 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 553 APInt LocalMask = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 576 LocalMask = APInt::getAllOnesValue(GEPOpiBits); in ComputeMaskedBits() 621 APInt Mask2 = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 650 KnownZero = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 651 KnownOne = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() 864 ComputeMaskedBits(V, APInt::getAllOnesValue(BitWidth), KnownZero, KnownOne, in isKnownNonZero() 974 APInt Mask = APInt::getAllOnesValue(TyBits); in ComputeNumSignBits() [all …]
|
D | InstructionSimplify.cpp | 68 return Constant::getAllOnesValue(Ty); in getTrue() 447 SimplifyXorInst(Cond, Constant::getAllOnesValue(Cond->getType()), in ThreadCmpOverSelect() 575 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAddInst() 1137 return Constant::getAllOnesValue(Op0->getType()); in SimplifyAShrInst() 1259 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1276 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1292 return Constant::getAllOnesValue(Op1->getType()); in SimplifyOrInst() 1297 return Constant::getAllOnesValue(Op0->getType()); in SimplifyOrInst() 1366 return Constant::getAllOnesValue(Op0->getType()); in SimplifyXorInst() 1569 APInt NegOne = APInt::getAllOnesValue(Width); in SimplifyICmpInst() [all …]
|
D | Lint.cpp | 414 APInt Mask = APInt::getAllOnesValue(BitWidth), in visitMemoryReference() 474 APInt Mask = APInt::getAllOnesValue(BitWidth), in isZero()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constant.h | 140 static Constant *getAllOnesValue(Type* Ty);
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 141 static Constant *getAllOnesValue(Type* Ty);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 143 static Constant *getAllOnesValue(Type* Ty);
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 395 return getAllOnesValue(numBits); in getMaxValue() 400 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 426 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function 485 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet() 502 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
|
D | APFloat.h | 255 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 423 return getAllOnesValue(numBits); in getMaxValue() 428 APInt API = getAllOnesValue(numBits); in getSignedMaxValue() 454 static APInt getAllOnesValue(unsigned numBits) { in getAllOnesValue() function 523 return getAllOnesValue(numBits).shl(shiftAmt); in getHighBitsSet() 542 return getAllOnesValue(numBits).lshr(numBits - loBitsSet); in getLowBitsSet()
|
D | APFloat.h | 282 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
|
/external/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()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 56 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits() 234 DemandedMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 721 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 855 APInt BitMask1(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits() 856 APInt BitMask2(APInt::getAllOnesValue(BitWidth)); in SimplifyShrShlDemandedBits() 910 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 291 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), VT); in ExpandVSELECT() 364 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 55 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); in SimplifyDemandedInstructionBits() 218 DemandedMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 731 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() 810 APInt EltMask(APInt::getAllOnesValue(VWidth)); in SimplifyDemandedVectorElts()
|
D | InstCombineVectorOps.cpp | 436 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitInsertElementInst() 464 APInt AllOnesEltMask(APInt::getAllOnesValue(VWidth)); in visitShuffleVectorInst()
|
D | InstCombineCasts.cpp | 548 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformZExtICmp() 597 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformZExtICmp() 918 APInt TypeMask(APInt::getAllOnesValue(BitWidth)); in transformSExtICmp() 928 ConstantInt::getAllOnesValue(CI.getType()) : in transformSExtICmp() 945 ConstantInt::getAllOnesValue(In->getType()), in transformSExtICmp()
|
D | InstCombineCompares.cpp | 708 ConstantExpr::getSub(ConstantInt::getAllOnesValue(CI->getType()), CI); in FoldICmpAddOpCst() 1616 Constant *NegOne = Constant::getAllOnesValue(SrcTy); in visitICmpInstWithCastAndCast() 1746 if (!CI) return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1769 return APInt::getAllOnesValue(BitWidth); in DemandedBitsLHSMask() 1914 APInt::getAllOnesValue(BitWidth), in visitICmpInst() 2038 Constant::getAllOnesValue(Op0->getType())); in visitICmpInst() 2360 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 743 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, in ExpandSELECT() 758 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT() 969 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), DL, VT); in ExpandVSELECT() 1062 DAG.getConstant(APInt::getAllOnesValue in UnrollVSETCC()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 271 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedGather() 302 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedScatter()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 3375 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) in getAllOnesValue() function in APFloat 3379 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3381 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3383 return APFloat(IEEEdouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3385 return APFloat(x87DoubleExtended, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3388 return APFloat(IEEEquad, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue() 3389 return APFloat(PPCDoubleDouble, APInt::getAllOnesValue(BitWidth)); in getAllOnesValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 914 markConstant(IV, &I, Constant::getAllOnesValue(PT)); in visitBinaryOperator() 917 Constant::getAllOnesValue(I.getType())); in visitBinaryOperator() 1345 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1390 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 942 markConstant(IV, &I, Constant::getAllOnesValue(PT)); in visitBinaryOperator() 945 Constant::getAllOnesValue(I.getType())); in visitBinaryOperator() 1531 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1563 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
|