Lines Matching refs:RV
211 RValue RV; in EmitCompoundStmtWithoutScope() local
213 RV = RValue::get(0); in EmitCompoundStmtWithoutScope()
227 RV = EmitAnyExpr(cast<Expr>(LastStmt), AggSlot); in EmitCompoundStmtWithoutScope()
230 return RV; in EmitCompoundStmtWithoutScope()
738 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { in EmitReturnOfRValue() argument
739 if (RV.isScalar()) { in EmitReturnOfRValue()
740 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
741 } else if (RV.isAggregate()) { in EmitReturnOfRValue()
742 EmitAggregateCopy(ReturnValue, RV.getAggregateAddr(), Ty); in EmitReturnOfRValue()
744 EmitStoreOfComplex(RV.getComplexVal(), in EmitReturnOfRValue()
756 const Expr *RV = S.getRetValue(); in EmitReturnStmt() local
764 dyn_cast_or_null<ExprWithCleanups>(RV)) { in EmitReturnStmt()
766 RV = cleanups->getSubExpr(); in EmitReturnStmt()
784 if (RV) in EmitReturnStmt()
785 EmitAnyExpr(RV); in EmitReturnStmt()
786 } else if (RV == 0) { in EmitReturnStmt()
791 RValue Result = EmitReferenceBindingToExpr(RV, /*InitializedDecl=*/0); in EmitReturnStmt()
794 switch (getEvaluationKind(RV->getType())) { in EmitReturnStmt()
796 Builder.CreateStore(EmitScalarExpr(RV), ReturnValue); in EmitReturnStmt()
799 EmitComplexExprIntoLValue(RV, in EmitReturnStmt()
800 MakeNaturalAlignAddrLValue(ReturnValue, RV->getType()), in EmitReturnStmt()
804 CharUnits Alignment = getContext().getTypeAlignInChars(RV->getType()); in EmitReturnStmt()
805 EmitAggExpr(RV, AggValueSlot::forAddr(ReturnValue, Alignment, in EmitReturnStmt()