|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/ADT/APInt.h 1513 APInt extractBits(unsigned numBits, unsigned bitPosition) const;
References
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 5172 Constant &= SplatValue.extractBits(EltBitWidth, i * EltBitWidth);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2300 UndefElts = UndefSrcElts.extractBits(NumElts, Idx);
2567 APInt DemandedSubElts = DemandedElts.extractBits(NumSubElts, Idx);
3862 APInt DemandedSubElts = DemandedElts.extractBits(NumSubElts, Idx);
lib/CodeGen/SelectionDAG/TargetLowering.cpp 623 APInt Sub = DemandedBits.extractBits(NumSrcEltBits, Offset);
888 SubElts = DemandedElts.extractBits(NumSubElts, SubIdx);
936 DemandedElts.extractBits(NumSubElts, i * NumSubElts);
1866 APInt Sub = DemandedBits.extractBits(NumSrcEltBits, Offset);
2204 if (SrcZero.extractBits(Scale, i * Scale).isAllOnesValue())
2206 if (SrcUndef.extractBits(Scale, i * Scale).isAllOnesValue())
2249 APInt SubElts = DemandedElts.extractBits(NumSubElts, i * NumSubElts);
2270 APInt SubElts = DemandedElts.extractBits(NumSubElts, SubIdx);
2305 KnownUndef = SrcUndef.extractBits(NumElts, Idx);
2306 KnownZero = SrcZero.extractBits(NumElts, Idx);
lib/Target/X86/X86ISelLowering.cpp 6004 APInt UndefEltBits = UndefBits.extractBits(EltSizeInBits, BitOffset);
6019 EltBits[i] = MaskBits.extractBits(EltSizeInBits, BitOffset);
6235 UndefElts = UndefElts.extractBits(NumSubElts, BaseIdx);
6919 unsigned LHS = Known0.Zero.extractBits(8, i * 8).getZExtValue();
6920 unsigned RHS = Known1.Zero.extractBits(8, i * 8).getZExtValue();
7963 if (UndefMask.extractBits(HalfNumElems, HalfNumElems).isAllOnesValue()) {
8077 APInt Val = SplatValue.extractBits(ScalarSize, ScalarSize * i);
lib/Target/X86/X86ShuffleDecodeConstantPool.cpp 97 APInt EltUndef = UndefBits.extractBits(MaskEltSizeInBits, BitOffset);
107 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset);
tools/llvm-exegesis/lib/X86/Target.cpp 513 WideConstant.extractBits(32, ByteOffset * 8).getZExtValue()));
517 WideConstant.extractBits(16, ByteOffset * 8).getZExtValue()));
523 WideConstant.extractBits(8, ByteOffset * 8).getZExtValue()));
unittests/ADT/APIntTest.cpp 1864 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull);
1865 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull);
1881 EXPECT_EQ(i257.extractBits(64, 0).getZExtValue(), 0x0000000000000000ull);
1882 EXPECT_EQ(i257.extractBits(64, 64).getZExtValue(), 0xFFFFFFFFFFFFFFFFull);
1883 EXPECT_EQ(i257.extractBits(64, 128).getZExtValue(), 0x00000000FFFFFFFFull);
1884 EXPECT_EQ(i257.extractBits(65, 192).getZExtValue(), 0x0000000000000000ull);
1889 EXPECT_EQ(i260.extractBits(64, 0).getZExtValue(), 0x8000000000007FFFull);
1890 EXPECT_EQ(i260.extractBits(64, 64).getZExtValue(), 0x0000000000000000ull);
1891 EXPECT_EQ(i260.extractBits(64, 128).getZExtValue(), 0xFFFFFFFFFFFF0000ull);
1892 EXPECT_EQ(i260.extractBits(64, 192).getZExtValue(), 0xFFFFFFFFFFFFFFFFull);
1893 EXPECT_EQ(i260.extractBits(4, 256).getZExtValue(), 0x000000000000000Full);
1918 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull);
1919 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull);
1956 EXPECT_EQ(0x3456, i32.extractBits(16, 4));
1959 EXPECT_EQ(0xFFu, i257.extractBits(16, 0));
1960 EXPECT_EQ((0xFFu >> 1), i257.extractBits(16, 1));
1961 EXPECT_EQ(-1, i257.extractBits(32, 64).getSExtValue());
1962 EXPECT_EQ(-1, i257.extractBits(128, 128).getSExtValue());
1963 EXPECT_EQ(-1, i257.extractBits(66, 191).getSExtValue());
1965 i257.extractBits(128, 1).getSExtValue());
1967 i257.extractBits(129, 1).getSExtValue());
1970 APInt(144, "281474976710655", 10).extractBits(48, 48));
1972 APInt(144, "281474976710655", 10).extractBits(48, 0));
1974 APInt(144, "281474976710655", 10).extractBits(48, 1));