Lines Matching refs:RValue
111 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, AggValueSlot AggSlot, in EmitAnyExpr()
114 return RValue::get(EmitScalarExpr(E, IgnoreResult)); in EmitAnyExpr()
116 return RValue::getComplex(EmitComplexExpr(E, IgnoreResult, IgnoreResult)); in EmitAnyExpr()
124 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
149 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
253 RValue RV; in EmitExprForReferenceBinding()
446 RValue
457 return RValue::get(Value); in EmitReferenceBindingToExpr()
473 return RValue::get(Value); in EmitReferenceBindingToExpr()
507 return RValue::get(Value); in EmitReferenceBindingToExpr()
583 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
585 return RValue::get(0); in GetUndefRValue()
590 return RValue::getComplex(std::make_pair(U, U)); in GetUndefRValue()
598 return RValue::getAggregate(DestPtr); in GetUndefRValue()
601 return RValue::get(llvm::UndefValue::get(ConvertType(Ty))); in GetUndefRValue()
604 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
986 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV) { in EmitLoadOfLValue()
990 return RValue::get(CGM.getObjCRuntime().EmitObjCWeakRead(*this, in EmitLoadOfLValue()
994 return RValue::get(EmitARCLoadWeak(LV.getAddress())); in EmitLoadOfLValue()
1000 return RValue::get(EmitLoadOfScalar(LV)); in EmitLoadOfLValue()
1007 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(), in EmitLoadOfLValue()
1020 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV) { in EmitLoadOfBitfieldLValue()
1088 return RValue::get(Res); in EmitLoadOfBitfieldLValue()
1093 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
1107 return RValue::get(Builder.CreateExtractElement(Vec, Elt)); in EmitLoadOfExtVectorElementLValue()
1120 return RValue::get(Vec); in EmitLoadOfExtVectorElementLValue()
1128 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, bool isInit) { in EmitStoreThroughLValue()
1172 Src = RValue::get(EmitObjCExtendObjectLifetime(Dst.getType(), in EmitStoreThroughLValue()
1215 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
1320 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
2372 RValue RV = EmitReferenceBindingToExpr(E, /*InitializedDecl=*/0); in EmitMaterializeTemporaryExpr()
2376 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
2381 return RValue::getComplex( in EmitRValueForField()
2394 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
2470 return RValue::get(0); in EmitCallExpr()
2510 RValue RV = EmitAnyExpr(E->getRHS()); in EmitBinaryOperatorLValue()
2523 RValue RV = EmitCallExpr(E); in EmitCallExprLValue()
2570 RValue RV = EmitObjCMessageExpr(E); in EmitObjCMessageExprLValue()
2628 RValue RV = EmitAnyExprToTemp(E); in EmitStmtExprLValue()
2632 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall()
2835 static RValue ConvertTempToRValue(CodeGenFunction &CGF, QualType Ty, in ConvertTempToRValue()
2838 return RValue::getComplex(CGF.LoadComplexFromAddr(Dest, false)); in ConvertTempToRValue()
2840 return RValue::getAggregate(Dest); in ConvertTempToRValue()
2841 return RValue::get(CGF.EmitLoadOfScalar(CGF.MakeAddrLValue(Dest, Ty))); in ConvertTempToRValue()
2844 RValue CodeGenFunction::EmitAtomicExpr(AtomicExpr *E, llvm::Value *Dest) { in EmitAtomicExpr()
2880 return RValue::get(0); in EmitAtomicExpr()
2970 Args.add(RValue::get(llvm::ConstantInt::get(SizeTy, Size)), in EmitAtomicExpr()
2973 Args.add(RValue::get(EmitCastToVoidPtr(Ptr)), in EmitAtomicExpr()
2990 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), in EmitAtomicExpr()
2992 Args.add(RValue::get(EmitCastToVoidPtr(Val2)), in EmitAtomicExpr()
2994 Args.add(RValue::get(Order), in EmitAtomicExpr()
3004 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), in EmitAtomicExpr()
3006 Args.add(RValue::get(EmitCastToVoidPtr(Dest)), in EmitAtomicExpr()
3014 Args.add(RValue::get(EmitCastToVoidPtr(Val1)), in EmitAtomicExpr()
3022 Args.add(RValue::get(EmitCastToVoidPtr(Dest)), in EmitAtomicExpr()
3037 Args.add(RValue::get(Order), in EmitAtomicExpr()
3045 RValue Res = EmitCall(FuncInfo, Func, ReturnValueSlot(), Args); in EmitAtomicExpr()
3049 return RValue::get(0); in EmitAtomicExpr()
3091 return RValue::get(0); in EmitAtomicExpr()
3160 return RValue::get(0); in EmitAtomicExpr()
3178 RValue RV;
3249 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()