Lines Matching defs:targetBits
36 /// Returns the offset of the value in `targetBits` representation.
42 /// `targetBits`, multiple values are loaded in the same time. The method
44 /// `sourceBits` equals to 8 and `targetBits` equals to 32, the x-th element is
48 int targetBits, OpBuilder &builder) {
49 assert(targetBits % sourceBits == 0);
51 IntegerAttr idxAttr = builder.getIntegerAttr(type, targetBits / sourceBits);
64 /// bitwidth `targetBits` and extracting the required bits. For an accessing a
71 int targetBits, OpBuilder &builder) {
72 assert(targetBits % sourceBits == 0);
76 IntegerAttr attr = builder.getIntegerAttr(type, targetBits / sourceBits);
98 /// Returns the `targetBits`-bit value shifted by the given `offset`, and cast
103 int targetBits = static_cast<int>(dstType.getWidth());
105 assert(valueBits <= targetBits);
110 if (valueBits < targetBits) {
112 loc, builder.getIntegerType(targetBits), value);