Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RValue

211 /// can have any type.  The result is returned as an RValue struct.
214 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,
219 return RValue::get(EmitScalarExpr(E, ignoreResult));
221 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult));
233 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) {
264 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false));
615 RValue
632 return RValue::get(Value);
1179 llvm::Value *CodeGenFunction::EmitNonNullRValueCheck(RValue RV, QualType T) {
1186 RValue CodeGenFunction::GetUndefRValue(QualType Ty) {
1188 return RValue::get(nullptr);
1195 RValue::getComplex(std::make_pair(U, U));
1203 return RValue::getAggregate(DestPtr);
1207 return RValue::get(llvm::UndefValue::get(ConvertType(Ty)));
1212 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E,
1855 EmitAtomicStore(RValue::get(Value), AtomicLValue, isInit);
1884 static RValue EmitLoadOfMatrixLValue(LValue LV, SourceLocation Loc,
1889 return RValue::get(CGF.EmitLoadOfScalar(LV, Loc));
1893 /// method emits the address of the lvalue, then loads the result as an rvalue,
1894 /// returning the rvalue.
1895 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) {
1899 return RValue::get(CGM.getObjCRuntime().EmitObjCWeakRead(*this,
1905 return RValue::get(EmitARCLoadWeak(LV.getAddress(*this)));
1911 return RValue::get(Object);
1921 return RValue::get(EmitLoadOfScalar(LV, Loc));
1927 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(),
1944 return RValue::get(
1952 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV,
1984 return RValue::get(Val);
1989 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) {
2001 return RValue::get(Builder.CreateExtractElement(Vec, Elt));
2012 return RValue::get(Vec);
2036 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) {
2054 return RValue::get(Call);
2057 /// EmitStoreThroughLValue - Store the specified rvalue into the specified
2060 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst,
2107 Src = RValue::get(EmitARCRetain(Dst.getType(), Src.getScalarVal()));
2123 Src = RValue::get(EmitObjCExtendObjectLifetime(Dst.getType(),
2167 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst,
2245 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src,
2309 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) {
2905 // __imag can only produce an rvalue on scalars.
4100 // Otherwise, the base is a normal rvalue (as in (V+V).x), emit it as such.
4798 RValue
4802 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator
4808 assert(e->isUnique() && "RValue for a nonunique OVE hasn't been emitted");
4812 RValue CodeGenFunction::EmitRValueForField(LValue LV,
4819 return RValue::getComplex(EmitLoadOfComplex(FieldLV, Loc));
4826 return RValue::get(FieldLV.getPointer(*this));
4831 return RValue::get(EmitLoadOfScalar(FieldLV, Loc));
4840 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E,
4872 RValue CodeGenFunction::EmitSimpleCallExpr(const CallExpr *E,
4984 RValue RV = EmitAnyExpr(E->getRHS());
5005 RValue RV = EmitCallExpr(E);
5056 RValue RV = EmitObjCMessageExpr(E);
5114 RValue RV = EmitAnyExprToTemp(E);
5119 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee,
5225 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)),
5303 RValue Call = EmitCall(FnInfo, Callee, ReturnValue, Args, &CallOrInvoke,
5340 RValue CodeGenFunction::convertTempToRValue(Address addr,
5346 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc));
5350 return RValue::get(EmitLoadOfScalar(lvalue, loc));
5369 RValue RV;
5445 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E,