Searched refs:srcAttr (Results 1 – 3 of 3) sorted by relevance
42 static BoolAttr convertBoolAttr(Attribute srcAttr, Builder builder) { in convertBoolAttr() argument43 if (auto boolAttr = srcAttr.dyn_cast<BoolAttr>()) in convertBoolAttr()45 if (auto intAttr = srcAttr.dyn_cast<IntegerAttr>()) in convertBoolAttr()52 static IntegerAttr convertIntegerAttr(IntegerAttr srcAttr, IntegerType dstType, in convertIntegerAttr() argument56 if (srcAttr.getValue().isIntN(dstType.getWidth())) in convertIntegerAttr()57 return builder.getIntegerAttr(dstType, srcAttr.getInt()); in convertIntegerAttr()64 if (srcAttr.getValue().isSignedIntN(dstType.getWidth())) { in convertIntegerAttr()65 auto dstAttr = builder.getIntegerAttr(dstType, srcAttr.getInt()); in convertIntegerAttr()66 LLVM_DEBUG(llvm::dbgs() << "attribute '" << srcAttr << "' converted to '" in convertIntegerAttr()71 LLVM_DEBUG(llvm::dbgs() << "attribute '" << srcAttr in convertIntegerAttr()[all …]
83 private void copyFrom(ExceptionsAttribute srcAttr, Map<String,String> classnames) { in copyFrom() argument84 ConstPool srcCp = srcAttr.constPool; in copyFrom()86 byte[] src = srcAttr.info; in copyFrom()
421 auto srcAttr = constOp.value().cast<IntegerAttr>(); in matchAndRewrite() local422 auto dstAttr = rewriter.getIntegerAttr(signlessType, srcAttr.getValue()); in matchAndRewrite()