Lines Matching refs:RValue

214 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,  in EmitAnyExpr()
219 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
221 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); in EmitAnyExpr()
233 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
264 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
615 RValue
632 return RValue::get(Value); in EmitReferenceBindingToExpr()
1179 llvm::Value *CodeGenFunction::EmitNonNullRValueCheck(RValue RV, QualType T) { in EmitNonNullRValueCheck()
1186 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
1188 return RValue::get(nullptr); in GetUndefRValue()
1195 return RValue::getComplex(std::make_pair(U, U)); in GetUndefRValue()
1203 return RValue::getAggregate(DestPtr); in GetUndefRValue()
1207 return RValue::get(llvm::UndefValue::get(ConvertType(Ty))); in GetUndefRValue()
1212 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
1855 EmitAtomicStore(RValue::get(Value), AtomicLValue, isInit); in EmitStoreOfScalar()
1884 static RValue EmitLoadOfMatrixLValue(LValue LV, SourceLocation Loc, in EmitLoadOfMatrixLValue()
1889 return RValue::get(CGF.EmitLoadOfScalar(LV, Loc)); in EmitLoadOfMatrixLValue()
1895 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
1899 return RValue::get(CGM.getObjCRuntime().EmitObjCWeakRead(*this, in EmitLoadOfLValue()
1905 return RValue::get(EmitARCLoadWeak(LV.getAddress(*this))); in EmitLoadOfLValue()
1911 return RValue::get(Object); in EmitLoadOfLValue()
1921 return RValue::get(EmitLoadOfScalar(LV, Loc)); in EmitLoadOfLValue()
1927 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(), in EmitLoadOfLValue()
1944 return RValue::get( in EmitLoadOfLValue()
1952 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV, in EmitLoadOfBitfieldLValue()
1984 return RValue::get(Val); in EmitLoadOfBitfieldLValue()
1989 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
2001 return RValue::get(Builder.CreateExtractElement(Vec, Elt)); in EmitLoadOfExtVectorElementLValue()
2012 return RValue::get(Vec); in EmitLoadOfExtVectorElementLValue()
2036 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
2054 return RValue::get(Call); in EmitLoadOfGlobalRegLValue()
2060 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
2107 Src = RValue::get(EmitARCRetain(Dst.getType(), Src.getScalarVal())); in EmitStoreThroughLValue()
2123 Src = RValue::get(EmitObjCExtendObjectLifetime(Dst.getType(), in EmitStoreThroughLValue()
2167 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
2245 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
2309 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
4798 RValue
4802 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator in getOrCreateOpaqueRValueMapping()
4812 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
4819 return RValue::getComplex(EmitLoadOfComplex(FieldLV, Loc)); in EmitRValueForField()
4826 return RValue::get(FieldLV.getPointer(*this)); in EmitRValueForField()
4831 return RValue::get(EmitLoadOfScalar(FieldLV, Loc)); in EmitRValueForField()
4840 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
4872 RValue CodeGenFunction::EmitSimpleCallExpr(const CallExpr *E, in EmitSimpleCallExpr()
4984 RValue RV = EmitAnyExpr(E->getRHS()); in EmitBinaryOperatorLValue()
5005 RValue RV = EmitCallExpr(E); in EmitCallExprLValue()
5056 RValue RV = EmitObjCMessageExpr(E); in EmitObjCMessageExprLValue()
5114 RValue RV = EmitAnyExprToTemp(E); in EmitStmtExprLValue()
5119 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall()
5225 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)), in EmitCall()
5303 RValue Call = EmitCall(FnInfo, Callee, ReturnValue, Args, &CallOrInvoke, in EmitCall()
5340 RValue CodeGenFunction::convertTempToRValue(Address addr, in convertTempToRValue()
5346 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc)); in convertTempToRValue()
5350 return RValue::get(EmitLoadOfScalar(lvalue, loc)); in convertTempToRValue()
5369 RValue RV;
5445 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()