Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp122 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/llvm/lib/Support/
DConstantRange.cpp436 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm/include/llvm/ADT/
DAPInt.h476 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp991 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1274 APInt::getOneBitSet(AndCST->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst()
1475 APInt::getOneBitSet(TypeBits, in visitICmpInstWithInstAndIntCst()
DInstCombineAddSub.cpp880 APInt::getOneBitSet(BitWidth, CSTVal)); in dyn_castFoldableMul()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp399 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp764 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient()
3795 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
3813 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp40 APInt payload = APInt::getOneBitSet(4, 2); in TEST()