Home
last modified time | relevance | path

Searched refs:getOneBitSet (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp124 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp976 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()
DInstCombineMulDivRem.cpp838 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
/external/llvm/lib/IR/
DConstantRange.cpp444 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm/include/llvm/ADT/
DAPInt.h480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1014 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/
DReassociate.cpp469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp377 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp41 APInt payload = APInt::getOneBitSet(4, 2); in TEST()