Lines Matching refs:RValue
212 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, in EmitAnyExpr()
217 return RValue::get(EmitScalarExpr(E, ignoreResult)); in EmitAnyExpr()
219 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); in EmitAnyExpr()
231 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
262 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); in EmitAnyExprToMem()
614 RValue
631 return RValue::get(Value); in EmitReferenceBindingToExpr()
1208 llvm::Value *CodeGenFunction::EmitNonNullRValueCheck(RValue RV, QualType T) { in EmitNonNullRValueCheck()
1215 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
1217 return RValue::get(nullptr); in GetUndefRValue()
1224 return RValue::getComplex(std::make_pair(U, U)); in GetUndefRValue()
1232 return RValue::getAggregate(DestPtr); in GetUndefRValue()
1236 return RValue::get(llvm::UndefValue::get(ConvertType(Ty))); in GetUndefRValue()
1241 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
1918 EmitAtomicStore(RValue::get(Value), AtomicLValue, isInit); in EmitStoreOfScalar()
1947 static RValue EmitLoadOfMatrixLValue(LValue LV, SourceLocation Loc, in EmitLoadOfMatrixLValue()
1952 return RValue::get(CGF.EmitLoadOfScalar(LV, Loc)); in EmitLoadOfMatrixLValue()
1958 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
1962 return RValue::get(CGM.getObjCRuntime().EmitObjCWeakRead(*this, in EmitLoadOfLValue()
1968 return RValue::get(EmitARCLoadWeak(LV.getAddress(*this))); in EmitLoadOfLValue()
1974 return RValue::get(Object); in EmitLoadOfLValue()
1984 return RValue::get(EmitLoadOfScalar(LV, Loc)); in EmitLoadOfLValue()
1990 return RValue::get(Builder.CreateExtractElement(Load, LV.getVectorIdx(), in EmitLoadOfLValue()
2013 return RValue::get(Builder.CreateExtractElement(Load, Idx, "matrixext")); in EmitLoadOfLValue()
2020 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV, in EmitLoadOfBitfieldLValue()
2052 return RValue::get(Val); in EmitLoadOfBitfieldLValue()
2057 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
2069 return RValue::get(Builder.CreateExtractElement(Vec, Elt)); in EmitLoadOfExtVectorElementLValue()
2080 return RValue::get(Vec); in EmitLoadOfExtVectorElementLValue()
2104 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
2122 return RValue::get(Call); in EmitLoadOfGlobalRegLValue()
2128 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
2192 Src = RValue::get(EmitARCRetain(Dst.getType(), Src.getScalarVal())); in EmitStoreThroughLValue()
2208 Src = RValue::get(EmitObjCExtendObjectLifetime(Dst.getType(), in EmitStoreThroughLValue()
2252 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
2330 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
2394 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
4953 RValue
4957 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator in getOrCreateOpaqueRValueMapping()
4967 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
4974 return RValue::getComplex(EmitLoadOfComplex(FieldLV, Loc)); in EmitRValueForField()
4981 return RValue::get(FieldLV.getPointer(*this)); in EmitRValueForField()
4986 return RValue::get(EmitLoadOfScalar(FieldLV, Loc)); in EmitRValueForField()
4995 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
5027 RValue CodeGenFunction::EmitSimpleCallExpr(const CallExpr *E, in EmitSimpleCallExpr()
5178 RValue RV = EmitAnyExpr(E->getRHS()); in EmitBinaryOperatorLValue()
5199 RValue RV = EmitCallExpr(E); in EmitCallExprLValue()
5250 RValue RV = EmitObjCMessageExpr(E); in EmitObjCMessageExprLValue()
5308 RValue RV = EmitAnyExprToTemp(E); in EmitStmtExprLValue()
5313 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall()
5419 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)), in EmitCall()
5498 RValue Call = EmitCall(FnInfo, Callee, ReturnValue, Args, &CallOrInvoke, in EmitCall()
5539 RValue CodeGenFunction::convertTempToRValue(Address addr, in convertTempToRValue()
5545 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc)); in convertTempToRValue()
5549 return RValue::get(EmitLoadOfScalar(lvalue, loc)); in convertTempToRValue()
5568 RValue RV;
5644 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()