Lines Matching refs:RValue

211 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,  in EmitAnyExpr()
216 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
218 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); in EmitAnyExpr()
230 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
261 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
611 RValue
628 return RValue::get(Value); in EmitReferenceBindingToExpr()
1404 llvm::Value *CodeGenFunction::EmitNonNullRValueCheck(RValue RV, QualType T) { in EmitNonNullRValueCheck()
1411 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
1413 return RValue::get(nullptr); in GetUndefRValue()
1420 return RValue::getComplex(std::make_pair(U, U)); in GetUndefRValue()
1428 return RValue::getAggregate(DestPtr); in GetUndefRValue()
1432 return RValue::get(llvm::UndefValue::get(ConvertType(Ty))); in GetUndefRValue()
1437 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
2133 EmitAtomicStore(RValue::get(Value), AtomicLValue, isInit); in EmitStoreOfScalar()
2162 static RValue EmitLoadOfMatrixLValue(LValue LV, SourceLocation Loc, in EmitLoadOfMatrixLValue()
2167 return RValue::get(CGF.EmitLoadOfScalar(LV, Loc)); in EmitLoadOfMatrixLValue()
2173 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
2177 return RValue::get(CGM.getObjCRuntime().EmitObjCWeakRead(*this, in EmitLoadOfLValue()
2183 return RValue::get(EmitARCLoadWeak(LV.getAddress(*this))); in EmitLoadOfLValue()
2189 return RValue::get(Object); in EmitLoadOfLValue()
2199 return RValue::get(EmitLoadOfScalar(LV, Loc)); in EmitLoadOfLValue()
2205 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(), in EmitLoadOfLValue()
2228 return RValue::get(Builder.CreateExtractElement(Load, Idx, "matrixext")); in EmitLoadOfLValue()
2235 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV, in EmitLoadOfBitfieldLValue()
2267 return RValue::get(Val); in EmitLoadOfBitfieldLValue()
2272 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
2292 return RValue::get(Builder.CreateExtractElement(Vec, Elt)); in EmitLoadOfExtVectorElementLValue()
2303 return RValue::get(Vec); in EmitLoadOfExtVectorElementLValue()
2325 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
2343 return RValue::get(Call); in EmitLoadOfGlobalRegLValue()
2349 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
2413 Src = RValue::get(EmitARCRetain(Dst.getType(), Src.getScalarVal())); in EmitStoreThroughLValue()
2429 Src = RValue::get(EmitObjCExtendObjectLifetime(Dst.getType(), in EmitStoreThroughLValue()
2473 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
2551 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
2626 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
5341 RValue
5345 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator in getOrCreateOpaqueRValueMapping()
5355 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
5362 return RValue::getComplex(EmitLoadOfComplex(FieldLV, Loc)); in EmitRValueForField()
5369 return RValue::get(FieldLV.getPointer(*this)); in EmitRValueForField()
5374 return RValue::get(EmitLoadOfScalar(FieldLV, Loc)); in EmitRValueForField()
5383 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
5418 RValue CodeGenFunction::EmitSimpleCallExpr(const CallExpr *E, in EmitSimpleCallExpr()
5571 RValue RV = EmitAnyExpr(E->getRHS()); in EmitBinaryOperatorLValue()
5592 RValue RV = EmitCallExpr(E); in EmitCallExprLValue()
5643 RValue RV = EmitObjCMessageExpr(E); in EmitObjCMessageExprLValue()
5710 RValue RV = EmitAnyExprToTemp(E); in EmitStmtExprLValue()
5715 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall()
5840 Args.add(RValue::get(Chain), CGM.getContext().VoidPtrTy); in EmitCall()
5929 RValue Call = EmitCall(FnInfo, Callee, ReturnValue, Args, &CallOrInvoke, in EmitCall()
5970 RValue CodeGenFunction::convertTempToRValue(Address addr, in convertTempToRValue()
5976 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc)); in convertTempToRValue()
5980 return RValue::get(EmitLoadOfScalar(lvalue, loc)); in convertTempToRValue()
6041 RValue RV;
6117 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()