Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprScalar.cpp91 mlir::Value emitPromotedValue(mlir::Value result, QualType promotionType) { in emitPromotedValue() argument
92 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() local
584 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() argument
762 result.lhs = cgf.emitPromotedScalarExpr(e->getLHS(), promotionType); in emitBinOps()
763 result.rhs = cgf.emitPromotedScalarExpr(e->getRHS(), promotionType); in emitBinOps()
[all …]
H A DCIRGenExprComplex.cpp426 QualType promotionType) { in emitPromotedComplexExpr() argument
427 return ComplexExprEmitter(*this).emitPromoted(e, promotionType); in emitPromotedComplexExpr()
H A DCIRGenFunction.h906 mlir::Value emitPromotedComplexExpr(const Expr *e, QualType promotionType);
908 mlir::Value emitPromotedScalarExpr(const Expr *e, QualType promotionType);