Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineShifts.cpp135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
160 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted()
241 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue()
390 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
588 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant()
624 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant()
672 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant()
771 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr()
816 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt), in visitAShr()
HDInstCombineSimplifyDemanded.cpp492 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits()
533 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits()
585 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
599 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
644 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
HDInstCombineCasts.cpp813 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt()
834 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
841 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt()
847 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
HDInstCombineCompares.cpp1589 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst()
2054 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD()
2456 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingOnes); in DemandedBitsLHSMask()
2464 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingZeros); in DemandedBitsLHSMask()
3444 APInt::getLowBitsSet(AP.getBitWidth(), in visitICmpInst()
3623 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in visitICmpInst()
3645 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in visitICmpInst()
HDInstCombineAndOrXor.cpp261 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp()
281 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp()
395 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1)); in FoldLogicalPlusAnd()
959 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in FoldAndOfICmps()
1281 APInt Mask = APInt::getLowBitsSet(BitWidth, BitWidth - Zeros); in visitAnd()
HDInstCombineCalls.cpp455 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros)); in visitCallInst()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDBDCE.cpp141 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits()
152 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits()
180 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
199 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
HDScalarReplAggregates.cpp1006 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
/NextBSD/contrib/llvm/include/llvm/ADT/
HDAPInt.h502 return getLowBitsSet(numBits, hiBit) | in getBitsSet()
504 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet()
531 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function
1769 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDTargetLowering.cpp621 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits()
691 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits()
710 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits()
768 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits()
852 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
932 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits()
1044 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
1085 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
1402 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC()
1508 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC()
[all …]
HDSelectionDAG.cpp1064 APInt Imm = APInt::getLowBitsSet(BitWidth, in getZeroExtendInReg()
2083 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in computeKnownBits()
2158 KnownZero |= APInt::getLowBitsSet(BitWidth, ShAmt); in computeKnownBits()
2214 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits); in computeKnownBits()
2319 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits()); in computeKnownBits()
2373 KnownZero |= APInt::getLowBitsSet(BitWidth, KnownZeroLow); in computeKnownBits()
2468 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); in computeKnownBits()
HDDAGCombiner.cpp3917 APInt RHSBits = APInt::getLowBitsSet(OpSizeInBits, LShVal); in MatchRotate()
6994 GetDemandedBits(N0, APInt::getLowBitsSet(N0.getValueSizeInBits(), in visitTRUNCATE()
11374 APInt::getLowBitsSet( in visitSTORE()
11385 APInt::getLowBitsSet( in visitSTORE()
/NextBSD/contrib/llvm/lib/Analysis/
HDValueTracking.cpp335 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in computeKnownBitsMul()
1087 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 in computeKnownBitsFromOperator()
1206 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBitsFromOperator()
1254 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ); in computeKnownBitsFromOperator()
1295 KnownZero = APInt::getLowBitsSet(BitWidth, in computeKnownBitsFromOperator()
1475 KnownZero = APInt::getLowBitsSet(BitWidth, in computeKnownBits()
1494 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBits()
HDConstantFolding.cpp1039 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldInstOperands()
HDScalarEvolution.cpp4192 APInt::getLowBitsSet(BitWidth, BitWidth - LZ - TZ).shl(TZ); in createSCEV()
/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZOperators.td505 APInt::getLowBitsSet(BitWidth, 8));
513 APInt::getLowBitsSet(BitWidth, 8));
/NextBSD/contrib/llvm/lib/IR/
HDConstantRange.cpp466 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
HDConstantFold.cpp1043 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1061 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreISelLowering.cpp1638 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine()
1655 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExpr.cpp1380 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue()
1587 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsSEISelLowering.cpp1601 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUISelLowering.cpp2349 APInt Demanded = APInt::getLowBitsSet(VT.getSizeInBits(), 24); in simplifyI24()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86ISelLowering.cpp12760 APFloat(Sem, APInt::getLowBitsSet(SizeInBits, SizeInBits - 1))); in LowerFCOPYSIGN()
13034 : APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt); in EmitTest()
24616 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth)); in PerformBTCombine()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelLowering.cpp9910 DAG.getConstant(APInt::getLowBitsSet( in DAGCombineExtBoolTrunc()