| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 147 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()
|
| H A D | ConstantFolding.cpp | 1294 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
|
| H A D | InstructionSimplify.cpp | 1899 const APInt EffBitsY = APInt::getLowBitsSet(Width, EffWidthY); in SimplifyAndInst() 1900 const APInt EffBitsX = APInt::getLowBitsSet(Width, EffWidthX) << ShftCnt; in SimplifyAndInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 104 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 235 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 400 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 740 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 754 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 759 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 807 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitLShr() 892 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitAShr()
|
| H A D | InstCombineCasts.cpp | 1135 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()
|
| H A D | InstCombineCompares.cpp | 1261 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 1979 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant() 2792 APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1) in foldICmpIntrinsicWithConstant() 3394 APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs)); in foldICmpBinOp() 3651 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in foldICmpEquality() 3671 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
|
| H A D | InstCombineSimplifyDemanded.cpp | 434 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits()
|
| H A D | InstCombineCalls.cpp | 977 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index); in simplifyX86insertq() 1917 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in visitCallInst() 2014 APInt Op2Demanded = APInt::getLowBitsSet(BitWidth, Log2_32_Ceil(BitWidth)); in visitCallInst()
|
| H A D | InstCombineAndOrXor.cpp | 1110 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in foldAndOfICmps()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 846 (DemandedBits & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 1076 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); in SimplifyDemandedBits() 1236 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); in SimplifyDemandedBits() 1345 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); in SimplifyDemandedBits() 2393 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 2502 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 2510 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC() 5179 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(), in clampDynamicVectorIndex()
|
| H A D | SelectionDAG.cpp | 1133 APInt Imm = APInt::getLowBitsSet(BitWidth, in getZeroExtendInReg() 2751 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits); in computeKnownBits() 2858 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits()); in computeKnownBits()
|
| H A D | DAGCombiner.cpp | 6963 APInt Mask = APInt::getLowBitsSet(OpSizeInBits, OpSizeInBits - ShiftAmt); in visitSRL() 9811 APInt::getLowBitsSet(N0.getValueSizeInBits(), VT.getSizeInBits()); in visitTRUNCATE() 13069 DAG.getConstant(APInt::getLowBitsSet(STType.getSizeInBits(), in ForwardStoreValueToDirectLoad() 15228 Value, APInt::getLowBitsSet(Value.getScalarValueSizeInBits(), in visitSTORE() 15239 APInt::getLowBitsSet(Value.getScalarValueSizeInBits(), in visitSTORE()
|
| H A D | LegalizeIntegerTypes.cpp | 2521 SDValue Mask = DAG.getConstant(APInt::getLowBitsSet(Bits, HalfBits), dl, in ExpandIntRes_MUL()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperators.td | 623 APInt::getLowBitsSet(BitWidth, 8)); 631 APInt::getLowBitsSet(BitWidth, 8));
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 645 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
|
| H A D | ConstantFold.cpp | 1070 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction() 1088 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 648 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 1598 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine() 1614 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | APInt.cpp | 517 APInt Result(getLowBitsSet(BitWidth, numBits)); in getLoBits()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 1534 auto *BMI = ConstantInt::get(P->getType(), APInt::getLowBitsSet(32, IC)); in generate()
|
| H A D | HexagonConstPropagation.cpp | 1581 APInt Mask = APInt::getLowBitsSet(Width, Bits); in evaluateZEXTi()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 1827 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue() 2035 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 11157 FromMask = APInt::getLowBitsSet(ToMask.getBitWidth(), ToMask.countPopulation()); in ParseBFI() 12851 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine() 12865 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine() 12873 APInt LowMask = APInt::getLowBitsSet(LowWidth, 16); in PerformDAGCombine() 12885 APInt LowMask = APInt::getLowBitsSet(LowWidth, 16); in PerformDAGCombine()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelLowering.cpp | 1592 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23758 APInt LowerBitsMask = APInt::getLowBitsSet(64, 32); in LowerMUL() 30055 APInt ZeroExtendMask = APInt::getLowBitsSet(Size, Width); in targetShrinkDemandedConstant() 32459 APInt AmtElts = APInt::getLowBitsSet(NumAmtElts, NumAmtElts / 2); in SimplifyDemandedVectorEltsForTargetNode() 32619 APInt DemandedMask = APInt::getLowBitsSet(64, 32); in SimplifyDemandedBitsForTargetNode() 33546 CompareBits = APInt::getLowBitsSet(32, MaskVT.getVectorNumElements()); in combineHorizontalPredicateResult() 38225 APInt::getLowBitsSet(InSVT.getSizeInBits(), OutSVT.getSizeInBits()); in combineVectorTruncationWithPACKUS() 38804 APInt DemandedMask(APInt::getLowBitsSet(NumBits, 16)); in combineBEXTR() 39047 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth)); in combineBT() 40290 : APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt); in combineCMP() 41098 DAG.getConstant(APInt::getLowBitsSet(ExtType.getScalarSizeInBits(), in combineSubToSubus() [all …]
|