Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp65 auto dstAttr = builder.getIntegerAttr(dstType, srcAttr.getInt()); in convertIntegerAttr() local
67 << dstAttr << "' for type '" << dstType << "'\n"); in convertIntegerAttr()
68 return dstAttr; in convertIntegerAttr()
630 FloatAttr dstAttr = convertFloatAttr( in matchAndRewrite() local
632 if (!dstAttr) in matchAndRewrite()
634 elements.push_back(dstAttr); in matchAndRewrite()
640 IntegerAttr dstAttr = in matchAndRewrite() local
643 if (!dstAttr) in matchAndRewrite()
645 elements.push_back(dstAttr); in matchAndRewrite()
684 auto dstAttr = srcAttr; in matchAndRewrite() local
[all …]
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp422 auto dstAttr = rewriter.getIntegerAttr(signlessType, srcAttr.getValue()); in matchAndRewrite() local
423 rewriter.replaceOpWithNewOp<LLVM::ConstantOp>(constOp, dstType, dstAttr); in matchAndRewrite()