| /freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineShifts.cpp | 133 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted() 157 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted() 234 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 380 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 570 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 606 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 654 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 746 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitLShr() 792 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitAShr()
|
| D | InstCombineSimplifyDemanded.cpp | 455 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits() 504 APInt InDemandedBits(APInt::getLowBitsSet(BitWidth, BitWidth - NLZ)); in SimplifyDemandedUseBits() 556 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 573 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 626 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 640 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 685 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
|
| D | InstCombineCasts.cpp | 802 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 823 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 830 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 836 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
| D | InstCombineAndOrXor.cpp | 231 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 251 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 365 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1)); in FoldLogicalPlusAnd() 852 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in FoldAndOfICmps() 1167 APInt Mask = APInt::getLowBitsSet(BitWidth, BitWidth - Zeros); in visitAnd()
|
| D | InstCombineCompares.cpp | 1462 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst() 1924 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 2031 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingOnes); in DemandedBitsLHSMask() 2039 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingZeros); in DemandedBitsLHSMask() 2813 APInt::getLowBitsSet(AP.getBitWidth(), in visitICmpInst() 2991 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in visitICmpInst()
|
| D | InstCombineCalls.cpp | 325 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros)); in visitCallInst()
|
| D | InstCombineMulDivRem.cpp | 91 return MulExt.ugt(APInt::getLowBitsSet(W * 2, W)); in MultiplyOverflows()
|
| /freebsd-10-stable/contrib/llvm/lib/Analysis/ |
| D | ValueTracking.cpp | 95 APInt Mask = APInt::getLowBitsSet(BitWidth, LHSKnownZeroOut); in ComputeMaskedBitsAddSub() 101 KnownZero |= APInt::getLowBitsSet(BitWidth, in ComputeMaskedBitsAddSub() 106 APInt Mask = APInt::getLowBitsSet(BitWidth, RHSKnownZeroOut); in ComputeMaskedBitsAddSub() 181 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in ComputeMaskedBitsMul() 293 KnownZero = APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 325 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in ComputeMaskedBits() 493 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 in ComputeMaskedBits() 617 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in ComputeMaskedBits() 663 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ); in ComputeMaskedBits() 704 KnownZero = APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits()
|
| D | ConstantFolding.cpp | 988 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldInstOperands()
|
| D | ScalarEvolution.cpp | 3697 APInt EffectiveMask = APInt::getLowBitsSet(BitWidth, BitWidth - LZ); in createSCEV()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
| D | APInt.h | 499 return getLowBitsSet(numBits, hiBit) | in getBitsSet() 501 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet() 528 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1719 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
|
| /freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | TargetLowering.cpp | 611 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 681 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits() 819 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 874 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits() 986 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1027 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1259 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 1360 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 1368 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC()
|
| D | SelectionDAG.cpp | 952 APInt Imm = APInt::getLowBitsSet(BitWidth, in getZeroExtendInReg() 1839 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in ComputeMaskedBits() 1910 KnownZero |= APInt::getLowBitsSet(BitWidth, ShAmt); in ComputeMaskedBits() 1968 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits); in ComputeMaskedBits() 2077 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits()); in ComputeMaskedBits() 2126 KnownZero |= APInt::getLowBitsSet(BitWidth, KnownZeroOut); in ComputeMaskedBits() 2189 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); in ComputeMaskedBits()
|
| D | DAGCombiner.cpp | 3364 APInt RHSBits = APInt::getLowBitsSet(OpSizeInBits, LShVal); in MatchRotate() 5579 GetDemandedBits(N0, APInt::getLowBitsSet(N0.getValueSizeInBits(), in visitTRUNCATE() 9172 APInt::getLowBitsSet( in visitSTORE() 9183 APInt::getLowBitsSet( in visitSTORE()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/SystemZ/ |
| D | SystemZOperators.td | 338 APInt::getLowBitsSet(BitWidth, 8)); 346 APInt::getLowBitsSet(BitWidth, 8));
|
| /freebsd-10-stable/contrib/llvm/lib/Support/ |
| D | ConstantRange.cpp | 455 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
|
| /freebsd-10-stable/contrib/llvm/lib/IR/ |
| D | ConstantFold.cpp | 978 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction() 996 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGExpr.cpp | 1304 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue() 1464 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | ScalarReplAggregates.cpp | 997 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/Mips/ |
| D | MipsSEISelLowering.cpp | 1481 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 18727 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth)); in PerformBTCombine()
|