/external/llvm/lib/Transforms/Scalar/ |
D | BDCE.cpp | 131 AB = APInt::getHighBitsSet(BitWidth, in determineLiveOperandBits() 165 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in determineLiveOperandBits() 167 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 192 if ((AOut & APInt::getHighBitsSet(BitWidth, ShiftAmt)) in determineLiveOperandBits() 249 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(), in determineLiveOperandBits()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 205 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in computeKnownBitsAddSub() 214 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); in computeKnownBitsAddSub() 319 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBitsMul() 352 KnownZero = APInt::getHighBitsSet(BitWidth, MinLeadingZeros); in computeKnownBitsFromRangeMetadata() 550 KnownZero |= APInt::getHighBitsSet(BitWidth, SignBits); in computeKnownBitsFromTrueCondition() 562 KnownZero |= APInt::getHighBitsSet(BitWidth, SignBits); in computeKnownBitsFromTrueCondition() 903 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()); in computeKnownBitsFromAssume() 914 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()+1); in computeKnownBitsFromAssume() 917 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()); in computeKnownBitsFromAssume() 1123 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 490 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits() 500 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() 657 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in SimplifyDemandedUseBits() 659 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 693 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 735 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 816 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits() 856 KnownZero = APInt::getHighBitsSet(64, 32); in SimplifyDemandedUseBits()
|
D | InstCombineShifts.cpp | 95 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted() 281 APInt Mask(APInt::getHighBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 436 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 472 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 713 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt), in visitShl()
|
D | InstCombineCasts.cpp | 371 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in CanEvaluateTruncated() 397 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) && in CanEvaluateTruncated() 695 APInt::getHighBitsSet(VSize, BitsToClear), in CanEvaluateZExtd() 797 APInt::getHighBitsSet(DestBitSize, in visitZExt()
|
D | InstCombineAddSub.cpp | 1096 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()
|
D | InstCombineCalls.cpp | 450 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
|
D | InstCombineCompares.cpp | 1023 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst() 1160 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
|
D | InstCombineAndOrXor.cpp | 240 APInt ShlMask(APInt::getHighBitsSet(BitWidth, BitWidth-OpRHSVal)); in OptAndOp()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 685 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul() 1685 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1708 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1724 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1782 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine() 1863 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1873 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1879 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1884 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1889 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 708 if (ShAmt && (NewMask & APInt::getHighBitsSet(VTSize, ShAmt)) == 0) { in SimplifyDemandedBits() 732 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 758 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 797 APInt MsbMask = APInt::getHighBitsSet(BitWidth, 1); in SimplifyDemandedBits() 824 APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits() 896 APInt::getHighBitsSet(BitWidth, BitWidth - OperandBitWidth) & NewMask; in SimplifyDemandedBits() 1000 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() 1414 if (C1.intersects(APInt::getHighBitsSet(C1.getBitWidth(), in SimplifySetCC() 1517 APInt::getHighBitsSet(BitWidth, in SimplifySetCC() 2836 APInt HighMask = APInt::getHighBitsSet(OuterBitSize, InnerBitSize); in expandMUL()
|
D | SelectionDAG.cpp | 2028 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() 2046 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() 2080 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBits() 2087 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBits() 2118 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() 2132 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() 2155 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() 2190 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in computeKnownBits() 2200 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBits() 2209 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in computeKnownBits() [all …]
|
D | DAGCombiner.cpp | 2778 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in visitANDLike() 3071 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND() 3091 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth, in visitAND() 3208 N10, APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - 16))) in MatchBSwapHWordLow() 3822 APInt LHSBits = APInt::getHighBitsSet(OpSizeInBits, RShVal); in MatchRotate() 4273 APInt Mask = APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - c1); in visitSHL() 4293 DAG.getConstant(APInt::getHighBitsSet(BitSize, in visitSHL()
|
D | LegalizeIntegerTypes.cpp | 1454 APInt HighBitMask = APInt::getHighBitsSet(ShBits, ShBits - Log2_32(NVTBits)); in ExpandShiftWithKnownAmountBit()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 504 getHighBitsSet(numBits, numBits - loBit); in getBitsSet() 514 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 465 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 1661 DAG.MaskedValueIsZero(RHS, APInt::getHighBitsSet(64, 32)) && in LowerUDIVREM64() 1662 DAG.MaskedValueIsZero(LHS, APInt::getHighBitsSet(64, 32))) { in LowerUDIVREM64() 1729 if (DAG.MaskedValueIsZero(Num, APInt::getHighBitsSet(32, 8)) && in LowerUDIVREM() 1730 DAG.MaskedValueIsZero(Den, APInt::getHighBitsSet(32, 8))) { in LowerUDIVREM() 2776 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - Width); in computeKnownBitsForTargetNode()
|
D | SIISelLowering.cpp | 1264 if (DAG.MaskedValueIsZero(Src, APInt::getHighBitsSet(32, 24))) { in performUCharToFloatCombine()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 942 APInt::getHighBitsSet(X.getSimpleValueType().getSizeInBits(), MaskLZ); in FoldMaskAndShiftToScale()
|
D | X86ISelLowering.cpp | 12314 APFloat(Sem, APInt::getHighBitsSet(SizeInBits, 1))); in LowerFCOPYSIGN() 12605 ? APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt) in EmitTest() 13404 return DAG.MaskedValueIsZero(VOp0, APInt::getHighBitsSet(InBits,InBits-Bits)); in isTruncWithZeroHighBitsInput() 19349 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBitsForTargetNode() 19374 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - NumLoBits); in computeKnownBitsForTargetNode() 21258 APInt DemandedMask = APInt::getHighBitsSet(BitWidth, 1); in PerformSELECTCombine()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 733 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBitsForTargetNode() 755 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 8); in computeKnownBitsForTargetNode() 759 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 16); in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 1578 APInt Mask = APInt::getHighBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 3070 APInt::getHighBitsSet(Bits, Bits - (b+1)*8))) in combineToCMPB()
|
D | PPCISelLowering.cpp | 9163 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt() 9165 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt() 9551 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9571 APInt::getHighBitsSet(32, 16))) in PerformShiftCombine() 10405 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBitsForTargetNode() 10427 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBitsForTargetNode()
|