Home
last modified time | relevance | path

Searched refs:extractBits (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1789 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull); in TEST()
1790 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull); in TEST()
1806 EXPECT_EQ(i257.extractBits(64, 0).getZExtValue(), 0x0000000000000000ull); in TEST()
1807 EXPECT_EQ(i257.extractBits(64, 64).getZExtValue(), 0xFFFFFFFFFFFFFFFFull); in TEST()
1808 EXPECT_EQ(i257.extractBits(64, 128).getZExtValue(), 0x00000000FFFFFFFFull); in TEST()
1809 EXPECT_EQ(i257.extractBits(65, 192).getZExtValue(), 0x0000000000000000ull); in TEST()
1814 EXPECT_EQ(i260.extractBits(64, 0).getZExtValue(), 0x8000000000007FFFull); in TEST()
1815 EXPECT_EQ(i260.extractBits(64, 64).getZExtValue(), 0x0000000000000000ull); in TEST()
1816 EXPECT_EQ(i260.extractBits(64, 128).getZExtValue(), 0xFFFFFFFFFFFF0000ull); in TEST()
1817 EXPECT_EQ(i260.extractBits(64, 192).getZExtValue(), 0xFFFFFFFFFFFFFFFFull); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp98 APInt EltUndef = UndefBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
108 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
DX86ISelLowering.cpp5556 APInt UndefEltBits = UndefBits.extractBits(EltSizeInBits, BitOffset); in getTargetConstantBitsFromNode()
5571 APInt Bits = MaskBits.extractBits(EltSizeInBits, BitOffset); in getTargetConstantBitsFromNode()
6945 APInt Val = SplatValue.extractBits(ScalarSize, ScalarSize * i); in getConstantVector()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1403 if (SrcZero.extractBits(Scale, i * Scale).isAllOnesValue()) in SimplifyDemandedVectorElts()
1405 if (SrcUndef.extractBits(Scale, i * Scale).isAllOnesValue()) in SimplifyDemandedVectorElts()
1448 APInt SubElts = DemandedElts.extractBits(NumSubElts, i * NumSubElts); in SimplifyDemandedVectorElts()
1469 APInt SubElts = DemandedElts.extractBits(NumSubElts, SubIdx); in SimplifyDemandedVectorElts()
1498 KnownUndef = SrcUndef.extractBits(NumElts, SubIdx); in SimplifyDemandedVectorElts()
1499 KnownZero = SrcZero.extractBits(NumElts, SubIdx); in SimplifyDemandedVectorElts()
DSelectionDAG.cpp2345 APInt DemandedSubElts = DemandedElts.extractBits(NumSubElts, Idx); in computeKnownBits()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h1495 APInt extractBits(unsigned numBits, unsigned bitPosition) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp403 APInt APInt::extractBits(unsigned numBits, unsigned bitPosition) const { in extractBits() function in APInt