Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRAttrs.td183 auto intType = mlir::cast<cir::IntTypeInterface>(type);
184 return $_get(type.getContext(), intType, value);
188 auto intType = mlir::cast<cir::IntTypeInterface>(type);
189 mlir::APInt apValue(intType.getWidth(), value, intType.isSigned());
190 return $_get(intType.getContext(), intType, apValue);
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp289 if (const auto intType = mlir::dyn_cast<cir::IntType>(complexElemTy)) { in visitCirAttr() local
2226 if (auto intType = mlir::dyn_cast<cir::IntType>(elementType)) { in matchAndRewrite() local
2229 convertCmpKindToICmpPredicate(op.getKind(), intType.isSigned()), in matchAndRewrite()
2547 mlir::IntegerType intType = in matchAndRewrite() local
2550 mlir::Value srcVal = createIntCast(rewriter, adaptor.getSrc(), intType); in matchAndRewrite()
2558 op.getLoc(), intType, adaptor.getAddr(), /* alignment */ 0, in matchAndRewrite()
2645 mlir::IntegerType intType = in matchAndRewrite() local
2649 op.getLoc(), intType, adaptor.getAddr(), 0, op.getIsVolatile()); in matchAndRewrite()
2650 val = rewriter.create<mlir::LLVM::BitcastOp>(op.getLoc(), intType, val); in matchAndRewrite()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp47 if (auto intType = dyn_cast<cir::IntType>(type)) { in getAlias() local
50 unsigned width = intType.getWidth(); in getAlias()
53 os << intType.getAlias(); in getAlias()