Searched refs:getOneBitSet (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 126 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1045 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst() 1503 APInt::getOneBitSet(AndCst->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst() 1720 APInt::getOneBitSet(TypeBits, in visitICmpInstWithInstAndIntCst() 2437 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() 2460 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() 3762 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in visitICmpInst()
|
D | InstCombineMulDivRem.cpp | 848 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 497 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/Transforms/Scalar/ |
D | Reassociate.cpp | 436 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 1008 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient() 4602 ConstantInt::get(getContext(), APInt::getOneBitSet(BitWidth, TZ))); in createSCEV() 4706 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV() 4724 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 397 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
|
D | LegalizeDAG.cpp | 1691 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 41 APInt payload = APInt::getOneBitSet(4, 2); in TEST()
|