Searched refs:srcBits (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/test/Dialect/NVGPU/ |
| H A D | optimize-shared-memory.mlir | 26 // CHECK: [[srcBits:%.+]] = arith.andi [[fragRow]], [[c6]] 28 // CHECK: [[xorBits:%.+]] = arith.shli [[srcBits]], [[c2]] 46 // CHECK: [[srcBits:%.+]] = arith.andi [[fragRow]], [[c15]] 48 // CHECK: [[xorBits:%.+]] = arith.shli [[srcBits]], [[c3]] 83 // CHECK: [[srcBits:%.+]] = arith.andi [[fragRow]], [[c6]] 85 // CHECK: [[xorBits:%.+]] = arith.shli [[srcBits]], [[c1]] 92 // CHECK: [[srcBits:%.+]] = arith.andi [[fragRow]], [[c6]] 94 // CHECK: [[xorBits:%.+]] = arith.shli [[srcBits]], [[c1]] 102 // CHECK: [[srcBits:%.+]] = arith.andi [[fragRow]], [[c6]] 104 // CHECK: [[xorBits:%.+]] = arith.shli [[srcBits]], [[c1]] [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/Transforms/ |
| H A D | OptimizeSharedMemory.cpp | 70 Value srcBits = b.create<arith::ConstantIndexOp>(loc, mask); in permuteVectorOffset() local 71 srcBits = b.create<arith::AndIOp>(loc, src, srcBits); in permuteVectorOffset() 79 srcBits = b.createOrFold<arith::ShLIOp>(loc, srcBits, finalShiftVal); in permuteVectorOffset() 82 srcBits = b.createOrFold<arith::ShRUIOp>(loc, srcBits, finalShiftVal); in permuteVectorOffset() 86 srcBits = b.createOrFold<arith::ShLIOp>(loc, srcBits, finalShiftVal); in permuteVectorOffset() 90 b.create<arith::XOrIOp>(loc, indices[tgtDim], srcBits); in permuteVectorOffset()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 333 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() local 334 bool isBool = srcBits == 1; in matchAndRewrite() 336 srcBits = typeConverter.getOptions().boolNumBits; in matchAndRewrite() 348 assert(dstBits % srcBits == 0); in matchAndRewrite() 352 if (srcBits == dstBits) { in matchAndRewrite() 389 rewriter.getIntegerAttr(dstType, dstBits - srcBits); in matchAndRewrite() 446 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() local 448 bool isBool = srcBits == 1; in matchAndRewrite() 450 srcBits = typeConverter.getOptions().boolNumBits; in matchAndRewrite() 463 assert(dstBits % srcBits == 0); in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/ |
| H A D | fp_trunc_impl.inc | 44 const int srcBits = sizeof(src_t) * CHAR_BIT; 45 const int srcExpBits = srcBits - srcSigBits - 1; 116 const bool sticky = (significand << (srcBits - shift)) != 0; 130 const dst_rep_t result = absResult | sign >> (srcBits - dstBits);
|
| H A D | fp_extend_impl.inc | 43 const int srcBits = sizeof(src_t) * CHAR_BIT; 44 const int srcExpBits = srcBits - srcSigBits - 1; 105 const dst_rep_t result = absResult | (dst_rep_t)sign << (dstBits - srcBits);
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APInt.cpp | 2379 unsigned srcBits, unsigned srcLSB) { in tcExtract() argument 2380 unsigned dstParts = (srcBits + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; in tcExtract() 2393 if (n < srcBits) { in tcExtract() 2394 WordType mask = lowBitMask (srcBits - n); in tcExtract() 2397 } else if (n > srcBits) { in tcExtract() 2398 if (srcBits % APINT_BITS_PER_WORD) in tcExtract() 2399 dst[dstParts - 1] &= lowBitMask (srcBits % APINT_BITS_PER_WORD); in tcExtract()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 1723 unsigned srcBits, unsigned srcLSB);
|