Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp195 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedLoad()
326 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedStore()
445 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedGather()
566 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedScatter()
656 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedExpandLoad()
762 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedCompressStore()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DScalarizeMaskedMemIntrin.cpp198 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedLoad()
330 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedStore()
449 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedGather()
571 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedScatter()
672 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedExpandLoad()
778 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedCompressStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/external/llvm-project/llvm/lib/FuzzMutate/
DOpDescriptor.cpp22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/external/llvm-project/llvm/unittests/CodeGen/
DAArch64SelectionDAGTest.cpp568 APInt Mask1111_0 = APInt::getOneBitSet(NumElts, 0); in TEST_F()
574 APInt Mask1111_1 = APInt::getOneBitSet(NumElts, 2); in TEST_F()
/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()
/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-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp147 APInt DemandedElts = APInt::getOneBitSet(MinVecNumElts, 0); in vectorizeLoadInsert()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1874 APInt X = APInt::getOneBitSet(N, I); in TEST()
1875 APInt Y = APInt::getOneBitSet(N, N - (I + 1)); in TEST()
2614 APInt i128 = APInt::getOneBitSet(128, 64); in TEST()
2620 APInt i96 = APInt::getOneBitSet(96, 64); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/llvm/lib/IR/
DConstantRange.cpp543 return ConstantRange(LowerExt, APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2157 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); in foldICmpShlConstant()
3119 ? APInt::getOneBitSet(BitWidth, Num) in foldICmpEqIntrinsicWithConstant()
3120 : APInt::getOneBitSet(BitWidth, BitWidth - Num - 1); in foldICmpEqIntrinsicWithConstant()
3191 APInt Limit = APInt::getOneBitSet(BitWidth, BitWidth - Num - 1); in foldICmpIntrinsicWithConstant()
4324 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality()
4744 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
4767 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2115 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); in foldICmpShlConstant()
3055 ? APInt::getOneBitSet(BitWidth, Num) in foldICmpEqIntrinsicWithConstant()
3056 : APInt::getOneBitSet(BitWidth, BitWidth - Num - 1); in foldICmpEqIntrinsicWithConstant()
3122 APInt Limit = APInt::getOneBitSet(BitWidth, BitWidth - Num - 1); in foldICmpIntrinsicWithConstant()
4254 APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt); in foldICmpEquality()
4677 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
4700 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom()
DInstCombineMulDivRem.cpp737 APInt C1Shifted = APInt::getOneBitSet( in commonIDivTransforms()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp142 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h484 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h593 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h592 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp979 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient()
4611 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in MatchBinaryOp()
6478 const SCEV *MulCount = getConstant(APInt::getOneBitSet(BitWidth, TZ)); in createSCEV()
6486 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV()
6591 getContext(), APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
6638 APInt Mul = APInt::getOneBitSet(BitWidth - AShrAmt, in createSCEV()
6651 APInt Mult = APInt::getOneBitSet(BitWidth, AShrAmt); in createSCEV()
8738 const SCEV *D = SE.getConstant(APInt::getOneBitSet(BW, Mult2)); in SolveLinEquationWithOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp1204 APInt DivFactor = APInt::getOneBitSet(CalculationBits, T); in BinomialCoefficient()
4546 APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in MatchBinaryOp()
6311 const SCEV *MulCount = getConstant(APInt::getOneBitSet(BitWidth, TZ)); in createSCEV()
6319 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV()
6427 getContext(), APInt::getOneBitSet(BitWidth, SA->getZExtValue())); in createSCEV()
6474 APInt Mul = APInt::getOneBitSet(BitWidth - AShrAmt, in createSCEV()
8490 const SCEV *D = SE.getConstant(APInt::getOneBitSet(BW, Mult2)); in SolveLinEquationWithOverflow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp680 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp696 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp144 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()

123