Searched refs:promotionType (Results 1 – 3 of 3) sorted by relevance
91 mlir::Value emitPromotedValue(mlir::Value result, QualType promotionType) { in emitPromotedValue() argument92 return builder.createFloatingCast(result, cgf.convertType(promotionType)); in emitPromotedValue()99 mlir::Value emitPromoted(const Expr *e, QualType promotionType);581 QualType promotionType = getPromotionType(e->getSubExpr()->getType()); in emitUnaryPlusOrMinus() local584 if (!promotionType.isNull()) in emitUnaryPlusOrMinus()585 operand = cgf.emitPromotedScalarExpr(e->getSubExpr(), promotionType); in emitUnaryPlusOrMinus()595 if (result && !promotionType.isNull()) in emitUnaryPlusOrMinus()760 QualType promotionType = QualType()) { in emitBinOps() argument762 result.lhs = cgf.emitPromotedScalarExpr(e->getLHS(), promotionType); in emitBinOps()763 result.rhs = cgf.emitPromotedScalarExpr(e->getRHS(), promotionType); in emitBinOps()[all …]
426 QualType promotionType) { in emitPromotedComplexExpr() argument427 return ComplexExprEmitter(*this).emitPromoted(e, promotionType); in emitPromotedComplexExpr()
906 mlir::Value emitPromotedComplexExpr(const Expr *e, QualType promotionType);908 mlir::Value emitPromotedScalarExpr(const Expr *e, QualType promotionType);