Home
last modified time | relevance | path

Searched refs:getLowBitsSet (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp147 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits()
181 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
210 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
230 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
DConstantFolding.cpp1326 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
DInstructionSimplify.cpp2080 const APInt EffBitsY = APInt::getLowBitsSet(Width, EffWidthY); in SimplifyAndInst()
2081 const APInt EffBitsX = APInt::getLowBitsSet(Width, EffWidthX) << ShftCnt; in SimplifyAndInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp457 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift()
588 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift()
735 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
1092 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr()
1106 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr()
1111 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr()
1159 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitLShr()
1313 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitAShr()
DInstCombineCasts.cpp1135 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt()
1156 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
1163 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
1169 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
DInstCombineCompares.cpp1281 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD()
2103 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant()
3052 APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1) in foldICmpEqIntrinsicWithConstant()
3131 APInt Limit = APInt::getLowBitsSet(BitWidth, BitWidth - Num); in foldICmpIntrinsicWithConstant()
3144 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1); in foldICmpIntrinsicWithConstant()
3153 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue()); in foldICmpIntrinsicWithConstant()
4003 APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs)); in foldICmpBinOp()
4266 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in foldICmpEquality()
4286 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
DInstCombineCalls.cpp592 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits); in simplifyX86pack()
894 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index); in simplifyX86insertq()
1884 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in visitCallInst()
2010 APInt Op2Demanded = APInt::getLowBitsSet(BitWidth, Log2_32_Ceil(BitWidth)); in visitCallInst()
3424 if (SimplifyDemandedBits(II, 0, APInt::getLowBitsSet(32, 16), in visitCallInst()
DInstCombineSimplifyDemanded.cpp462 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits()
DInstCombineAndOrXor.cpp1241 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in foldAndOfICmps()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h507 return getLowBitsSet(numBits, hiBit) | in getBitsSet()
509 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet()
536 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function
1814 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1338 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits()
1645 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); in SimplifyDemandedBits()
1845 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); in SimplifyDemandedBits()
1992 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); in SimplifyDemandedBits()
3326 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC()
3432 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC()
3440 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC()
6993 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(), in clampDynamicVectorIndex()
7268 SDValue LowMask = DAG.getConstant(APInt::getLowBitsSet(VTSize, Scale), in expandFixedPointMul()
7300 SDValue LowMask = DAG.getConstant(APInt::getLowBitsSet(VTSize, Scale - 1), in expandFixedPointMul()
DLegalizeVectorOps.cpp781 APInt::getLowBitsSet(WideBits, SrcEltBits), dl, WideVT); in ExpandLoad()
DLegalizeIntegerTypes.cpp2950 SDValue Mask = DAG.getConstant(APInt::getLowBitsSet(Bits, HalfBits), dl, in ExpandIntRes_MUL()
3183 APInt::getLowBitsSet(NVTSize, VTSize - OverflowBits), dl, NVT); in ExpandIntRes_MULFIX()
3216 APInt::getLowBitsSet(NVTSize, NVTSize - OverflowBits), dl, NVT); in ExpandIntRes_MULFIX()
DSelectionDAG.cpp1175 APInt Imm = APInt::getLowBitsSet(BitWidth, in getZeroExtendInReg()
2883 Known.Zero = APInt::getLowBitsSet(BitWidth, Known.countMinTrailingZeros()); in computeKnownBits()
2962 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits); in computeKnownBits()
3117 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits()); in computeKnownBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZOperators.td656 APInt::getLowBitsSet(BitWidth, 8));
664 APInt::getLowBitsSet(BitWidth, 8));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h664 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1163 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1200 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
DConstantRange.cpp698 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1605 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine()
1621 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp990 APInt LHSMask = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 32); in PerformDAGCombine()
991 APInt RHSMask = APInt::getLowBitsSet(RHS.getValueSizeInBits(), 5); in PerformDAGCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1537 auto *BMI = ConstantInt::get(P->getType(), APInt::getLowBitsSet(32, IC)); in generate()
DHexagonConstPropagation.cpp1593 APInt Mask = APInt::getLowBitsSet(Width, Bits); in evaluateZEXTi()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3310 V, APInt::getLowBitsSet(V.getSimpleValueType().getSizeInBits(), in matchBitExtract()
3873 APInt NeededMask = APInt::getLowBitsSet(NVT.getSizeInBits(), in tryShrinkShlLogicImm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp571 APInt Result(getLowBitsSet(BitWidth, numBits)); in getLoBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp12610 FromMask = APInt::getLowBitsSet(ToMask.getBitWidth(), ToMask.countPopulation()); in ParseBFI()
14671 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
14687 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
14695 APInt LowMask = APInt::getLowBitsSet(LowWidth, 16); in PerformDAGCombine()
14707 APInt LowMask = APInt::getLowBitsSet(LowWidth, 16); in PerformDAGCombine()
14724 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine()

12