Searched refs:extractBitsAsZExtValue (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | BigEncoder.td | 50 // CHECK: Value.insertBits(op.extractBitsAsZExtValue(4, 3), 12, 4); 51 // CHECK-NEXT: Value.insertBits(op.extractBitsAsZExtValue(4, 7), 8, 4); 54 // CHECK: Value.insertBits(op.extractBitsAsZExtValue(7, 0), 8, 7); 57 // CHECK: Value.insertBits(op.extractBitsAsZExtValue(8, 3), 8, 8);
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 2035 EXPECT_EQ(i257.extractBitsAsZExtValue(64, 0), 0x0000000000000000ull); in TEST() 2044 EXPECT_EQ(i260.extractBitsAsZExtValue(64, 0), 0x8000000000007FFFull); in TEST() 2095 TEST(APIntTest, extractBitsAsZExtValue) { in TEST() argument 2098 EXPECT_EQ(0x3456u, i32.extractBitsAsZExtValue(16, 4)); in TEST() 2101 EXPECT_EQ(0xFFu, i257.extractBitsAsZExtValue(16, 0)); in TEST() 2102 EXPECT_EQ((0xFFu >> 1), i257.extractBitsAsZExtValue(16, 1)); in TEST() 2103 EXPECT_EQ(0xFFFFFFFFull, i257.extractBitsAsZExtValue(32, 64)); in TEST() 2107 EXPECT_EQ(0x3u, i257.extractBitsAsZExtValue(2, 255)); in TEST() 2108 EXPECT_EQ(0xFFFFFFFFFF80007Full, i257.extractBitsAsZExtValue(64, 1)); in TEST() 2110 EXPECT_EQ(0xFFFFFFFFFF80007Full, i257.extractBitsAsZExtValue(64, 1)); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.h | 54 uint64_t extractBitsAsZExtValue(unsigned NumBits, in extractBitsAsZExtValue() function
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | SIMCCodeEmitter.cpp | 346 OS.write((uint8_t)Encoding.extractBitsAsZExtValue(8, 8 * i)); in encodeInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2878 unsigned Sel = C2->extractBitsAsZExtValue(8, I); in ConstantFoldAMDGCNPermIntrinsic() 2890 B = Src->extractBitsAsZExtValue(8, (Sel & 3) * 8); in ConstantFoldAMDGCNPermIntrinsic() 2892 B = Src->extractBitsAsZExtValue(1, (Sel & 1) ? 31 : 15) * 0xff; in ConstantFoldAMDGCNPermIntrinsic()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 1404 uint64_t extractBitsAsZExtValue(unsigned numBits, unsigned bitPosition) const;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | APValue.cpp | 474 ID.AddInteger((uint32_t)V.extractBitsAsZExtValue(std::min(32u, N - I), I)); in profileIntValue()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1822 Buf[I] = Val.extractBitsAsZExtValue(8, I * 8); in bufferLEByte()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APInt.cpp | 480 uint64_t APInt::extractBitsAsZExtValue(unsigned numBits, in extractBitsAsZExtValue() function in APInt
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 11354 switch (NonZeroMask.extractBitsAsZExtValue(2, i * 2)) { in LowerBUILD_VECTOR() 11371 bool Reverse1 = NonZeroMask.extractBitsAsZExtValue(2, 0) == 2; in LowerBUILD_VECTOR() 11372 bool Reverse2 = NonZeroMask.extractBitsAsZExtValue(2, 2) == 2; in LowerBUILD_VECTOR() 36916 unsigned Shift = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 0); in computeKnownBitsForTargetNode() 36917 unsigned Length = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 8); in computeKnownBitsForTargetNode() 42004 unsigned Shift = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 0); in SimplifyDemandedBitsForTargetNode() 42005 unsigned Length = Cst1->getAPIntValue().extractBitsAsZExtValue(8, 8); in SimplifyDemandedBitsForTargetNode()
|