Home
last modified time | relevance | path

Searched refs:srcAttr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp42 static BoolAttr convertBoolAttr(Attribute srcAttr, Builder builder) { in convertBoolAttr() argument
43 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() argument
56 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 …]
/external/javassist/src/main/javassist/bytecode/
DExceptionsAttribute.java83 private void copyFrom(ExceptionsAttribute srcAttr, Map<String,String> classnames) { in copyFrom() argument
84 ConstPool srcCp = srcAttr.constPool; in copyFrom()
86 byte[] src = srcAttr.info; in copyFrom()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp421 auto srcAttr = constOp.value().cast<IntegerAttr>(); in matchAndRewrite() local
422 auto dstAttr = rewriter.getIntegerAttr(signlessType, srcAttr.getValue()); in matchAndRewrite()