/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted() 274 APInt Mask(APInt::getHighBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 426 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val))); in FoldShiftByConstant() 459 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val))); in FoldShiftByConstant() 560 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 590 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 643 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 699 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) { in visitShl()
|
D | InstCombineSimplifyDemanded.cpp | 433 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits() 443 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() 589 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in SimplifyDemandedUseBits() 591 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 625 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 667 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 747 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits() 788 KnownZero = APInt::getHighBitsSet(64, 32); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 364 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in CanEvaluateTruncated() 390 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateTruncated() 690 APInt::getHighBitsSet(VSize, BitsToClear))) in CanEvaluateZExtd() 779 if (MaskedValueIsZero(Res, APInt::getHighBitsSet(DestBitSize, in visitZExt()
|
D | InstCombineAddSub.cpp | 129 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()
|
D | InstCombineCalls.cpp | 384 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
|
D | InstCombineCompares.cpp | 1006 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst() 1166 if ((APInt::getHighBitsSet(BitWidth, BitWidth-ShAmtVal) & in visitICmpInstWithInstAndIntCst()
|
D | InstCombineAndOrXor.cpp | 211 APInt ShlMask(APInt::getHighBitsSet(BitWidth, BitWidth-OpRHSVal)); in OptAndOp()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 59 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in ComputeMaskedBitsAddSub() 68 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); in ComputeMaskedBitsAddSub() 181 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBitsMul() 211 KnownZero = APInt::getHighBitsSet(BitWidth, MinLeadingZeros); in computeMaskedBitsLoad() 394 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits() 439 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 467 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 469 KnownOne |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 496 KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in ComputeMaskedBits() 512 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 677 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul() 1364 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1387 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1403 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1457 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine() 1535 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeMaskedBitsForTargetNode()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1517 if (ShAmt && (NewMask & APInt::getHighBitsSet(VTSize, ShAmt)) == 0) { in SimplifyDemandedBits() 1541 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 1567 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 1595 APInt MsbMask = APInt::getHighBitsSet(BitWidth, 1); in SimplifyDemandedBits() 1615 APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits() 1662 APInt::getHighBitsSet(BitWidth, BitWidth - OperandBitWidth) & NewMask; in SimplifyDemandedBits() 1766 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() 2098 if (C1.intersects(APInt::getHighBitsSet(C1.getBitWidth(), in SimplifySetCC() 2195 APInt::getHighBitsSet(BitWidth, in SimplifySetCC()
|
D | SelectionDAG.cpp | 1712 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits() 1730 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits() 1766 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in ComputeMaskedBits() 1799 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in ComputeMaskedBits() 1813 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in ComputeMaskedBits() 1837 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in ComputeMaskedBits() 1873 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in ComputeMaskedBits() 1882 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in ComputeMaskedBits() 1891 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in ComputeMaskedBits() 1904 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in ComputeMaskedBits() [all …]
|
D | DAGCombiner.cpp | 2604 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND() 2626 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND() 2802 !DAG.MaskedValueIsZero(N10, APInt::getHighBitsSet(OpSizeInBits, 16))) in MatchBSwapHWordLow() 3180 APInt LHSBits = APInt::getHighBitsSet(OpSizeInBits, RShVal); in MatchRotate() 3559 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in visitSHL() 3578 DAG.getConstant(APInt::getHighBitsSet(VT.getSizeInBits(), in visitSHL()
|
D | LegalizeIntegerTypes.cpp | 1363 APInt HighBitMask = APInt::getHighBitsSet(ShBits, ShBits - Log2_32(NVTBits)); in ExpandShiftWithKnownAmountBit() 1923 APInt HighMask = APInt::getHighBitsSet(OuterBitSize, InnerBitSize); in ExpandIntRes_MUL()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 469 getHighBitsSet(numBits, numBits-loBit); in getBitsSet() 477 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
|
/external/llvm/lib/Support/ |
D | ConstantRange.cpp | 440 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 897 APInt MaskedHighBits = APInt::getHighBitsSet(X.getValueSizeInBits(), in FoldMaskAndShiftToScale()
|
D | X86ISelLowering.cpp | 12810 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeMaskedBitsForTargetNode() 12835 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - NumLoBits); in computeMaskedBitsForTargetNode() 13567 APInt DemandedMask = APInt::getHighBitsSet(BitWidth, 1); in PerformSELECTCombine()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8182 APInt::getHighBitsSet(32, 16))) in PerformShiftCombine()
|