Searched refs:getOneBitSet (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 124 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 976 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst() 1423 APInt::getOneBitSet(AndCst->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst() 1614 APInt::getOneBitSet(TypeBits, in visitICmpInstWithInstAndIntCst() 2342 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() 2365 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() 3627 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in visitICmpInst()
|
D | InstCombineMulDivRem.cpp | 838 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 444 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1014 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient() 4166 ConstantInt::get(getContext(), APInt::getOneBitSet(BitWidth, TZ))); in createSCEV() 4261 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV() 4279 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 377 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 41 APInt payload = APInt::getOneBitSet(4, 2); in TEST()
|