/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 119 AB = APInt::getHighBitsSet(BitWidth, in determineLiveOperandBits() 154 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in determineLiveOperandBits() 156 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 181 if ((AOut & APInt::getHighBitsSet(BitWidth, ShiftAmt)) in determineLiveOperandBits() 238 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(), in determineLiveOperandBits()
|
D | ValueTracking.cpp | 248 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in computeKnownBitsAddSub() 257 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2); in computeKnownBitsAddSub() 361 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBitsMul() 395 APInt Mask = APInt::getHighBitsSet(BitWidth, CommonPrefixBits); in computeKnownBitsFromRangeMetadata() 763 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()); in computeKnownBitsFromAssume() 775 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()+1); in computeKnownBitsFromAssume() 778 APInt::getHighBitsSet(BitWidth, RHSKnownZero.countLeadingOnes()); in computeKnownBitsFromAssume() 950 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBitsFromOperator() 989 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in computeKnownBitsFromOperator() 1016 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in computeKnownBitsFromOperator() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | DemandedBits.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() 190 if ((AOut & APInt::getHighBitsSet(BitWidth, ShiftAmt)) in determineLiveOperandBits() 247 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(), in determineLiveOperandBits()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 93 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted() 273 APInt Mask(APInt::getHighBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 425 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val))); in FoldShiftByConstant() 458 APInt::getHighBitsSet(TypeBits, TypeBits-Op1Val))); in FoldShiftByConstant() 560 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 581 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 608 APInt Mask(APInt::getHighBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 644 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) { in visitShl()
|
D | InstCombineSimplifyDemanded.cpp | 437 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits() 447 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() 582 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in SimplifyDemandedUseBits() 584 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 618 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 660 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 741 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits() 782 KnownZero = APInt::getHighBitsSet(64, 32); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 366 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in CanEvaluateTruncated() 392 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateTruncated() 696 APInt::getHighBitsSet(VSize, BitsToClear))) in CanEvaluateZExtd() 785 if (MaskedValueIsZero(Res, APInt::getHighBitsSet(DestBitSize, in visitZExt()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 483 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits() 493 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits() 572 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in SimplifyDemandedUseBits() 574 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 608 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 650 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in SimplifyDemandedUseBits() 731 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits() 795 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - ArgWidth); in SimplifyDemandedUseBits() 799 KnownZero = APInt::getHighBitsSet(64, 32); in SimplifyDemandedUseBits() 1326 UndefElts |= APInt::getHighBitsSet(VWidth, VWidth / 2); in SimplifyDemandedVectorElts()
|
D | InstCombineShifts.cpp | 140 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in CanEvaluateShifted() 282 APInt Mask(APInt::getHighBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 437 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 473 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 714 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt), 0, in visitShl()
|
D | InstCombineCasts.cpp | 370 APInt Mask = APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth); in canEvaluateTruncated() 396 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth), 0, CxtI) && in canEvaluateTruncated() 770 APInt::getHighBitsSet(VSize, BitsToClear), in canEvaluateZExtd() 872 APInt::getHighBitsSet(DestBitSize, in visitZExt()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 221 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits() 243 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ) & Mask; in ComputeMaskedBits() 290 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 321 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 323 KnownOne |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits() 354 KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in ComputeMaskedBits() 372 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits() 388 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in ComputeMaskedBits() 398 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2) & Mask; in ComputeMaskedBits() 535 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders) & Mask; in ComputeMaskedBits() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 147 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in canEvaluateShifted() 236 : APInt::getHighBitsSet(TypeWidth, TypeWidth - OuterShAmt); in foldShiftedShift() 446 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 481 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant() 615 MaskedValueIsZero(X, APInt::getHighBitsSet(SrcWidth, ShAmt), 0, &I)) in visitShl() 621 APInt Mask(APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt)); in visitShl() 658 MaskedValueIsZero(Op0, APInt::getHighBitsSet(BitWidth, ShAmt), 0, &I)) { in visitShl()
|
D | InstCombineSimplifyDemanded.cpp | 539 APInt HighBits(APInt::getHighBitsSet( in SimplifyDemandedUseBits() 570 APInt::getHighBitsSet(BitWidth, BitWidth - RHSTrailingZeros); in SimplifyDemandedUseBits() 632 Known.Zero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 671 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul() 1653 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1676 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1692 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1750 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine() 1830 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode() 1840 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode() 1846 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode() 1851 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode() 1856 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 681 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul() 1673 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1696 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1712 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1770 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine() 1850 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1860 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1866 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1871 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode() 1876 KnownZero = APInt::getHighBitsSet(KnownZero.getBitWidth(), in computeKnownBitsForTargetNode()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 668 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul() 1355 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1378 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1394 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine() 1448 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine() 1527 KnownZero = APInt::getHighBitsSet(Mask.getBitWidth(), in computeMaskedBitsForTargetNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 199 APInt C = APInt::getHighBitsSet(BW, BW-U); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 187 APInt C = APInt::getHighBitsSet(BW, BW-U); in INITIALIZE_PASS_DEPENDENCY()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1476 if ((APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits() 1515 if (ShAmt && (NewMask & APInt::getHighBitsSet(VTSize, ShAmt)) == 0) { in SimplifyDemandedBits() 1539 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 1565 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 1596 APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits() 1643 APInt::getHighBitsSet(BitWidth, BitWidth - OperandBitWidth) & NewMask; in SimplifyDemandedBits() 1747 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() 2079 if (C1.intersects(APInt::getHighBitsSet(C1.getBitWidth(), in SimplifySetCC() 2176 APInt::getHighBitsSet(BitWidth, in SimplifySetCC()
|
D | SelectionDAG.cpp | 1688 APInt::getHighBitsSet(BitWidth, LeadZ); in ComputeMaskedBits() 1710 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ) & Mask; in ComputeMaskedBits() 1746 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in ComputeMaskedBits() 1781 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt) & Mask; in ComputeMaskedBits() 1796 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt) & Mask; in ComputeMaskedBits() 1823 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits) & Mask; in ComputeMaskedBits() 1856 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in ComputeMaskedBits() 1865 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits) & Mask; in ComputeMaskedBits() 1872 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits) & Mask; in ComputeMaskedBits() 1886 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits) & Mask; in ComputeMaskedBits() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1688 APInt MaskVal = APInt::getHighBitsSet(N, I); in TEST() 1872 TEST(APIntTest, getHighBitsSet) { in TEST() argument 1873 APInt i64hi32 = APInt::getHighBitsSet(64, 32); in TEST() 2124 APInt i256(APInt::getHighBitsSet(256, 2)); in TEST() 2157 APInt i72(APInt::getHighBitsSet(72, 1)); in TEST() 2163 i72 = APInt::getHighBitsSet(72, 1); in TEST() 2169 APInt i128(APInt::getHighBitsSet(128, 1)); in TEST()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 769 if (ShAmt && (NewMask & APInt::getHighBitsSet(VTSize, ShAmt)) == 0) { in SimplifyDemandedBits() 793 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 824 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 866 APInt MsbMask = APInt::getHighBitsSet(BitWidth, 1); in SimplifyDemandedBits() 894 APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits() 966 APInt::getHighBitsSet(BitWidth, BitWidth - OperandBitWidth) & NewMask; in SimplifyDemandedBits() 1070 APInt HighBits = APInt::getHighBitsSet(OperandBitWidth, in SimplifyDemandedBits() 1574 if (C1.intersects(APInt::getHighBitsSet(C1.getBitWidth(), in SimplifySetCC() 1678 APInt::getHighBitsSet(BitWidth, in SimplifySetCC() 3009 APInt HighMask = APInt::getHighBitsSet(OuterBitSize, InnerBitSize); in expandMUL()
|
D | SelectionDAG.cpp | 2087 APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() 2105 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ); in computeKnownBits() 2139 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBits() 2146 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBits() 2177 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() 2191 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in computeKnownBits() 2214 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits() 2249 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits); in computeKnownBits() 2259 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBits() 2269 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits); in computeKnownBits() [all …]
|
/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/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 468 getHighBitsSet(numBits, numBits-loBit); in getBitsSet() 476 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 508 getHighBitsSet(numBits, numBits - loBit); in getBitsSet() 518 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
|