Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A 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()
H A DConstantFolding.cpp1294 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldCastOperand()
H A DInstructionSimplify.cpp1899 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 DInstCombineShifts.cpp104 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 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()
H A DInstCombineCompares.cpp1261 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 DInstCombineSimplifyDemanded.cpp434 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits()
H A DInstCombineCalls.cpp977 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 DInstCombineAndOrXor.cpp1110 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in foldAndOfICmps()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp846 (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 DSelectionDAG.cpp1133 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 DDAGCombiner.cpp6963 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 DLegalizeIntegerTypes.cpp2521 SDValue Mask = DAG.getConstant(APInt::getLowBitsSet(Bits, HalfBits), dl, in ExpandIntRes_MUL()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZOperators.td623 APInt::getLowBitsSet(BitWidth, 8));
631 APInt::getLowBitsSet(BitWidth, 8));
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantRange.cpp645 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
H A DConstantFold.cpp1070 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 DAPInt.h648 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1598 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 DAPInt.cpp517 APInt Result(getLowBitsSet(BitWidth, numBits)); in getLoBits()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1534 auto *BMI = ConstantInt::get(P->getType(), APInt::getLowBitsSet(32, IC)); in generate()
H A DHexagonConstPropagation.cpp1581 APInt Mask = APInt::getLowBitsSet(Width, Bits); in evaluateZEXTi()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp1827 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 DARMISelLowering.cpp11157 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 DMipsSEISelLowering.cpp1592 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp23758 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 …]

12