Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprScalar.cpp665 mlir::Type mlirDstType = cgf.convertType(dstType); in emitScalarConversion() local
670 if (mlir::isa<cir::FPTypeInterface>(mlirDstType)) { in emitScalarConversion()
692 if (mlirSrcType == mlirDstType) { in emitScalarConversion()
702 if (auto dstPT = dyn_cast<cir::PointerType>(mlirDstType)) { in emitScalarConversion()
709 assert(isa<cir::IntType>(mlirDstType) && "not ptr->int?"); in emitScalarConversion()
710 return builder.createPtrToInt(src, mlirDstType); in emitScalarConversion()
735 mlir::Type resTy = mlirDstType; in emitScalarConversion()
737 res = emitScalarCast(src, srcType, dstType, mlirSrcType, mlirDstType, opts); in emitScalarConversion()
739 if (mlirDstType != resTy) { in emitScalarConversion()