Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp23 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp338 return APInt::getOneBitSet(getBitWidth()+1, getBitWidth()); in getSetSize()
627 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp123 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/llvm/unittests/ADT/
DAPIntTest.cpp1106 APInt X = APInt::getOneBitSet(N, I); in TEST()
1107 APInt Y = APInt::getOneBitSet(N, N - (I + 1)); in TEST()
DAPFloatTest.cpp40 APInt payload = APInt::getOneBitSet(4, 2); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1760 APInt X = APInt::getOneBitSet(N, I); in TEST()
1761 APInt Y = APInt::getOneBitSet(N, N - (I + 1)); in TEST()
2280 APInt i128 = APInt::getOneBitSet(128, 64); in TEST()
2286 APInt i96 = APInt::getOneBitSet(96, 64); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1371 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1828 APInt::getOneBitSet(AndCst->getBitWidth(), NTZ).ugt(RHSV)) in visitICmpInstWithInstAndIntCst()
2045 APInt::getOneBitSet(TypeBits, in visitICmpInstWithInstAndIntCst()
2795 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom()
2818 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom()
4221 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in visitICmpInst()
DInstCombineMulDivRem.cpp862 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
/external/llvm/lib/IR/
DConstantRange.cpp543 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp140 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/llvm/include/llvm/ADT/
DAPInt.h480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h447 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h484 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h587 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1958 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); in foldICmpShlConstant()
3562 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality()
3968 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
3991 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
DInstCombineMulDivRem.cpp714 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
DInstCombineSelect.cpp568 APInt C1 = APInt::getOneBitSet(V->getType()->getScalarSizeInBits(), C1Log); in foldSelectICmpAndOr()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp931 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1290 APInt::getOneBitSet(TypeBits, in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp1167 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient()
4517 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in MatchBinaryOp()
6252 const SCEV *MulCount = getConstant(APInt::getOneBitSet(BitWidth, TZ)); in createSCEV()
6260 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV()
6368 getContext(), APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
6415 APInt Mul = APInt::getOneBitSet(BitWidth - AShrAmt, in createSCEV()
8343 const SCEV *D = SE.getConstant(APInt::getOneBitSet(BW, Mult2)); in SolveLinEquationWithOverflow()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp335 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp350 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1009 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient()
3858 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in MatchBinaryOp()
5061 getContext(), APInt::getOneBitSet(BitWidth, TZ))); in createSCEV()
5161 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1413 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
4021 auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(), in PromoteNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2898 APInt DemandedElt = APInt::getOneBitSet(NumSrcElts, Idx); in computeKnownBits()
2929 APInt VectorElts = DemandedElts & ~(APInt::getOneBitSet(NumElts, EltIdx)); in computeKnownBits()
3523 APInt::getOneBitSet(NumSrcElts, ConstEltNo->getZExtValue()); in ComputeNumSignBits()
DLegalizeDAG.cpp1438 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
4311 auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(), in PromoteNode()

12