Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOpDescriptor.cpp22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType()
/third_party/skia/third_party/externals/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()
DInstCombineVectorOps.cpp269 UsedElts = APInt::getOneBitSet(VWidth, EEIIndexC->getZExtValue()); in findDemandedEltsBySingleUser()
DInstCombineSelect.cpp658 APInt C1 = APInt::getOneBitSet(V->getType()->getScalarSizeInBits(), C1Log); in foldSelectICmpAndOr()
DInstCombineCalls.cpp3453 if (SimplifyDemandedBits(II, CarryOp, APInt::getOneBitSet(32, 29), in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp142 APInt::getOneBitSet(BitWidth, D->getZExtValue())); in foldIVUser()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h484 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h592 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() function
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp680 APInt::getOneBitSet(DstTySize, SrcTySize)); in zeroExtend()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp355 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp2932 APInt R = APInt::getOneBitSet(CoeffWidth, RangeWidth); in SolveQuadraticEquationWrap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1864 DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue()); in SimplifyDemandedBits()
4869 DAG.getConstant(SelNPQ ? APInt::getOneBitSet(EltBits, EltBits - 1) in BuildUDIV()
5325 APInt Q = (2 * A).udiv(APInt::getOneBitSet(W, K)); in prepareSREMEqFold()
DLegalizeDAG.cpp1488 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); in getSignAsIntValue()
4249 auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(), in PromoteNode()
DSelectionDAG.cpp3259 APInt DemandedElt = APInt::getOneBitSet(NumSrcElts, Idx); in computeKnownBits()
3290 APInt VectorElts = DemandedElts & ~(APInt::getOneBitSet(NumElts, EltIdx)); in computeKnownBits()
3915 APInt::getOneBitSet(NumSrcElts, ConstEltNo->getZExtValue()); in ComputeNumSignBits()
DLegalizeIntegerTypes.cpp476 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ()
DDAGCombiner.cpp5138 APInt::getOneBitSet(VTBitWidth, ShiftAmt.getZExtValue()), DL, VT); in combineShiftAnd1ToBitTest()
6088 const APInt ExtractDiv = APInt::getOneBitSet(ExtractFromAmt.getBitWidth(), in extractShiftForRotate()
10619 if (DAG.MaskedValueIsZero(N0, APInt::getOneBitSet(VTBits, EVTBits - 1))) in visitSIGN_EXTEND_INREG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1491 APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits()); in widenScalar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp32570 APInt DemandedElt = APInt::getOneBitSet(SrcVT.getVectorNumElements(), in computeKnownBitsForTargetNode()
35606 APInt SrcElts = APInt::getOneBitSet(SrcVT.getVectorNumElements(), 0); in SimplifyDemandedVectorEltsForTargetNode()
35989 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
36163 IdentityOp &= APInt::getOneBitSet(NumOps, Op); in SimplifyMultipleUseDemandedBitsForTargetNode()
37499 APInt MaskBit = APInt::getOneBitSet(NumSrcElts, MaskIdx); in combineExtractVectorElt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp15723 APInt DemandedElt = APInt::getOneBitSet(NumSrcElts, Idx); in computeKnownBitsForTargetNode()