Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp126 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1045 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()
DInstCombineMulDivRem.cpp848 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
/external/llvm/lib/IR/
DConstantRange.cpp497 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/Transforms/Scalar/
DReassociate.cpp436 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1008 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/
DLegalizeIntegerTypes.cpp397 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
DLegalizeDAG.cpp1691 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp41 APInt payload = APInt::getOneBitSet(4, 2); in TEST()