Home
last modified time | relevance | path

Searched refs:targetBits (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp141 int targetBits, OpBuilder &builder) { in getOffsetForBitwidth() argument
142 assert(targetBits % sourceBits == 0); in getOffsetForBitwidth()
143 IntegerType targetType = builder.getIntegerType(targetBits); in getOffsetForBitwidth()
145 builder.getIntegerAttr(targetType, targetBits / sourceBits); in getOffsetForBitwidth()
164 int sourceBits, int targetBits, in adjustAccessChainForBitwidth() argument
166 assert(targetBits % sourceBits == 0); in adjustAccessChainForBitwidth()
168 IntegerType targetType = builder.getIntegerType(targetBits); in adjustAccessChainForBitwidth()
170 builder.getIntegerAttr(targetType, targetBits / sourceBits); in adjustAccessChainForBitwidth()
183 int targetBits, OpBuilder &builder) { in shiftValue() argument
184 Type targetType = builder.getIntegerType(targetBits); in shiftValue()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp3124 unsigned targetBits = targetType.getIntegerBitWidth(); in matchAndRewrite() local
3127 if (targetBits == sourceBits) in matchAndRewrite()
3129 else if (targetBits < sourceBits) in matchAndRewrite()